aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorPeter Bui <pnutzh4x0r@gmail.com>2015-06-03 01:04:10 -0500
committerFrancesco Colista <fcolista@alpinelinux.org>2015-06-09 12:44:02 +0000
commit90c7c026e46d63eaa29f12b11132fe7487ef51f0 (patch)
tree12b5a80d20bff6001966b7eb7b22ec4336b1e077 /testing
parentdfc1da3f96e9b363be81dac8a04b7627c6bd3496 (diff)
downloadaports-90c7c026e46d63eaa29f12b11132fe7487ef51f0.tar.bz2
aports-90c7c026e46d63eaa29f12b11132fe7487ef51f0.tar.xz
testing/py-google-api-python-client: new aport
https://code.google.com/p/google-api-python-client/ Google API Client Library for Python
Diffstat (limited to 'testing')
-rw-r--r--testing/py-google-api-python-client/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-google-api-python-client/APKBUILD b/testing/py-google-api-python-client/APKBUILD
new file mode 100644
index 0000000000..9ccbeae8c4
--- /dev/null
+++ b/testing/py-google-api-python-client/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
+# Maintainer:
+pkgname=py-google-api-python-client
+_pkgname=google-api-python-client
+pkgver=1.4.0
+pkgrel=0
+pkgdesc="Google API Client Library for Python"
+url="https://code.google.com/p/google-api-python-client/"
+arch="noarch"
+license="Apache"
+depends="python py-httplib2 py-oauth2client py-uritemplate 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="48e600d261378804bf019c6d26676c1e google-api-python-client-1.4.0.tar.gz"
+sha256sums="695c046789540db5ce4deefe3836e78a2cc002d5e10a41b936c6907f4ec9c96c google-api-python-client-1.4.0.tar.gz"
+sha512sums="a41ee1baa5ed2cffc0de8e97a1ce3428c85fed50cb733ded15d9acf1cdfeb95be1b66c36bfbfbc5a48b9590639b8aa01f47d2ba011e4374e80b094f4a48a6d90 google-api-python-client-1.4.0.tar.gz"