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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 18:18:23 UTC 2020


    Date: Monday, November 9, 2020 @ 18:18:22
  Author: foutrelis
Revision: 747951

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 747950, 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 747950, python-google-auth-httplib2/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 18:18:22 UTC (rev 747951)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-google-auth-httplib2
+pkgver=0.0.4
+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=('7206e7ee78988af7101417d073fdac78851d8534575b0c895e8017d02e6083cfed722b4792592b02c7e523aaf652f173fb7dee2967983e55cd1022bcbbc938da')
+
+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