aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-05-27 07:54:15 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-05-27 07:54:15 +0000
commitf0942f8530f41ca38f6fe955750875afe6ce5dfc (patch)
treed33c8afd9029fe3986bb79f36c151f11289376c6 /main
parentb9ada9d2d1219f5d2bfece9ed71a5701e4b9d325 (diff)
downloadaports-f0942f8530f41ca38f6fe955750875afe6ce5dfc.tar.bz2
aports-f0942f8530f41ca38f6fe955750875afe6ce5dfc.tar.xz
main/py-flask-oauthlib: moved from testing
Diffstat (limited to 'main')
-rw-r--r--main/py-flask-oauthlib/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/py-flask-oauthlib/APKBUILD b/main/py-flask-oauthlib/APKBUILD
new file mode 100644
index 0000000000..9fcd6234e6
--- /dev/null
+++ b/main/py-flask-oauthlib/APKBUILD
@@ -0,0 +1,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"