aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-requests-oauth
diff options
context:
space:
mode:
authorPeter Bui <pnutzh4x0r@gmail.com>2014-12-24 01:32:59 -0600
committerNatanael Copa <ncopa@alpinelinux.org>2014-12-29 15:57:08 +0000
commit485b1fe88d6d0a61654e1747b12446d8dd71908e (patch)
treeeab18e72e0f3c7c0d2884452ace1ed7d3b3b4703 /testing/py-requests-oauth
parent7c97b11fe7742516acb80a741d03fa585f2661ad (diff)
downloadaports-485b1fe88d6d0a61654e1747b12446d8dd71908e.tar.bz2
aports-485b1fe88d6d0a61654e1747b12446d8dd71908e.tar.xz
testing/py-requests-oauth: new aport
Diffstat (limited to 'testing/py-requests-oauth')
-rw-r--r--testing/py-requests-oauth/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-requests-oauth/APKBUILD b/testing/py-requests-oauth/APKBUILD
new file mode 100644
index 0000000000..142ab00c10
--- /dev/null
+++ b/testing/py-requests-oauth/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
+# Maintainer:
+pkgname=py-requests-oauthlib
+_pkgname=requests-oauthlib
+pkgver=0.4.1
+pkgrel=0
+pkgdesc="First-class OAuth library support for Requests"
+url="https://pypi.python.org/pypi/requests-oauthlib"
+arch="noarch"
+license="GPL"
+depends="python py-requests 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="4e5125f249580ae4f815d7291f505124 requests-oauthlib-0.4.1.tar.gz"
+sha256sums="c6d2550c4fefc2a03d7422caf61e72ca7827854e0deefe201deb34a91527d88e requests-oauthlib-0.4.1.tar.gz"
+sha512sums="ebe3f891e4ca4cfd36a704ac711041390bb1b1d11d7c66473159183e5479053c7f515f4bd64d6969166258d1960863cd6427bf42ccd30d08baad90b388e535de requests-oauthlib-0.4.1.tar.gz"