diff options
Diffstat (limited to 'community/py3-google-api-python-client')
-rw-r--r-- | community/py3-google-api-python-client/APKBUILD | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/community/py3-google-api-python-client/APKBUILD b/community/py3-google-api-python-client/APKBUILD index 3b1fccb637..f15f384dec 100644 --- a/community/py3-google-api-python-client/APKBUILD +++ b/community/py3-google-api-python-client/APKBUILD @@ -1,17 +1,17 @@ +# Contributor: Keith Maxwell <keith.maxwell@gmail.com> # Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com> pkgname=py3-google-api-python-client _pkgname=google-api-python-client -pkgver=1.8.0 +pkgver=1.8.2 pkgrel=0 pkgdesc="Google API Client Library for Python" -options="!check" # Some tests fail url="https://github.com/google/google-api-python-client" -arch="noarch" +arch="noarch !ppc64le" # limited by py3-grpcio license="Apache-2.0" depends="py3-google-auth py3-google-auth-httplib2 py3-uritemplate py3-six py3-httplib2 - py3-oauth2client" + py3-oauth2client py3-google-api-core" makedepends="py3-setuptools" -checkdepends="py3-mock" +checkdepends="py3-google-auth py3-google-auth-httplib2 py3-openssl py3-pytest py3-mock" source="https://files.pythonhosted.org/packages/source/g/$_pkgname/$_pkgname-$pkgver.tar.gz unittest2.patch " @@ -26,7 +26,9 @@ build() { } check() { - python3 setup.py test + python3 -m pytest tests \ + --deselect tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options \ + --deselect tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_dict } package() { @@ -37,5 +39,5 @@ package() { chmod -R a+r "$pkgdir$_site_packages" } -sha512sums="1e5c6c7b5b0fc458bbad6efeb5b7fdee39d40b655d91741026d496265bcfa6809626892c5e2a3eed93c98d96d2b02ef7761e1282dc109858f0b1bdceb9ef5c83 google-api-python-client-1.8.0.tar.gz +sha512sums="23481987de030952da7763d1e517edc099c5d899d6a1625b81644e857c3884461613d1c21fa89c033f8d4398a0effe2818acb62c482db52a0474374d1aff55a3 google-api-python-client-1.8.2.tar.gz e47ecc9a4522520b8be00702e7ad1b358c6683fe4daf3b16446c2e96a3c42e698244bd7e54be7245b2cdd800e7326a2c1587643ca7ee60a1dec843b3f3c49cf5 unittest2.patch" |