aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flask-paginate/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py-flask-paginate/APKBUILD')
-rw-r--r--testing/py-flask-paginate/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-flask-paginate/APKBUILD b/testing/py-flask-paginate/APKBUILD
new file mode 100644
index 0000000000..7a742b72cc
--- /dev/null
+++ b/testing/py-flask-paginate/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-flask-paginate
+_pkgname=Flask-paginate
+pkgver=0.2.1
+pkgrel=0
+pkgdesc="Simple paginate support for Flask"
+url="https://pypi.python.org/pypi/Flask-paginate"
+arch="noarch"
+license="BSD"
+depends="python py-flask"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/flask-paginate-$pkgver.zip"
+
+_builddir="$srcdir"/flask-paginate-$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="fb0e0bb75b26097495befd9de3a264e3 flask-paginate-0.2.1.zip"
+sha256sums="abc9e7dc1c29890144c0c3847ae4903e82236f1a8886aa637bd3912a0f7dcddc flask-paginate-0.2.1.zip"
+sha512sums="4b732c4336b2af15a5f55ba2cad9df5b0fab7566f1fa29b5b739720ae8ff6a3c79bb6fb28be4c09c8950838f06e44c2da7661085b10505db4dbd3e1341d0a6a5 flask-paginate-0.2.1.zip"