aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-wtforms
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-14 12:13:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-17 15:01:30 +0000
commitb2ad32d77066128138e6935a640500929101117c (patch)
tree799f28bcd27ca3009dbb1cdd925f96cb68365446 /testing/py-wtforms
parent0769e576b42c788de09ac1d3202f20d8e64b7af7 (diff)
downloadaports-b2ad32d77066128138e6935a640500929101117c.tar.bz2
aports-b2ad32d77066128138e6935a640500929101117c.tar.xz
testing/py-wtforms: new aport
A flexible forms validation and rendering Python library http://wtforms.simplecodes.com/
Diffstat (limited to 'testing/py-wtforms')
-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"