void-packages/srcpkgs/python-Werkzeug/template

32 lines
808 B
Bash

# Template file for 'python-Werkzeug'
pkgname=python-Werkzeug
version=0.12.2
revision=2
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="werkzeug"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="The Swiss Army knife of Python web development (Python2)"
maintainer="Markus Berger <pulux@pf4sh.de>"
homepage="http://werkzeug.pocoo.org"
license="3-clause-BSD"
distfiles="${PYPI_SITE}/W/Werkzeug/Werkzeug-${version}.tar.gz"
checksum=903a7b87b74635244548b30d30db4c8947fe64c5198f58899ddcd3a13c23bb26
post_install() {
vlicense LICENSE
}
python3-Werkzeug_package() {
noarch=yes
depends="python3"
pycompile_module="werkzeug"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}