diff options
author | Peter Bui <pnutzh4x0r@gmail.com> | 2015-07-20 23:08:08 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-21 06:10:50 +0000 |
commit | 15216a1e4231f5d3f84dd3ecd632e26ebda7048a (patch) | |
tree | d772d08e977a91e8de2b39240337b865c1676efb /main | |
parent | 12e0eca268a38c76d70985a699a1e11262b61755 (diff) | |
download | aports-15216a1e4231f5d3f84dd3ecd632e26ebda7048a.tar.bz2 aports-15216a1e4231f5d3f84dd3ecd632e26ebda7048a.tar.xz |
main/py-google-api-python-client: move from testing
Diffstat (limited to 'main')
-rw-r--r-- | main/py-google-api-python-client/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/main/py-google-api-python-client/APKBUILD b/main/py-google-api-python-client/APKBUILD new file mode 100644 index 0000000000..a3b6c08bac --- /dev/null +++ b/main/py-google-api-python-client/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: Peter Bui <pnutzh4x0r@gmail.com> +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" |