aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-oauth2client
diff options
context:
space:
mode:
authorPeter Bui <pnutzh4x0r@gmail.com>2015-07-20 23:17:32 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-21 06:10:51 +0000
commit9f32add0eb92c47450a2adbf8e285a303f50ac33 (patch)
tree8056eaa85c83f696d91530f803fd5129ef55d1b3 /main/py-oauth2client
parent86c0330d93e2bd69f3b7e546c6a8ba403f2182f2 (diff)
downloadaports-9f32add0eb92c47450a2adbf8e285a303f50ac33.tar.bz2
aports-9f32add0eb92c47450a2adbf8e285a303f50ac33.tar.xz
main/py-oauth2client: move from testing
Diffstat (limited to 'main/py-oauth2client')
-rw-r--r--main/py-oauth2client/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/py-oauth2client/APKBUILD b/main/py-oauth2client/APKBUILD
new file mode 100644
index 0000000000..7dcc3cdef5
--- /dev/null
+++ b/main/py-oauth2client/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Peter Bui <pnutzh4x0r@gmail.com>
+pkgname=py-oauth2client
+_pkgname=oauth2client
+pkgver=1.4.11
+pkgrel=0
+pkgdesc="A client library for OAuth 2.0"
+url="https://github.com/google/oauth2client"
+arch="noarch"
+license="Apache"
+depends="python py-asn1 py-httplib2 py-asn1-modules py-rsa py-six"
+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="ace6b6e4c9cd17fd611d9984d6746c7b oauth2client-1.4.11.tar.gz"
+sha256sums="dcc9bfaa544791206ca86a2f311872f0c4c1e81b068775c3da16abe72a506873 oauth2client-1.4.11.tar.gz"
+sha512sums="46e5b475fd032bc1de6cb4a404747a62988fc337c9c73a329cf4127fc4a1966124a506316fb4a4e90ea68e78103cab571cd42f9eb683ce1413c8a501ace5ed91 oauth2client-1.4.11.tar.gz"