aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-flask-oauthlib/APKBUILD
blob: 3d6b3dcc5b27138841bc1d878618334f881c809d (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
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=py-flask-oauthlib
_pkgname=Flask-OAuthlib
pkgver=0.6.0
pkgrel=0
pkgdesc="Flask OAuth extension using OAuthlib"
url="https://github.com/lepture/flask-oauthlib"
arch="noarch"
license="BSD"
depends="python py-flask py-oauthlib"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.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"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="6f2881684d45c7645a24dc6e580b27fe  Flask-OAuthlib-0.6.0.tar.gz"
sha256sums="f92770b08594bd1aaa7a9e1253a2b5e7cea0255b06b747c1a03b4df2d7200567  Flask-OAuthlib-0.6.0.tar.gz"
sha512sums="7abd56939871858bb39aae1dc478792cf68d7c029d6dd7c0ff5d3a5c323f919960a23260d3e69e9134307095eaaaffe0423f7cf96af75989e6fc1f11134f98d4  Flask-OAuthlib-0.6.0.tar.gz"