aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-werkzeug
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-werkzeug')
-rw-r--r--community/py3-werkzeug/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/py3-werkzeug/APKBUILD b/community/py3-werkzeug/APKBUILD
new file mode 100644
index 0000000000..3ac83bc5e9
--- /dev/null
+++ b/community/py3-werkzeug/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor:
+# Maintainer: prspkt <prspkt@protonmail.com>
+pkgname=py3-werkzeug
+_pkgname=Werkzeug
+pkgver=0.16.1
+pkgrel=0
+pkgdesc="The WSGI swiss-army knife"
+url="http://werkzeug.pocoo.org/"
+arch="noarch"
+license="MIT"
+depends="python3"
+makedepends="py3-setuptools"
+options="!check" # doesn't find its own modules even with PYTHONPATH set
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+replaces="py-werkzeug" # Backwards compatibility
+provides="py-werkzeug=$pkgver-r$pkgrel" # Backwards compatibility
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="1f27ea5b890c10df67726299c7656bab492e356021beec8f7a08413b386b7a884b64aaa16b80b60d7060a59c8c8e497ccc4c1e1e9104e8800dbfd7cf8b5b0d9c Werkzeug-0.16.1.tar.gz"