void-packages/srcpkgs/python-Werkzeug/template
2019-07-07 13:27:54 +02:00

31 lines
830 B
Bash

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