# Template file for 'python-Werkzeug'
pkgname=python-Werkzeug
version=1.0.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=6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c

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
	}
}
