python-Werkzeug: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 22:27:51 +07:00
parent 02579256c5
commit f1ca0ca688
3 changed files with 20 additions and 32 deletions

View File

@ -1,31 +0,0 @@
# Template file for 'python-Werkzeug'
pkgname=python-Werkzeug
version=1.0.1
revision=1
archs=noarch
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
checkdepends="python-pytest python-hypothesis python-requests
python3-pytest python3-hypothesis python3-requests"
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=6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c
post_install() {
vlicense LICENSE.rst
}
python3-Werkzeug_package() {
archs=noarch
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.rst
}
}

View File

@ -1 +0,0 @@
python-Werkzeug

View File

@ -0,0 +1,20 @@
# Template file for 'python3-Werkzeug'
pkgname=python3-Werkzeug
version=1.0.1
revision=2
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="
python3-pytest python3-hypothesis python3-requests"
short_desc="Swiss Army knife of Python web development (Python3)"
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=6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c
post_install() {
vlicense LICENSE.rst
}