aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-flask-paginate
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-08 13:50:18 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-08 13:55:01 -0300
commitd2f36f0b69bf09dfbef7c666051b1afe0ed5b94a (patch)
treeb457658fb673dd3f5b415bfe1de4a24d6f6c21fd /testing/py3-flask-paginate
parentf80ece05f0434f8720c96bd562d834dd77ac8229 (diff)
downloadaports-d2f36f0b69bf09dfbef7c666051b1afe0ed5b94a.tar.bz2
aports-d2f36f0b69bf09dfbef7c666051b1afe0ed5b94a.tar.xz
testing/py3-flask-paginate: upgrade to 0.5.3
Diffstat (limited to 'testing/py3-flask-paginate')
-rw-r--r--testing/py3-flask-paginate/APKBUILD36
1 files changed, 11 insertions, 25 deletions
diff --git a/testing/py3-flask-paginate/APKBUILD b/testing/py3-flask-paginate/APKBUILD
index d1b0f0b572..67cb93bbba 100644
--- a/testing/py3-flask-paginate/APKBUILD
+++ b/testing/py3-flask-paginate/APKBUILD
@@ -1,41 +1,27 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
-pkgname=py-flask-paginate
+pkgname=py3-flask-paginate
_pkgname=Flask-paginate
-pkgver=0.4.5
+pkgver=0.5.3
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"
+depends="python3 py3-flask"
+makedepends="py3-setuptools"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/flask-paginate-$pkgver.tar.gz"
+builddir="$srcdir"/flask-paginate-$pkgver
-_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
-}
+replaces="py-flask-paginate" # Backwards compatibility
+provides="py-flask-paginate=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$_builddir"
- python2 setup.py build || return 1
+ python3 setup.py build
}
package() {
- cd "$_builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-md5sums="bbc4945baa9b58606b7494ffc6ef49c7 flask-paginate-0.4.5.zip"
-sha256sums="eb58636b98dc5349d4fe150614037a89bca46f24de924fe31a7ef70a7f25f368 flask-paginate-0.4.5.zip"
-sha512sums="d928ade3cc91d9ea6518166aa726907610599d0c3c3b5f385609cea1a2e28f05d879fdfd1eb94c854a906e80e1e10bdc53479d3f97d73ff6f8964dfff104e437 flask-paginate-0.4.5.zip"
+sha512sums="18da164753638aa7b1596b9f5b2f8d41ac36e2c858d2e0a6bffe50978de16af933d8c96cb353061187b65d3fecb9bce303200b0f36bbb2dcb0af39e0a37b11e0 flask-paginate-0.5.3.tar.gz"