[arch-commits] Commit in python-google-auth-httplib2/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 21:12:24 UTC 2021


    Date: Tuesday, November 30, 2021 @ 21:12:23
  Author: felixonmars
Revision: 1058843

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 1058842, 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 1058842, python-google-auth-httplib2/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 21:12:23 UTC (rev 1058843)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-google-auth-httplib2
+pkgver=0.1.0
+pkgrel=2
+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
+}



More information about the arch-commits mailing list