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

Antonio Rojas arojas at archlinux.org
Wed Jan 15 14:08:02 UTC 2020


    Date: Wednesday, January 15, 2020 @ 14:08:01
  Author: arojas
Revision: 552626

archrelease: copy trunk to community-any

Added:
  python-google-auth-httplib2/repos/community-any/PKGBUILD
    (from rev 552625, python-google-auth-httplib2/trunk/PKGBUILD)
Deleted:
  python-google-auth-httplib2/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   83 ++++++++++++++++++++++---------------------------------------
 1 file changed, 30 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-15 14:07:38 UTC (rev 552625)
+++ PKGBUILD	2020-01-15 14:08:01 UTC (rev 552626)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-google-auth-httplib2
-pkgname=(python-google-auth-httplib2 python2-google-auth-httplib2)
-pkgver=0.0.3
-pkgrel=4
-pkgdesc="Google Authentication Library: httplib2 transport"
-url="https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2"
-license=('Apache')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-google-auth' 'python2-google-auth'
-             'python-httplib2' 'python2-httplib2' 'python-six' 'python2-six')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock'
-              'python-flask' 'python2-flask' 'python-pytest-localserver'
-              'python2-pytest-localserver')
-source=("https://pypi.io/packages/source/g/google-auth-httplib2/google-auth-httplib2-$pkgver.tar.gz")
-sha512sums=('da9d280f2ab3f9d99e2f011d56d94b09a12e85a5a1e9f78933a93cc57c7778d9002e1a023552a2611283da696334ba795cd7e8003b311db05e9b6b40aca34dc7')
-
-prepare() {
-  cp -a google-auth-httplib2-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/google-auth-httplib2-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/google-auth-httplib2-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/google-auth-httplib2-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/google-auth-httplib2-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-google-auth-httplib2() {
-  depends=('python-google-auth' 'python-httplib2' 'python-six')
-
-  cd google-auth-httplib2-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-google-auth-httplib2() {
-  depends=('python2-google-auth' 'python2-httplib2' 'python2-six')
-
-  cd google-auth-httplib2-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-google-auth-httplib2/repos/community-any/PKGBUILD (from rev 552625, python-google-auth-httplib2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-15 14:08:01 UTC (rev 552626)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-google-auth-httplib2
+pkgver=0.0.3
+pkgrel=5
+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=('da9d280f2ab3f9d99e2f011d56d94b09a12e85a5a1e9f78933a93cc57c7778d9002e1a023552a2611283da696334ba795cd7e8003b311db05e9b6b40aca34dc7')
+
+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