aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flask-openid/APKBUILD
blob: 1e44c369f1360f5f7b919d810f206f4d6e81a13d (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-openid
_pkgname=Flask-OpenID
pkgver=1.2
pkgrel=0
pkgdesc="Flask OpenID extension"
url="https://pypi.python.org/pypi/Flask-OpenID"
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/$_pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$_pkgname-$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="349d497ecd0d9a37fce6a54783d7ce0f  Flask-OpenID-1.2.tar.gz"
sha256sums="e496f760bceaf5fa4f22833ec2d454ae72f675f5892ced1d3be3de11530f56a7  Flask-OpenID-1.2.tar.gz"
sha512sums="17d24a4276ac887405b29eb3f610029d9af97e016a6d998b0942ed8b43ea7495dddffb571fbf7f26f039bcc7ef48cc155cd032878f93b591c0eb7d466e8655d2  Flask-OpenID-1.2.tar.gz"