commit: 9f6294f2deecc243b00873f665686c957d313e71
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 29 05:40:04 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 29 05:49:19 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f6294f2
dev-python/google-auth: Bump to 2.17.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/google-auth/Manifest | 1 +
dev-python/google-auth/google-auth-2.17.0.ebuild | 58 ++++++++++++++++++++++++
2 files changed, 59 insertions(+)
diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest
index 5365a7f30bb4..b2da61fa5be8 100644
--- a/dev-python/google-auth/Manifest
+++ b/dev-python/google-auth/Manifest
@@ -1,2 +1,3 @@
DIST google-auth-2.16.2.tar.gz 221392 BLAKE2B
858ec2d01b7c8e573ddc310a17d634bd63032f469eb47b0fe5fd3c4bcdb5e3388380fba671958734e1b406ff19c9f8d5b70d8e25587e2e813e1300b27329dab4
SHA512
5686846fbd299e8d331a2132a1f2847febb68f06e460aed987ff12efa3a629c274f6b9dcae53b8b3d9075bb590e5e265eb11b9d6eb3861d4230f91f0bfea84f1
DIST google-auth-2.16.3.tar.gz 221824 BLAKE2B
759b450936e7675b1c50ef574b8e9877d4b086a9e77b47958d56743fe140790359a79de026bc634752aa0eb631abc8a50da4804151071217af34fba588b72c01
SHA512
4010e19cb079baa32ad93f3ee6e9bc142b6edd331247251a14ee8ef9be166d81032cf10a6e000edc32d59e619021c4c9e500658288e4941a886d1d99e86ab68c
+DIST google-auth-2.17.0.tar.gz 222518 BLAKE2B
3f639cb000303c44508599e453385363ae70d01c5c359eb9c82d0882cb1669ab4b02b6acf5cb2bacaae5fdcebfe8244bd537836d58eb5f34ef66a933b50b7ff6
SHA512
2942f385febf8d2a3f3827e048646e01c06ac3c2880ebb06d5a6eaeeb3d258cbd5ba7d969c7aee00a74332b5ce9b43a9474daa9e2e1de72bfb5f97dfb8065b96
diff --git a/dev-python/google-auth/google-auth-2.17.0.ebuild
b/dev-python/google-auth/google-auth-2.17.0.ebuild
new file mode 100644
index 000000000000..5faba10d7363
--- /dev/null
+++ b/dev-python/google-auth/google-auth-2.17.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Google Authentication Library"
+HOMEPAGE="
+ https://github.com/googleapis/google-auth-library-python/
+ https://pypi.org/project/google-auth/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+RDEPEND="
+ <dev-python/cachetools-6.0.0[${PYTHON_USEDEP}]
+ >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}]
+ >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}]
+ >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ !dev-python/namespace-google
+"
+BDEPEND="
+ test? (
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/freezegun[${PYTHON_USEDEP}]
+ dev-python/grpcio[${PYTHON_USEDEP}]
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/moto[${PYTHON_USEDEP}]
+ dev-python/pyopenssl[${PYTHON_USEDEP}]
+ dev-python/pytest-localserver[${PYTHON_USEDEP}]
+ dev-python/pyu2f[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/responses[${PYTHON_USEDEP}]
+ dev-python/urllib3[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+ # these are compatibility tests with oauth2client
+ # disable them to unblock removal of that package
+ tests/test__oauth2client.py
+)
+
+python_compile() {
+ distutils-r1_python_compile
+ find "${BUILD_DIR}" -name '*.pth' -delete || die
+}