blob: 9fcd6234e68bec05f18202c5ba8c8dab87751b4e (
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.5.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="5598fb1043b91daace853e8820c019b2 Flask-OAuthlib-0.5.0.tar.gz"
sha256sums="aca43a7dd65c324200d3296e1d531694850f2fb95ec21ccb863d9073b0fbdb99 Flask-OAuthlib-0.5.0.tar.gz"
sha512sums="611190aca1a4b9417bc87e43b01cc3383c956b2c8f8162d1eedfcb500cbe6d48d04372db2bdba2564db89bcfbeadec708ac07f5531bd3c5b4e972393dba5ea47 Flask-OAuthlib-0.5.0.tar.gz"
|