python3-google-api-python-client: update to 2.70.0.

This commit is contained in:
icp 2022-11-26 13:05:56 +05:30 committed by Michal Vasilek
parent 6af79115b3
commit 89be7f9c9f

View File

@ -1,22 +1,19 @@
# Template file for 'python3-google-api-python-client'
pkgname=python3-google-api-python-client
version=2.0.2
revision=3
version=2.70.0
revision=1
build_style=python3-module
make_check_args="--deselect=tests/test__helpers.py::PositionalTests::test_usage
--deselect=tests/test_discovery.py::DiscoveryErrors::test_tests_should_be_run_with_strict_positional_enforcement"
hostmakedepends="python3-setuptools"
depends="python3-httplib2 python3-google-auth python3-google-auth-httplib2
python3-google-api-core python3-uritemplate python3-six"
# FIXME: 6 unittests are failing, cannot use py test to override
checkdepends="python3-mock $depends python3-oauth2client"
python3-google-api-core python3-uritemplate"
checkdepends="${depends} python3-Django python3-parameterized python3-openssl
python3-oauth2client python3-pytest-xdist"
short_desc="Google API client library for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/googleapis/google-api-python-client"
homepage="https://googleapis.github.io/google-api-python-client/"
changelog="https://raw.githubusercontent.com/googleapis/google-api-python-client/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/g/google-api-python-client/google-api-python-client-${version}.tar.gz"
checksum=48686cceb0dc8cb8b9ee1920ad7c0d9b499ef4fca0ca51c1c69f1e462a628011
post_patch() {
# unittest2 is python2 thing.
vsed -i -e '/^import unittest2 as unittest/s/.*/import unittest/' \
tests/test_*.py
}
checksum=262de094d5a30d337f59e66581019fed45b698c078397ac48dd323c0968236e7