diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2014-01-23 14:20:50 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-03-03 13:03:41 +0000 |
commit | b968f1f20f7f79fe589384cc3e5cf08f6f8ed924 (patch) | |
tree | 65770721c75e930c6b848aee261c41bd75949ce7 /testing | |
parent | 3f0da86cb26ea6e5ed09ceb10e10527a0ceb8e18 (diff) | |
download | aports-b968f1f20f7f79fe589384cc3e5cf08f6f8ed924.tar.bz2 aports-b968f1f20f7f79fe589384cc3e5cf08f6f8ed924.tar.xz |
testing/py-flask-paginate: new aport
Simple paginate support for Flask
https://github.com/lixxu/flask-paginate
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-flask-paginate/APKBUILD | 41 |
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" |