aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/py-wtforms/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-wtforms/APKBUILD b/testing/py-wtforms/APKBUILD
new file mode 100644
index 0000000000..4c33d6761e
--- /dev/null
+++ b/testing/py-wtforms/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-wtforms
+_pkgname=WTForms
+pkgver=1.0.5
+pkgrel=0
+pkgdesc="A flexible forms validation and rendering Python library"
+url="http://wtforms.simplecodes.com/"
+arch="noarch"
+license="BSD"
+depends="python"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
+
+_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="a7ba0af8ed65267e5b421d34940d0151 WTForms-1.0.5.zip"
+sha256sums="b36b06e230403927c5e679ba84834053e9df380a0c0414bf70bca4ba1f672227 WTForms-1.0.5.zip"
+sha512sums="cf6a3fe3ec28c49beb1d382a4ac0b8c1bf86949a547d216874f858b423b866b7d1bf2ceff203c201e518504a811d9d0a72515aaec014410d2c696f1d83415cfe WTForms-1.0.5.zip"