Date: Friday, February 14, 2020 @ 13:43:57 Author: felixonmars Revision: 571030
upgpkg: python-google-auth 1.11.1-1 Modified: python-google-auth/trunk/PKGBUILD ----------+ PKGBUILD | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-02-14 13:43:25 UTC (rev 571029) +++ PKGBUILD 2020-02-14 13:43:57 UTC (rev 571030) @@ -1,18 +1,19 @@ # Maintainer: Felix Yan <[email protected]> pkgname=python-google-auth -pkgver=1.11.0 +pkgver=1.11.1 pkgrel=1 pkgdesc="Google Authentication Library" url="https://github.com/GoogleCloudPlatform/google-auth-library-python" license=('Apache') arch=('any') -depends=('ca-certificates' 'python-pyasn1-modules' 'python-rsa' 'python-six' 'python-cachetools') -makedepends=('python-setuptools') -checkdepends=('python-pytest-runner' 'python-mock' 'python-requests' 'python-flask' - 'python-oauth2client' 'python-pytest-localserver' 'python-cryptography' 'python-freezegun') +depends=('ca-certificates' 'python-pyasn1-modules' 'python-rsa' 'python-setuptools' + 'python-cachetools') +checkdepends=('python-pytest' 'python-mock' 'python-requests' 'python-flask' + 'python-oauth2client' 'python-pytest-localserver' 'python-cryptography' + 'python-freezegun' 'python-responses') source=("$pkgname-$pkgver.tar.gz::https://github.com/GoogleCloudPlatform/google-auth-library-python/archive/v$pkgver.tar.gz") -sha512sums=('27622e09bc407ff368d41539aca25ff346d3a78fe10ea873e5542dea90948adce9608b166b8c241660bd4ffad2e2d37f70e368841059db8617ae3d299808b579') +sha512sums=('7c36a8c61b03429a2888aaf25891a36306da265da7a2ae907e082b35a7170ef31984c2197377f819077910130e489103b092614c8f1ee70e939dac346d2c90ff') prepare() { # Use system cert @@ -22,7 +23,7 @@ } build() { - cd "$srcdir"/google-auth-library-python-$pkgver + cd google-auth-library-python-$pkgver python setup.py build } @@ -29,8 +30,8 @@ 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 google-auth-library-python-$pkgver + python -m pytest tests --deselect tests/transport/test_urllib3.py::test__make_default_http_without_certifi } package() {
