aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flask-oauth
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-14 10:15:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-17 15:01:28 +0000
commit7cfc4761ab83c2b4be4c2a74a79daa7f9c2dcbbc (patch)
tree2f4547dad903152a98a975bdf0a025b40b695c5c /testing/py-flask-oauth
parent619aaba43ed51d945b3922679a559039790c5795 (diff)
downloadaports-7cfc4761ab83c2b4be4c2a74a79daa7f9c2dcbbc.tar.bz2
aports-7cfc4761ab83c2b4be4c2a74a79daa7f9c2dcbbc.tar.xz
testing/py-flask-oauth: new aport
Flask OAuth extension https://pypi.python.org/pypi/Flask-OAuth
Diffstat (limited to 'testing/py-flask-oauth')
-rw-r--r--testing/py-flask-oauth/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-flask-oauth/APKBUILD b/testing/py-flask-oauth/APKBUILD
new file mode 100644
index 0000000000..1490dff312
--- /dev/null
+++ b/testing/py-flask-oauth/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-flask-oauth
+_pkgname=Flask-OAuth
+pkgver=0.12
+pkgrel=0
+pkgdesc="Flask OAuth extension"
+url="https://pypi.python.org/pypi/Flask-OAuth"
+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/$_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="eea1295eb191f3d3064c61df5a10cdc1 Flask-OAuth-0.12.tar.gz"
+sha256sums="74eb646b3e0b3b63d4adc36024d163033fc6d01f32cf01f9e9b6c8b562313ec6 Flask-OAuth-0.12.tar.gz"
+sha512sums="a51f437eb0921ebedf7af8e3191eb8f7a263639046cf4cc56e2f6b0a0ebecdc3ae5322d503e1abef06d0d359666843b36d705310d4601e21c631d638a4391fb5 Flask-OAuth-0.12.tar.gz"