diff options
author | Ainola | 2018-06-02 12:35:15 -0600 |
---|---|---|
committer | Ainola | 2018-06-02 12:35:15 -0600 |
commit | a6c1ad5b3cdc9dd85b9b2f6e82eea73ef98f8426 (patch) | |
tree | 352f76d8bc0296ee2bf677d1044df902d742217b | |
download | aur-a6c1ad5b3cdc9dd85b9b2f6e82eea73ef98f8426.tar.gz |
initial
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..57fca8804b48 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = python-google-auth-httplib2-git + pkgdesc = An httplib2 transport for google-auth + pkgver = r8.e7cd722 + pkgrel = 1 + url = https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2 + arch = any + license = Apache + makedepends = python-setuptools + depends = python + depends = python-google-auth + depends = python-httplib2 + depends = python-six + provides = python-google-auth-httplib2 + source = git+https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2.git + sha256sums = SKIP + +pkgname = python-google-auth-httplib2-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..378bc2496b8b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Ainola + +pkgname=python-google-auth-httplib2-git +pkgver=r8.e7cd722 +pkgrel=1 +pkgdesc="An httplib2 transport for google-auth" +arch=('any') +url="https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2" +license=('Apache') +makedepends=('python-setuptools') +depends=('python' 'python-google-auth' 'python-httplib2' 'python-six') +provides=('python-google-auth-httplib2') +source=("git+https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2.git") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/google-auth-library-python-httplib2" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/google-auth-library-python-httplib2" + python setup.py build +} + +package() { + cd "$srcdir/google-auth-library-python-httplib2" + python setup.py install --root="$pkgdir/" --optimize=1 +} |