void-packages/srcpkgs/python-Werkzeug/template

32 lines
830 B
Bash

# Template file for 'python-Werkzeug'
pkgname=python-Werkzeug
version=0.15.1
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=ca5c2dcd367d6c0df87185b9082929d255358f5391923269335782b213d52655
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
}
}