aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-05-27 06:45:34 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-05-27 06:45:43 +0000
commitcf142f2ea60e72129df645f9b7dfa73e0ef0e0f6 (patch)
treea1977c4958968799a72a0f5218b1186849f1f870 /main
parent333116e30a5340044564f0b00f8022b7af28ccb3 (diff)
downloadaports-cf142f2ea60e72129df645f9b7dfa73e0ef0e0f6.tar.bz2
aports-cf142f2ea60e72129df645f9b7dfa73e0ef0e0f6.tar.xz
main/py-flask-wtf: moved from testing
Diffstat (limited to 'main')
-rw-r--r--main/py-flask-wtf/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/py-flask-wtf/APKBUILD b/main/py-flask-wtf/APKBUILD
new file mode 100644
index 0000000000..67c1e2dd43
--- /dev/null
+++ b/main/py-flask-wtf/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-flask-wtf
+_pkgname=Flask-WTF
+pkgver=0.9.5
+pkgrel=0
+pkgdesc="Flask WTForms extension"
+url="https://pypi.python.org/pypi/Flask-WTF"
+arch="noarch"
+license="BSD"
+depends="python py-flask py-wtforms"
+depends_dev=""
+makedepends="python-dev py-setuptools py-wtforms"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="cd04d1855317d7d6ee235e3d70dde80d Flask-WTF-0.9.5.tar.gz"
+sha256sums="c5ee61a3431c68b0f983ff6ce1b625f41d74e6e45b3738c73ceeb58dfc06d220 Flask-WTF-0.9.5.tar.gz"
+sha512sums="3f2880be82e793de0c371629b0922a10d21d2ece53f14763cf09afbe24415af51edd36d70bb65f2141669592f2d2fb36f5f17f4d70b8ac83078694ef9a883fc8 Flask-WTF-0.9.5.tar.gz"