[arch-commits] Commit in python-google-auth/repos/community-testing-any (2 files)
Date: Tuesday, November 13, 2018 @ 20:19:05 Author: felixonmars Revision: 407154 archrelease: copy trunk to community-testing-any Added: python-google-auth/repos/community-testing-any/PKGBUILD (from rev 407153, python-google-auth/trunk/PKGBUILD) Deleted: python-google-auth/repos/community-testing-any/PKGBUILD --+ PKGBUILD | 118 ++--- 1 file changed, 59 insertions(+), 59 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-11-13 20:18:30 UTC (rev 407153) +++ PKGBUILD2018-11-13 20:19:05 UTC (rev 407154) @@ -1,59 +0,0 @@ -# Maintainer: Felix Yan - -pkgbase=python-google-auth -pkgname=(python-google-auth python2-google-auth) -pkgver=1.6.0 -pkgrel=1 -pkgdesc="Google Authentication Library" -url="https://github.com/GoogleCloudPlatform/google-auth-library-python"; -license=('Apache') -arch=('any') -makedepends=('ca-certificates' 'python-setuptools' 'python2-setuptools' 'python-pyasn1-modules' - 'python2-pyasn1-modules' 'python-rsa' 'python2-rsa' 'python-six' 'python2-six' - 'python-cachetools' 'python2-cachetools') -checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock' - 'python-requests' 'python2-requests' 'python-flask' 'python2-flask' - 'python-oauth2client' 'python2-oauth2client' 'python-pytest-localserver' - 'python2-pytest-localserver') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/GoogleCloudPlatform/google-auth-library-python/archive/v$pkgver.tar.gz";) -sha512sums=('38657a6c347cf1dd3f99cd0c04dbb3aa0e0c029a7b35cb18787590f4a4ff4a598057b909aff8afa48837699f47f1777c922b053354b1078eac9eb173b441987c') - -prepare() { - # Use system cert - sed -i -e 's|certifi.where()|"/etc/ssl/certs/ca-certificates.crt"|' \ - -e 's|if certifi is not None:|if True:|' \ - google-auth-library-python-$pkgver/google/auth/transport/urllib3.py - cp -a google-auth-library-python-$pkgver{,-py2} -} - -build() { - cd "$srcdir"/google-auth-library-python-$pkgver - python setup.py build - - cd "$srcdir"/google-auth-library-python-$pkgver-py2 - python2 setup.py build -} - -check() { - # Skip the without_certifi tests because we always have the system ca bundle - - cd "$srcdir"/google-auth-library-python-$pkgver - python setup.py pytest --addopts "tests -k 'not test__make_default_http_without_certifi'" - - cd "$srcdir"/google-auth-library-python-$pkgver-py2 - python2 setup.py pytest --addopts "tests -k 'not test__make_default_http_without_certifi'" -} - -package_python-google-auth() { - depends=('ca-certificates' 'python-pyasn1-modules' 'python-rsa' 'python-six' 'python-cachetools') - - cd google-auth-library-python-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-google-auth() { - depends=('ca-certificates' 'python2-pyasn1-modules' 'python2-rsa' 'python2-six' 'python2-cachetools') - - cd google-auth-library-python-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-google-auth/repos/community-testing-any/PKGBUILD (from rev 407153, python-google-auth/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-11-13 20:19:05 UTC (rev 407154) @@ -0,0 +1,59 @@ +# Maintainer: Felix Yan + +pkgbase=python-google-auth +pkgname=(python-google-auth python2-google-auth) +pkgver=1.6.1 +pkgrel=1 +pkgdesc="Google Authentication Library" +url="https://github.com/GoogleCloudPlatform/google-auth-library-python"; +license=('Apache') +arch=('any') +makedepends=('ca-certificates' 'python-setuptools' 'python2-setuptools' 'python-pyasn1-modules' + 'python2-pyasn1-modules' 'python-rsa' 'python2-rsa' 'python-six' 'python2-six' + 'python-cachetools' 'python2-cachetools') +checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock' + 'python-requests' 'python2-requests' 'python-flask' 'python2-flask' + 'python-oauth2client' 'python2-oauth2client' 'python-pytest-localserver' + 'python2-pytest-localserver') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/GoogleCloudPlatform/google-auth-library-python/archive/v$pkgver.tar.gz";) +sha512sums=('2b094ecf6cb07f069c677bc0fd2b4bb0993449c48798c3a1aeef4ca32985482065d224e590703b55c6c250be62361e7c3975be3468164be4d3db2aa6ebd6f083') + +prepare() { + # Use system cert + sed -i -e 's|certifi.where()|"/etc/ssl/certs/ca-certificates.crt"|' \ + -e 's|if certifi is not None:|if True:|' \ + google-auth-library-python-$pkgver/google/auth/transport/urllib3.py + cp -a google-auth-library-python-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/google-auth-library-python-$pkgver + python setup.py build + + cd "$srcdir"/google-auth-library-python-$pkgver-py2 +
[arch-commits] Commit in python-google-auth/repos/community-testing-any (2 files)
Date: Wednesday, August 1, 2018 @ 18:51:24 Author: felixonmars Revision: 367201 archrelease: copy trunk to community-testing-any Added: python-google-auth/repos/community-testing-any/PKGBUILD (from rev 367200, python-google-auth/trunk/PKGBUILD) Deleted: python-google-auth/repos/community-testing-any/PKGBUILD --+ PKGBUILD | 123 + 1 file changed, 60 insertions(+), 63 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-08-01 18:51:04 UTC (rev 367200) +++ PKGBUILD2018-08-01 18:51:24 UTC (rev 367201) @@ -1,63 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan - -pkgbase=python-google-auth -pkgname=(python-google-auth python2-google-auth) -pkgver=1.5.0 -pkgrel=2 -pkgdesc="Google Authentication Library" -url="https://github.com/GoogleCloudPlatform/google-auth-library-python"; -license=('Apache') -arch=('any') -makedepends=('ca-certificates' 'python-setuptools' 'python2-setuptools' 'python-pyasn1-modules' - 'python2-pyasn1-modules' 'python-rsa' 'python2-rsa' 'python-six' 'python2-six' - 'python-cachetools' 'python2-cachetools') -checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock' - 'python-requests' 'python2-requests' 'python-flask' 'python2-flask' - 'python-oauth2client' 'python2-oauth2client' 'python-pytest-localserver' - 'python2-pytest-localserver') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/GoogleCloudPlatform/google-auth-library-python/archive/v$pkgver.tar.gz"; - https://github.com/felixonmars/google-auth-library-python/commit/974f7202f56fb2b18f16f820b53286ca15ac016e.patch) -sha512sums=('3924332a5ffea4974ac65f46aa40912c2ce9306113c52001e208765080c16580d98e8953d0d81a239c8a906584bd7702de04c92fd7c8946803bb68223b43f31b' - '6c6f66260b79c9c2c2658663b14ea1eccd0675825083f68773bf42ea6edc3b3a3c18e0d4944a516d46baa9119072ed1802dc67418351f15913a0580fb9992211') - -prepare() { - (cd google-auth-library-python-$pkgver; patch -p1 -i ../974f7202f56fb2b18f16f820b53286ca15ac016e.patch) - # Use system cert - sed -i -e 's|certifi.where()|"/etc/ssl/certs/ca-certificates.crt"|' \ - -e 's|if certifi is not None:|if True:|' \ - google-auth-library-python-$pkgver/google/auth/transport/urllib3.py - cp -a google-auth-library-python-$pkgver{,-py2} -} - -build() { - cd "$srcdir"/google-auth-library-python-$pkgver - python setup.py build - - cd "$srcdir"/google-auth-library-python-$pkgver-py2 - python2 setup.py build -} - -check() { - # Skip the without_certifi tests because we always have the system ca bundle - - cd "$srcdir"/google-auth-library-python-$pkgver - python setup.py pytest --addopts "tests -k 'not test__make_default_http_without_certfi'" - - cd "$srcdir"/google-auth-library-python-$pkgver-py2 - python2 setup.py pytest --addopts "tests -k 'not test__make_default_http_without_certfi'" -} - -package_python-google-auth() { - depends=('ca-certificates' 'python-pyasn1-modules' 'python-rsa' 'python-six' 'python-cachetools') - - cd google-auth-library-python-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-google-auth() { - depends=('ca-certificates' 'python2-pyasn1-modules' 'python2-rsa' 'python2-six' 'python2-cachetools') - - cd google-auth-library-python-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-google-auth/repos/community-testing-any/PKGBUILD (from rev 367200, python-google-auth/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-08-01 18:51:24 UTC (rev 367201) @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgbase=python-google-auth +pkgname=(python-google-auth python2-google-auth) +pkgver=1.5.1 +pkgrel=1 +pkgdesc="Google Authentication Library" +url="https://github.com/GoogleCloudPlatform/google-auth-library-python"; +license=('Apache') +arch=('any') +makedepends=('ca-certificates' 'python-setuptools' 'python2-setuptools' 'python-pyasn1-modules' + 'python2-pyasn1-modules' 'python-rsa' 'python2-rsa' 'python-six' 'python2-six' + 'python-cachetools' 'python2-cachetools') +checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock' + 'python-requests' 'python2-requests' 'python-flask' 'python2-flask' + 'python-oauth2client' 'python2-oauth2client' 'python-pytest-localserver' + 'python2-pytest-localserver') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/GoogleCloudPlatform/google-auth-library-python/archive/v$pkgver.tar.gz";) +sha512sums=('0595626514fa0bc711177536daf9a1cc9c103afb3eeb495769b48ed5d69dab7782d120e6fd1609bd56607299f5799517e7d397518b8ffadc87857ac5a64626f0') + +prepare() { + # Use system cert + sed -i -e 's|ce