void-packages/srcpkgs/python-Werkzeug/template
2019-04-02 18:03:08 -03:00

31 lines
830 B
Bash

# Template file for 'python-Werkzeug'
pkgname=python-Werkzeug
version=0.15.2
revision=1
archs=noarch
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="werkzeug"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
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=0a73e8bb2ff2feecfc5d56e6f458f5b99290ef34f565ffb2665801ff7de6af7a
post_install() {
vlicense LICENSE.rst
}
python3-Werkzeug_package() {
archs=noarch
depends="python3"
pycompile_module="werkzeug"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.rst
}
}