commit: 41ea4926bfcf007c1ba22c0337e2e5472372a40b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May 11 05:27:15 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 11 05:36:09 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41ea4926
dev-python/google-auth: Bump to 2.18.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/google-auth/Manifest | 1 +
dev-python/google-auth/google-auth-2.18.0.ebuild | 58 ++++++++++++++++++++++++
2 files changed, 59 insertions(+)
diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest
index fb2cc346da49..e13d05ae9cf2 100644
--- a/dev-python/google-auth/Manifest
+++ b/dev-python/google-auth/Manifest
@@ -1,2 +1,3 @@
DIST google-auth-2.17.1.tar.gz 222594 BLAKE2B
edc7ee29741418ab0e37a7b24591942ef4a973f67308d41e8715ab809dc3549e3ea307863ec2667d57223b3cb88802d535291845fcef48271b0cbc086aef839a
SHA512
ddb4c9a5f9d01e4218666e632cd1eb2e9e8c852f833015c6e6e736a713cabf7ede0b1314526428fd3edd8b71565fee6cd8199252ee8fa011ef54aa543d3764ce
DIST google-auth-2.17.3.tar.gz 222865 BLAKE2B
32b7a483cf458415157057fc92631ca4b822d31505b6b037dce8b9bb210982e4c6164db0b8453e5ef40c9d79c56939efaac74024e60aa95d69f843511e6399d0
SHA512
a731260cdfd74a2a095d682aecde55807727eb24fbc4c0ea0da2fb24a6b0f9eed5653cf9ce18ce2caee2e79a7bcadb7a9342aa511db30358c670afbf01c2fd4c
+DIST google-auth-2.18.0.tar.gz 224653 BLAKE2B
56de5ac899bd6f143e1e1481d787627821c4f82cd4cd94597c6dce9753a7ea9605b9647464eb42f37571e2f6cded9cea5c966416bdd6c96b6413e1ef3e2b2efe
SHA512
2443c7948cb71803197dba2d57ff92f4c17981fa47ac383e9636d2ed239a7d71f43a4d8f61c7c90c651b8d13a0cfc5633a815d72bd731e92d83f3bbaa1b95118
diff --git a/dev-python/google-auth/google-auth-2.18.0.ebuild
b/dev-python/google-auth/google-auth-2.18.0.ebuild
new file mode 100644
index 000000000000..c7a6aff8ed05
--- /dev/null
+++ b/dev-python/google-auth/google-auth-2.18.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-2[${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
+}