void-packages/srcpkgs/python-Werkzeug/template
Alessio Sergi ea8943fd0d python-Werkzeug: rebuild for Python 3.5
Switch to python3-* pkgs.
Convert python3.4-* pkg into dummy pkg.
2016-10-16 23:43:19 +02:00

37 lines
1,014 B
Bash

# Template file for 'python-Werkzeug'
pkgname=python-Werkzeug
version=0.11.11
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=e72c46bc14405cba7a26bd2ce28df734471bc9016bc8b4cb69466c2c14c2f7e5
post_install() {
vlicense LICENSE
}
python3-Werkzeug_package() {
noarch=yes
depends="python3"
pycompile_module="werkzeug"
replaces="python3.4-Werkzeug>=0"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}
python3.4-Werkzeug_package() {
noarch=yes
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-Werkzeug>=${version}_${revision}"
}