From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/google-api-python-client/Manifest | 3 ++ .../google-api-python-client-1.8.3-tests.patch | 28 +++++++++++++ .../google-api-python-client-1.6.5.ebuild | 45 ++++++++++++++++++++ .../google-api-python-client-1.7.9.ebuild | 45 ++++++++++++++++++++ .../google-api-python-client-1.8.3-r1.ebuild | 49 ++++++++++++++++++++++ dev-python/google-api-python-client/metadata.xml | 13 ++++++ 6 files changed, 183 insertions(+) create mode 100644 dev-python/google-api-python-client/Manifest create mode 100644 dev-python/google-api-python-client/files/google-api-python-client-1.8.3-tests.patch create mode 100644 dev-python/google-api-python-client/google-api-python-client-1.6.5.ebuild create mode 100644 dev-python/google-api-python-client/google-api-python-client-1.7.9.ebuild create mode 100644 dev-python/google-api-python-client/google-api-python-client-1.8.3-r1.ebuild create mode 100644 dev-python/google-api-python-client/metadata.xml (limited to 'dev-python/google-api-python-client') diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest new file mode 100644 index 000000000000..0342a200dc34 --- /dev/null +++ b/dev-python/google-api-python-client/Manifest @@ -0,0 +1,3 @@ +DIST google-api-python-client-1.6.5.tar.gz 4255929 BLAKE2B 4e2197fe56f25cd202f7a0b3f64b3796158d798bfedb9c0690a59c24bd5ce10fbe0300093ebb76cd343dae5eea2a0a360903cd0890834241926fd55a7dc07ea9 SHA512 b2f2be81e6f54ee3065e75ea064ea3ae49cb983d401ac46dca8459409dbd6df7c3ba07798285b5177bfa632a20d43aaaef3a7c73d5d565796567b8b305737565 +DIST google-api-python-client-1.7.9.tar.gz 4142239 BLAKE2B 1754162cd7ae5aa64e105e4842ac415473949064576241453ba5aefcc9c53e3a070167d4210f49509a5f63d4b9e79fa5377119ccd53acafe24eaad4a39e5f8c7 SHA512 1e4410c5e639a6bd3cf12b3e648a63e0098182bb52196085dc92597a38e98984fd349adc282d688aa58ec263502d984f54c7827b7ce53128811e7137234358b6 +DIST google-api-python-client-1.8.3.tar.gz 13537177 BLAKE2B 00b1d46f349a8ad66d08a01da31aed224260ad38f0ee2d7a5b68afe29264234475d28b33cd95addf9f7020fa052e9528b01a4c9cdb73e2ca5742134c4f8f86b5 SHA512 7b9138b27bf032cc1b8beb321459ba5935ed31e4965fa783e472b9483cfd0e97c1da6a34e84fb8c939c462fac462d3f0d853266586ab37be8f890a6b873cf4e6 diff --git a/dev-python/google-api-python-client/files/google-api-python-client-1.8.3-tests.patch b/dev-python/google-api-python-client/files/google-api-python-client-1.8.3-tests.patch new file mode 100644 index 000000000000..ad875e728314 --- /dev/null +++ b/dev-python/google-api-python-client/files/google-api-python-client-1.8.3-tests.patch @@ -0,0 +1,28 @@ +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/" diff --git a/dev-python/google-api-python-client/google-api-python-client-1.6.5.ebuild b/dev-python/google-api-python-client/google-api-python-client-1.6.5.ebuild new file mode 100644 index 000000000000..d3edcaf291da --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-1.6.5.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="Google API Client for Python" +HOMEPAGE="https://github.com/google/google-api-python-client" +SRC_URI="https://github.com/google/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/httplib2-0.9.2[${PYTHON_USEDEP}] + =dev-python/oauth2client-2[${PYTHON_USEDEP}] + =dev-python/uritemplate-3.0[${PYTHON_USEDEP}] + =dev-python/six-1.6.1[${PYTHON_USEDEP}] + + + + + robbat2@gentoo.org + Robin H. Johnson + + + + google/google-api-python-client + + gentoo-staging + -- cgit v1.3.1