mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
python3-google-api-python-client: update to 2.0.2.
Closes: #29719 [via git-merge-pr]
This commit is contained in:
parent
7ca9a682ea
commit
63038b48b3
1 changed files with 4 additions and 7 deletions
|
@ -1,26 +1,23 @@
|
||||||
# Template file for 'python3-google-api-python-client'
|
# Template file for 'python3-google-api-python-client'
|
||||||
pkgname=python3-google-api-python-client
|
pkgname=python3-google-api-python-client
|
||||||
version=1.12.3
|
version=2.0.2
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="${pkgname#*-}-${version}"
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3-httplib2 python3-google-auth python3-google-auth-httplib2
|
depends="python3-httplib2 python3-google-auth python3-google-auth-httplib2
|
||||||
python3-google-api-core python3-uritemplate python3-six"
|
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"
|
checkdepends="python3-mock $depends python3-oauth2client"
|
||||||
short_desc="Google API client library for Python3"
|
short_desc="Google API client library for Python3"
|
||||||
maintainer="Peter Bui <pbui@github.bx612.space>"
|
maintainer="Peter Bui <pbui@github.bx612.space>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://github.com/googleapis/google-api-python-client"
|
homepage="https://github.com/googleapis/google-api-python-client"
|
||||||
distfiles="${PYPI_SITE}/g/google-api-python-client/google-api-python-client-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/g/google-api-python-client/google-api-python-client-${version}.tar.gz"
|
||||||
checksum=844ef76bda585ea0ea2d5e7f8f9a0eb10d6e2eba66c4fea0210ec7843941cb1a
|
checksum=48686cceb0dc8cb8b9ee1920ad7c0d9b499ef4fca0ca51c1c69f1e462a628011
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
# unittest2 is python2 thing.
|
# unittest2 is python2 thing.
|
||||||
vsed -i -e '/^import unittest2 as unittest/s/.*/import unittest/' \
|
vsed -i -e '/^import unittest2 as unittest/s/.*/import unittest/' \
|
||||||
tests/test_*.py
|
tests/test_*.py
|
||||||
}
|
}
|
||||||
|
|
||||||
do_check() {
|
|
||||||
: 6 unittest is failing, cannot use py test to override
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue