aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-flask-wtf
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-19 12:22:38 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-09-20 10:17:03 +0000
commit55587b4c3910a543d40caafd9ff6f75b4c7fcd0f (patch)
tree501fe421c39e9c8eeb30cd8d418966dce79b37df /community/py3-flask-wtf
parentfae6d0d0d8e518a7ec0850bcb37c9ba6f4ac63d4 (diff)
downloadaports-55587b4c3910a543d40caafd9ff6f75b4c7fcd0f.tar.bz2
aports-55587b4c3910a543d40caafd9ff6f75b4c7fcd0f.tar.xz
community/py3-flask-wtf: move from main
Diffstat (limited to 'community/py3-flask-wtf')
-rw-r--r--community/py3-flask-wtf/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/py3-flask-wtf/APKBUILD b/community/py3-flask-wtf/APKBUILD
new file mode 100644
index 0000000000..f7ff839c8a
--- /dev/null
+++ b/community/py3-flask-wtf/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Contributor: Eivind Uggedal <eivind@uggedal.com>
+# Maintainer:
+pkgname=py3-flask-wtf
+_pkgname=Flask-WTF
+pkgver=0.14.2
+pkgrel=2
+pkgdesc="Flask WTForms extension"
+url="https://pypi.python.org/pypi/Flask-WTF"
+arch="noarch"
+license="BSD-3-Clause"
+depends="python3 py3-flask py3-wtforms"
+makedepends="py3-setuptools"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir"/$_pkgname-$pkgver
+
+replaces="py-flask-wtf" # Backwards compatibility
+provides="py-flask-wtf=$pkgver-r$pkgrel" # Backwards compatibility
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="9d4b4b24eb24827aeb524699e6720eab384c42901a102daddd9fdc6b8dbc8eebec8c9d31a1e9052c9af4d61bd08eef8ef9dc4cdc8d9b950ff5bdd0201db1dfde Flask-WTF-0.14.2.tar.gz"