aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-wtforms
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-05-27 06:16:09 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-05-27 06:16:09 +0000
commit3d22bbc8b283ae942136be5aef653bbb5cb08c8e (patch)
treefc0124257b79730a2c8583441f33a5e142935a9f /main/py-wtforms
parent5880026289c629ffd6a9609d4c8ab36a13a9aad7 (diff)
downloadaports-3d22bbc8b283ae942136be5aef653bbb5cb08c8e.tar.bz2
aports-3d22bbc8b283ae942136be5aef653bbb5cb08c8e.tar.xz
main/py-wtforms: moved from testing
Diffstat (limited to 'main/py-wtforms')
-rw-r--r--main/py-wtforms/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/py-wtforms/APKBUILD b/main/py-wtforms/APKBUILD
new file mode 100644
index 0000000000..292bf3527a
--- /dev/null
+++ b/main/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=2.0
+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="e235f22bf5bbbca8dd1072c05fd18137 WTForms-2.0.zip"
+sha256sums="3c8d23957b1f4e9e625dc2e278b90b72445e081bff80231d472977daae386e47 WTForms-2.0.zip"
+sha512sums="d5f6bbf98ad3171168307a0d9e2e72bdf47ff26c9a82599295cbdbb29836b649f7ddd036b2f9f9373a1b61b81629448f8aa00f34754b35db42093cb2d00f855a WTForms-2.0.zip"