Date: Wednesday, August 1, 2018 @ 18:51:04 Author: felixonmars Revision: 367200
upgpkg: python-google-auth 1.5.1-1 Modified: python-google-auth/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-08-01 18:47:00 UTC (rev 367199) +++ PKGBUILD 2018-08-01 18:51:04 UTC (rev 367200) @@ -3,8 +3,8 @@ pkgbase=python-google-auth pkgname=(python-google-auth python2-google-auth) -pkgver=1.5.0 -pkgrel=2 +pkgver=1.5.1 +pkgrel=1 pkgdesc="Google Authentication Library" url="https://github.com/GoogleCloudPlatform/google-auth-library-python" license=('Apache') @@ -16,13 +16,10 @@ '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') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/GoogleCloudPlatform/google-auth-library-python/archive/v$pkgver.tar.gz") +sha512sums=('0595626514fa0bc711177536daf9a1cc9c103afb3eeb495769b48ed5d69dab7782d120e6fd1609bd56607299f5799517e7d397518b8ffadc87857ac5a64626f0') 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:|' \ @@ -42,10 +39,10 @@ # 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'" + 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_certfi'" + python2 setup.py pytest --addopts "tests -k 'not test__make_default_http_without_certifi'" } package_python-google-auth() {