summaryrefslogtreecommitdiff
path: root/dev-python/google-api-python-client
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-04 22:28:33 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-04 22:28:33 +0100
commita978c074e4272bb901fbe4a10de0a7b2af574f17 (patch)
tree8c764c1cc0576389ce22abd317bceba71ea5732d /dev-python/google-api-python-client
parent40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (diff)
gentoo resync : 04.05.2021
Diffstat (limited to 'dev-python/google-api-python-client')
-rw-r--r--dev-python/google-api-python-client/Manifest8
-rw-r--r--dev-python/google-api-python-client/google-api-python-client-2.0.2.ebuild5
-rw-r--r--dev-python/google-api-python-client/google-api-python-client-2.1.0.ebuild3
-rw-r--r--dev-python/google-api-python-client/google-api-python-client-2.2.0.ebuild3
-rw-r--r--dev-python/google-api-python-client/google-api-python-client-2.3.0.ebuild50
5 files changed, 65 insertions, 4 deletions
diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest
index 00fcee9f3460..b7614bcd8e91 100644
--- a/dev-python/google-api-python-client/Manifest
+++ b/dev-python/google-api-python-client/Manifest
@@ -4,9 +4,11 @@ DIST google-api-python-client-2.0.0.tar.gz 23121166 BLAKE2B 427160b34982438ef7b2
DIST google-api-python-client-2.0.2.tar.gz 23122914 BLAKE2B 0df0b44b2e86088069c5abc1916e733340ccfdb5be7629a2b5f1fcc8e5597183213d2ec149ef64a879bd50710ac804839b7d3be3d912ff6f132473dc6b4050f1 SHA512 9224a1f925ddeedfa0237372b4c5d1dbab913e07a8885398b955ff188decea68ebcde36fdc06394674e31d8ff4dee02aba0e13ebf8f599b1fc19854c21f9ce85
DIST google-api-python-client-2.1.0.tar.gz 23921001 BLAKE2B 8594d79a0eb71587c2d0d55c3d9bc1414f5ec057594324638947fb408182a58f04a8672bbbfeda95a262ff2888d93e3e103730f592caf4d884d392f8ed894824 SHA512 c76075920a3e56f3d64ada1973ade61bb3806afd63e5bd184074b4a3a16e143aa5662543127e98451a942c6b47e8f9f28002ef52b548fc8702ef703c0da33cf4
DIST google-api-python-client-2.2.0.tar.gz 24631108 BLAKE2B 377b87d30a0adb2bdbf983e9821e8be5db371e70572d79cafc1c4d231206461d50373b87aed5927cf5a485c3c1b21819db2719107cf58472551a7a0f858d8090 SHA512 9e921aa4b3868f85ecc3eb572d465c13851b1dfa0e84d11706821d5d02511cd4ae4fab4b9b55c606446d5753dccb973a99de888fbfa890aa1fcb6083fde976de
+DIST google-api-python-client-2.3.0.tar.gz 24912943 BLAKE2B 60233808f0f6243c37e8915791975e9aa10fa2d82e54c183582db9712dc36920d7d99f6caa67a25a96b1806ae9f96fd4f371010472b753f7a80d5e4fab49bd3e SHA512 11b9ba2f6417c017d47c9563460c38afdbfd01658e6c0f1812b1cdd1068b04bd37bb362e2ade4214fcc9a89d758f31bc977e281b093793a48641a2b7d926715e
EBUILD google-api-python-client-1.8.3-r1.ebuild 1396 BLAKE2B fc4b6eb8e14a19a899b780cb8d1191db0ab05bf7d1492a986e6c656410abd791373ca30cf4ad8c0347caefc6a2d4cde687c1c6b9a4c228edaa60787561fd178e SHA512 897f438df59873c4700dcbfe2b4751fd426fa4c0d99fe64ad5eee22b074694e9612809a48631dcb092ee3aa4e98e402318e3c00393ca80ed8b363819fe30527c
EBUILD google-api-python-client-2.0.0.ebuild 1396 BLAKE2B d1bdcc7680318b5206d46c33305c0e5b8dffef90cb9de16d74cfb3a27f0b18e70119a895a8a0998b16c41a495d264b3ba847941bd5c88989aae1d565fe2d725f SHA512 84bf67f885f5651f1bb22c479762a58a19f708a59b555efbd228c9caee0da021c823530c6542b818e2d1900ac3347af7f8dc765271a6e2f9e47a1d7564b7693c
-EBUILD google-api-python-client-2.0.2.ebuild 1396 BLAKE2B d1bdcc7680318b5206d46c33305c0e5b8dffef90cb9de16d74cfb3a27f0b18e70119a895a8a0998b16c41a495d264b3ba847941bd5c88989aae1d565fe2d725f SHA512 84bf67f885f5651f1bb22c479762a58a19f708a59b555efbd228c9caee0da021c823530c6542b818e2d1900ac3347af7f8dc765271a6e2f9e47a1d7564b7693c
-EBUILD google-api-python-client-2.1.0.ebuild 1396 BLAKE2B 243a8955b1c30837c5b67249bb2546d56169b85d92a65c489fb1de5f5320cb8100b889f4ffed7407ab0a56cfa56b073315fd60d9d71d405d2c9a594a4751cce6 SHA512 cbe65a8037d0a9ff60f8758944521c893081146f2294c2f0d1b6f896daa75e2b0322a99c4aa6630bdca349f30792c210d28e59555a1495282bf738f0add92cc1
-EBUILD google-api-python-client-2.2.0.ebuild 1396 BLAKE2B 243a8955b1c30837c5b67249bb2546d56169b85d92a65c489fb1de5f5320cb8100b889f4ffed7407ab0a56cfa56b073315fd60d9d71d405d2c9a594a4751cce6 SHA512 cbe65a8037d0a9ff60f8758944521c893081146f2294c2f0d1b6f896daa75e2b0322a99c4aa6630bdca349f30792c210d28e59555a1495282bf738f0add92cc1
+EBUILD google-api-python-client-2.0.2.ebuild 1519 BLAKE2B 164b19b659c20337532f296d94a19024020078e6f62ad98142cd8017fc95dfc65cc8011e378b9cff98fab3943c7d1bcb56ea8b9e98a8fc9d7015f7b0d3a0425d SHA512 016efafa8490af176fc7f617c7f281bc34369b72b34f4f4f1d780728a203383331bd264879a95f0d71b8bc0d73e1f2d8d4c2e218c50f2953d1f7907bb607a563
+EBUILD google-api-python-client-2.1.0.ebuild 1521 BLAKE2B 8705a8c639a00233103c0dc9384e0c18a180965572dae36d74053f3c1777ca4e31406207d089d055d764c12c73deda1de963caae8775a30e15972861cfd4e231 SHA512 a4c76f5a50fc4bbc9d23b19b8321e0334f5d454895f2f51bee9be256bca9d91050ff83f6cb2f07476ce7cacc6b9d7fec295bc10694eb234c0bf35861790a30ab
+EBUILD google-api-python-client-2.2.0.ebuild 1521 BLAKE2B 8705a8c639a00233103c0dc9384e0c18a180965572dae36d74053f3c1777ca4e31406207d089d055d764c12c73deda1de963caae8775a30e15972861cfd4e231 SHA512 a4c76f5a50fc4bbc9d23b19b8321e0334f5d454895f2f51bee9be256bca9d91050ff83f6cb2f07476ce7cacc6b9d7fec295bc10694eb234c0bf35861790a30ab
+EBUILD google-api-python-client-2.3.0.ebuild 1559 BLAKE2B e345907554560433de3888b24109ad3103348a620f9f85f0c842fa2350e5c3fcbd4cae21229787b634330a94f916b16bddcfea00cebdcfe49028f5ccd92d945f SHA512 1c0638e7cf57b6e3af304741a6c80408005877abff24e88a161bbf7233ddb28463ca7b3009f2d882758021f8ac2810235bc9986ca19a385fece84b3472e1b004
MISC metadata.xml 537 BLAKE2B 5cbf80edce906cc5e6907af3df5b67662713d2eb503bcc619f616a5e770f57143d36089c1f2dde53c9c78b8df8b974e27e61d056b01bb70e6d7b9bd18a061afc SHA512 4d050e4c5f9b8f2284d4025570f5e52619b5304be4d7f76f856cce782120d8e1c0dcd23b5699509cb57a7720840b019f2c9bb981a08a6071be56977115708aa3
diff --git a/dev-python/google-api-python-client/google-api-python-client-2.0.2.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.0.2.ebuild
index f2bb3877647b..c99cd35d27cf 100644
--- a/dev-python/google-api-python-client/google-api-python-client-2.0.2.ebuild
+++ b/dev-python/google-api-python-client/google-api-python-client-2.0.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.t
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 x86"
RDEPEND="
>=dev-python/httplib2-0.15[${PYTHON_USEDEP}]
@@ -28,6 +28,9 @@ RDEPEND="
"
BDEPEND="
test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/oauth2client[${PYTHON_USEDEP}]
+ dev-python/parameterized[${PYTHON_USEDEP}]
dev-python/unittest2[${PYTHON_USEDEP}]
)"
diff --git a/dev-python/google-api-python-client/google-api-python-client-2.1.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.1.0.ebuild
index 6ac513eb6f88..57f778294183 100644
--- a/dev-python/google-api-python-client/google-api-python-client-2.1.0.ebuild
+++ b/dev-python/google-api-python-client/google-api-python-client-2.1.0.ebuild
@@ -28,6 +28,9 @@ RDEPEND="
"
BDEPEND="
test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/oauth2client[${PYTHON_USEDEP}]
+ dev-python/parameterized[${PYTHON_USEDEP}]
dev-python/unittest2[${PYTHON_USEDEP}]
)"
diff --git a/dev-python/google-api-python-client/google-api-python-client-2.2.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.2.0.ebuild
index 6ac513eb6f88..57f778294183 100644
--- a/dev-python/google-api-python-client/google-api-python-client-2.2.0.ebuild
+++ b/dev-python/google-api-python-client/google-api-python-client-2.2.0.ebuild
@@ -28,6 +28,9 @@ RDEPEND="
"
BDEPEND="
test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/oauth2client[${PYTHON_USEDEP}]
+ dev-python/parameterized[${PYTHON_USEDEP}]
dev-python/unittest2[${PYTHON_USEDEP}]
)"
diff --git a/dev-python/google-api-python-client/google-api-python-client-2.3.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.3.0.ebuild
new file mode 100644
index 000000000000..4a2588364e71
--- /dev/null
+++ b/dev-python/google-api-python-client/google-api-python-client-2.3.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Google API Client for Python"
+HOMEPAGE="https://github.com/googleapis/google-api-python-client"
+SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+RDEPEND="
+ >=dev-python/httplib2-0.15[${PYTHON_USEDEP}]
+ <dev-python/httplib2-1[${PYTHON_USEDEP}]
+ dev-python/google-api-core[${PYTHON_USEDEP}]
+ >=dev-python/google-auth-1.16.0[${PYTHON_USEDEP}]
+ >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}]
+ >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
+ <dev-python/uritemplate-4[${PYTHON_USEDEP}]
+ >=dev-python/six-1.13.0[${PYTHON_USEDEP}]
+ <dev-python/six-2[${PYTHON_USEDEP}]
+ "
+BDEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/oauth2client[${PYTHON_USEDEP}]
+ dev-python/pandas[${PYTHON_USEDEP}]
+ dev-python/parameterized[${PYTHON_USEDEP}]
+ dev-python/unittest2[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests --install pytest
+
+python_test() {
+ local deselect=(
+ # require Internet access (and credentials)
+ tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive
+ tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object
+ )
+
+ distutils_install_for_testing
+ pytest -vv ${deselect[@]/#/--deselect } ||
+ die "Tests failed with ${EPYTHON}"
+}