32 lines
888 B
Bash
32 lines
888 B
Bash
# Template file for 'python-Werkzeug'
|
|
pkgname=python-Werkzeug
|
|
version=0.16.1
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="${pkgname#*-}-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
checkdepends="python-pytest python-hypothesis python-requests
|
|
python3-pytest python3-hypothesis python3-requests"
|
|
short_desc="Swiss Army knife of Python web development (Python2)"
|
|
maintainer="Markus Berger <pulux@pf4sh.de>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://palletsprojects.com/p/werkzeug/"
|
|
distfiles="${PYPI_SITE}/W/Werkzeug/Werkzeug-${version}.tar.gz"
|
|
checksum=b353856d37dec59d6511359f97f6a4b2468442e454bd1c98298ddce53cac1f04
|
|
|
|
post_install() {
|
|
vlicense LICENSE.rst
|
|
}
|
|
|
|
python3-Werkzeug_package() {
|
|
archs=noarch
|
|
depends="python3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.rst
|
|
}
|
|
}
|