aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-oauthlib
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-05-27 07:53:48 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-05-27 07:53:55 +0000
commitb9ada9d2d1219f5d2bfece9ed71a5701e4b9d325 (patch)
treea6e997c1058410edeff059321a4b321bd7a429db /main/py-oauthlib
parent29098030b681a2684897f444f4466274a3b3a375 (diff)
downloadaports-b9ada9d2d1219f5d2bfece9ed71a5701e4b9d325.tar.bz2
aports-b9ada9d2d1219f5d2bfece9ed71a5701e4b9d325.tar.xz
main/py-oauthlib: moved from testing
Diffstat (limited to 'main/py-oauthlib')
-rw-r--r--main/py-oauthlib/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/py-oauthlib/APKBUILD b/main/py-oauthlib/APKBUILD
new file mode 100644
index 0000000000..d31f35838b
--- /dev/null
+++ b/main/py-oauthlib/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Eivind Uggedal <eivind@uggedal.com>
+pkgname=py-oauthlib
+_pkgname=${pkgname#py-}
+pkgver=0.6.1
+pkgrel=0
+pkgdesc="A Python implementation of the OAuth request-signing logic"
+url="https://github.com/idan/oauthlib"
+arch="noarch"
+license="BSD"
+depends="python py-crypto"
+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="18f8524c85606380c1ef8a7ff50d69cc oauthlib-0.6.1.tar.gz"
+sha256sums="3850fbe9cd9a9a8f82b3ed79a5948aa9f46d6f4405eacbc6bafb74e9f755c8ee oauthlib-0.6.1.tar.gz"
+sha512sums="862a65e604c0e031eb840e276ce59171cb5daa7165c8bc60d31b5e7583aab86f533ee9da9a5062c6f8a48a9b5e14df094415f3ad76329cbc89ec7534a3aa2c8e oauthlib-0.6.1.tar.gz"