From 1621757f1ac265e43032f05aa8c18723fc3ef294 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sun, 17 Apr 2022 09:36:36 +0200 Subject: [PATCH] re-add google-api-python-client-2.38.0-r1 (from main) --- README.md | 4 +- dev-python/google-api-python-client/Manifest | 5 +- ...google-api-python-client-1.8.3-tests.patch | 28 ----------- .../google-api-python-client-1.6.4.ebuild | 2 +- .../google-api-python-client-2.38.0-r1.ebuild | 47 +++++++++++++++++++ 5 files changed, 53 insertions(+), 33 deletions(-) delete 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-2.38.0-r1.ebuild diff --git a/README.md b/README.md index 36927cb36..5b3e58650 100644 --- a/README.md +++ b/README.md @@ -506,12 +506,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E ## Licenses This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted. -There are 1693 Ebuilds in total, 1686 of them have in total 1692 (35 different) licenses assigned. +There are 1694 Ebuilds in total, 1687 of them have in total 1693 (35 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|1037| -|Apache-2.0|301| +|Apache-2.0|302| |GPL-3|105| |BSD|90| |LGPL-3|28| diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index f8cd86214..a348eb36b 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -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 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 deleted file mode 100644 index ad875e728..000000000 --- a/dev-python/google-api-python-client/files/google-api-python-client-1.8.3-tests.patch +++ /dev/null @@ -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/" diff --git a/dev-python/google-api-python-client/google-api-python-client-1.6.4.ebuild b/dev-python/google-api-python-client/google-api-python-client-1.6.4.ebuild index 5bef08f15..b7a7dd839 100644 --- a/dev-python/google-api-python-client/google-api-python-client-1.6.4.ebuild +++ b/dev-python/google-api-python-client/google-api-python-client-1.6.4.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.38.0-r1.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.38.0-r1.ebuild new file mode 100644 index 000000000..58251aa2b --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.38.0-r1.ebuild @@ -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/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}] +