re-add google-api-python-client-2.38.0-r1 (from main)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
AUX google-api-python-client-1.8.3-tests.patch 1118 BLAKE2B 41900d0b3358128626090b94f8e2a1f767a31dce97efb3c7c5750704a27f9c962cde240caafcc883497b71209c7c8b6733464d1dfee00ad13d2707cb2beee397 SHA512 a14830727ab93bece5c65d303276b6ba85c5fbe8335d97be2f0478a7ab1d37d9be688c859b4ff4ecaf966a9d95f245276c81dd4d7d4e9bb31164a33ecabf32ac
|
||||
DIST google-api-python-client-1.6.4.tar.gz 4254802 BLAKE2B befbda9fb7919590391125d88707178628b4629933291b68bacddc9559a2d09f89f125f2600aa7b9fa9cb83e02f53e5c50065d94b3282c3349dc66cb3f98bd0d SHA512 9a605a283f42151cb6b06b8cc5caf8fc230f14f5de944b2e5fedb49c91c845aed40e14350db85183bbebcc64494e75252baf3cb9bf33f377517bc718c0e98e23
|
||||
EBUILD google-api-python-client-1.6.4.ebuild 1116 BLAKE2B 98ddf737a8c9f415620eddfb28fb45a055945e0df757c37478232cc047cd8046fdd4630f324f4a53dd7d9e7322141b08a107fb280d98c78ac15c5328ea1a1f30 SHA512 de90cd3bb3784d1b0eac2646a1ab9972418930f5da73dc7f92fcba9b340de80962be82100fbafbca87e2f4f3d0e504f215f0ea46b71f464f15064ea737bfa91c
|
||||
DIST google-api-python-client-2.38.0.tar.gz 29194978 BLAKE2B 741cf925256f0bd648e68c339233cfc13a9eaa12e123e202eab64b8389bc493755838c3da8ca4e7f4ffeecacec783c41f37df1847edf0fb54387d58163c112fc SHA512 b93f1f946ebab226b9fdd9012c3ae70563197a895d9069f09c7eb8926cd8fe5567535d3677a6824f66720b9ed1f0a732f02be9440dc800a13cb7e335728a3ce8
|
||||
EBUILD google-api-python-client-1.6.4.ebuild 1117 BLAKE2B 8e3ee91878988af0a96be1f5807e478bbc2344ff09afea57e89768908e6f42ace7668d047ba84799af26d95bb0862a5f5fcd75ed2e35d9c7d0f92ae6952b3c01 SHA512 aadc73841313f303162f8794aa47663f141160f4d5fdcb5206cfb208b1b7d9fb611d6aae56cb69827872f0e5af41e0aa41493fa5274f0708bb004f8689466ce7
|
||||
EBUILD google-api-python-client-2.38.0-r1.ebuild 1370 BLAKE2B 4beaa5e82d45beb27773ac3a4d52bfe2b20da5c887c72cba5b0cd74fa5341f77d75c62ecf6f74a52a67f2f81b3897513e553845866c39350d2e41dbeb4edb1c7 SHA512 b2a516e55f37ea19f437186343cdbffaa0ba7b6aa49aa541fd19535f3ea2b8d7ef32f57eb4282fa38fdbc05855fc8630cc2aeff067cda43850e6c5f573cc8f41
|
||||
MISC metadata.xml 381 BLAKE2B 2a802e6c566da699864dd520badb0a91eed1b7a1f26e3f20d6bd6bf7993325d07859034694d7d510984835369ea27a0c25241d9d202b3fc31fa2b52d26e42b6f SHA512 02a4ce0b16adaeaa44e041a2bfc0a4f97eb63914d10064403dae1581e3fdfda93673bb750a60e56b83c0bee46395266f7a5b846dfd65bf157253c733c8077216
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
diff --git a/tests/test_discovery.py b/tests/test_discovery.py
|
||||
index 6400f214..c999fd4f 100644
|
||||
--- a/tests/test_discovery.py
|
||||
+++ b/tests/test_discovery.py
|
||||
@@ -40,6 +40,7 @@ import sys
|
||||
import unittest2 as unittest
|
||||
|
||||
import mock
|
||||
+import pytest
|
||||
|
||||
import google.auth.credentials
|
||||
import google_auth_httplib2
|
||||
@@ -515,6 +516,7 @@ class DiscoveryFromDocument(unittest.TestCase):
|
||||
# application default credentials were used.
|
||||
self.assertNotIsInstance(plus._http, google_auth_httplib2.AuthorizedHttp)
|
||||
|
||||
+ @pytest.mark.skip("Needs network access and credentials")
|
||||
def test_api_endpoint_override_from_client_options(self):
|
||||
discovery = open(datafile("plus.json")).read()
|
||||
api_endpoint = "https://foo.googleapis.com/"
|
||||
@@ -525,6 +527,7 @@ class DiscoveryFromDocument(unittest.TestCase):
|
||||
|
||||
self.assertEqual(plus._baseUrl, api_endpoint)
|
||||
|
||||
+ @pytest.mark.skip("Needs network access and credentials")
|
||||
def test_api_endpoint_override_from_client_options_dict(self):
|
||||
discovery = open(datafile("plus.json")).read()
|
||||
api_endpoint = "https://foo.googleapis.com/"
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
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.35.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
|
||||
<dev-python/uritemplate-5[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/oauth2client[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/parameterized[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_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
|
||||
)
|
||||
|
||||
epytest tests
|
||||
}
|
||||
Reference in New Issue
Block a user