From f1ca0ca6881e0e5958c0b591aa6051da70a2c767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 22:27:51 +0700 Subject: [PATCH] python-Werkzeug: drop package --- srcpkgs/python-Werkzeug/template | 31 ------------------------------- srcpkgs/python3-Werkzeug | 1 - srcpkgs/python3-Werkzeug/template | 20 ++++++++++++++++++++ 3 files changed, 20 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/python-Werkzeug/template delete mode 120000 srcpkgs/python3-Werkzeug create mode 100644 srcpkgs/python3-Werkzeug/template diff --git a/srcpkgs/python-Werkzeug/template b/srcpkgs/python-Werkzeug/template deleted file mode 100644 index b4bf1071851..00000000000 --- a/srcpkgs/python-Werkzeug/template +++ /dev/null @@ -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 " -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 - } -} diff --git a/srcpkgs/python3-Werkzeug b/srcpkgs/python3-Werkzeug deleted file mode 120000 index 3a0fb848426..00000000000 --- a/srcpkgs/python3-Werkzeug +++ /dev/null @@ -1 +0,0 @@ -python-Werkzeug \ No newline at end of file diff --git a/srcpkgs/python3-Werkzeug/template b/srcpkgs/python3-Werkzeug/template new file mode 100644 index 00000000000..d0722e9d93b --- /dev/null +++ b/srcpkgs/python3-Werkzeug/template @@ -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 " +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 +}