diff options
Diffstat (limited to 'testing/py3-flask-paginate/APKBUILD')
-rw-r--r-- | testing/py3-flask-paginate/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py3-flask-paginate/APKBUILD b/testing/py3-flask-paginate/APKBUILD new file mode 100644 index 0000000000..d1b0f0b572 --- /dev/null +++ b/testing/py3-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.4.5 +pkgrel=0 +pkgdesc="Simple paginate support for Flask" +url="https://pypi.python.org/pypi/Flask-paginate" +arch="noarch" +license="BSD" +depends="python2 py-flask" +depends_dev="" +makedepends="python2-dev py-setuptools" +install="" +subpackages="" +source="https://files.pythonhosted.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" + python2 setup.py build || return 1 +} + +package() { + cd "$_builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="bbc4945baa9b58606b7494ffc6ef49c7 flask-paginate-0.4.5.zip" +sha256sums="eb58636b98dc5349d4fe150614037a89bca46f24de924fe31a7ef70a7f25f368 flask-paginate-0.4.5.zip" +sha512sums="d928ade3cc91d9ea6518166aa726907610599d0c3c3b5f385609cea1a2e28f05d879fdfd1eb94c854a906e80e1e10bdc53479d3f97d73ff6f8964dfff104e437 flask-paginate-0.4.5.zip" |