aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flask-paginate/APKBUILD
blob: 7a742b72ccb6d019719785b10a8b5c0b2f6f2eed (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
28
29
30
31
32
33
34
35
36
37
38
39
40
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"