Date: Sunday, April 9, 2023 @ 18:45:15
Author: felixonmars
Revision: 1443440
archrelease: copy trunk to community-staging-any
Added:
python-google-auth-httplib2/repos/community-staging-any/
python-google-auth-httplib2/repos/community-staging-any/PKGBUILD
(from rev 1443438, python-google-auth-httplib2/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-google-auth-httplib2/repos/community-staging-any/PKGBUILD (from
rev 1443438, python-google-auth-httplib2/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-09 18:45:15 UTC (rev 1443440)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-google-auth-httplib2
+pkgver=0.1.0
+pkgrel=4
+pkgdesc="Google Authentication Library: httplib2 transport"
+url="https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2"
+license=('Apache')
+arch=('any')
+depends=('python-google-auth' 'python-httplib2' 'python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-mock' 'python-flask'
'python-pytest-localserver')
+source=("https://pypi.io/packages/source/g/google-auth-httplib2/google-auth-httplib2-$pkgver.tar.gz")
+sha512sums=('afc54c502046b29504641772ac135e2a11a6daaf6d76dcdb5daecebcd20887d098579eca8dab49fa59667544d323aee10bb99199d3c62e72582353dbddad88e2')
+
+build() {
+ cd "$srcdir"/google-auth-httplib2-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/google-auth-httplib2-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd google-auth-httplib2-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}