blob: 67cb93bbbafdce4d462ccc23f954be94588da18e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flask-paginate
_pkgname=Flask-paginate
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="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
replaces="py-flask-paginate" # Backwards compatibility
provides="py-flask-paginate=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="18da164753638aa7b1596b9f5b2f8d41ac36e2c858d2e0a6bffe50978de16af933d8c96cb353061187b65d3fecb9bce303200b0f36bbb2dcb0af39e0a37b11e0 flask-paginate-0.5.3.tar.gz"
|