1 |
commit: 4e2093c8b07870876f02012041cd4d4d92eb79eb |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 3 05:01:37 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 3 05:53:04 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e2093c8 |
7 |
|
8 |
dev-python/google-auth: Bump to 2.16.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/google-auth/Manifest | 1 + |
13 |
dev-python/google-auth/google-auth-2.16.2.ebuild | 58 ++++++++++++++++++++++++ |
14 |
2 files changed, 59 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest |
17 |
index 99cc16d004ab..3b7ef23b9403 100644 |
18 |
--- a/dev-python/google-auth/Manifest |
19 |
+++ b/dev-python/google-auth/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST google-auth-2.16.0.tar.gz 223336 BLAKE2B 9dbd54bdf072dacdf728f6fc34931f153dd409e3e1b92e37ed652a1db39d5380b7e66bd196cb1192f75234b2317518a443f8f515bc9135f553e6c9f1116fc606 SHA512 dbeff00089a410c6702e2bd704968c7392809dc217b3f511b62429a11649e4b0607a41622d2753bed9e511368b1c32086b23df66ec915e07a1dd4f32471e025d |
22 |
DIST google-auth-2.16.1.tar.gz 221594 BLAKE2B d220bbd22e560f291566ed533c8f3f8961f611bb65410b2ed56a9d9745f1a269a46df7f9075565958a919266450e1702c808eb4fc12680b74790983f8897713a SHA512 87e648832cd88d789334e59ea05545dd567ff7cf5d65d5dd2c209277716b6a77e92e082e9db91df208f1372a010ef1d6830ff77dbdf77d0fda2b649da39bcdd9 |
23 |
+DIST google-auth-2.16.2.tar.gz 221392 BLAKE2B 858ec2d01b7c8e573ddc310a17d634bd63032f469eb47b0fe5fd3c4bcdb5e3388380fba671958734e1b406ff19c9f8d5b70d8e25587e2e813e1300b27329dab4 SHA512 5686846fbd299e8d331a2132a1f2847febb68f06e460aed987ff12efa3a629c274f6b9dcae53b8b3d9075bb590e5e265eb11b9d6eb3861d4230f91f0bfea84f1 |
24 |
|
25 |
diff --git a/dev-python/google-auth/google-auth-2.16.2.ebuild b/dev-python/google-auth/google-auth-2.16.2.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..5faba10d7363 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/google-auth/google-auth-2.16.2.ebuild |
30 |
@@ -0,0 +1,58 @@ |
31 |
+# Copyright 1999-2023 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYPI_NO_NORMALIZE=1 |
38 |
+PYTHON_COMPAT=( python3_{10..11} ) |
39 |
+ |
40 |
+inherit distutils-r1 pypi |
41 |
+ |
42 |
+DESCRIPTION="Google Authentication Library" |
43 |
+HOMEPAGE=" |
44 |
+ https://github.com/googleapis/google-auth-library-python/ |
45 |
+ https://pypi.org/project/google-auth/ |
46 |
+" |
47 |
+ |
48 |
+LICENSE="Apache-2.0" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ <dev-python/cachetools-6.0.0[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] |
57 |
+ dev-python/six[${PYTHON_USEDEP}] |
58 |
+ !dev-python/namespace-google |
59 |
+" |
60 |
+BDEPEND=" |
61 |
+ test? ( |
62 |
+ dev-python/cryptography[${PYTHON_USEDEP}] |
63 |
+ dev-python/flask[${PYTHON_USEDEP}] |
64 |
+ dev-python/freezegun[${PYTHON_USEDEP}] |
65 |
+ dev-python/grpcio[${PYTHON_USEDEP}] |
66 |
+ dev-python/mock[${PYTHON_USEDEP}] |
67 |
+ dev-python/moto[${PYTHON_USEDEP}] |
68 |
+ dev-python/pyopenssl[${PYTHON_USEDEP}] |
69 |
+ dev-python/pytest-localserver[${PYTHON_USEDEP}] |
70 |
+ dev-python/pyu2f[${PYTHON_USEDEP}] |
71 |
+ dev-python/requests[${PYTHON_USEDEP}] |
72 |
+ dev-python/responses[${PYTHON_USEDEP}] |
73 |
+ dev-python/urllib3[${PYTHON_USEDEP}] |
74 |
+ ) |
75 |
+" |
76 |
+ |
77 |
+distutils_enable_tests pytest |
78 |
+ |
79 |
+EPYTEST_IGNORE=( |
80 |
+ # these are compatibility tests with oauth2client |
81 |
+ # disable them to unblock removal of that package |
82 |
+ tests/test__oauth2client.py |
83 |
+) |
84 |
+ |
85 |
+python_compile() { |
86 |
+ distutils-r1_python_compile |
87 |
+ find "${BUILD_DIR}" -name '*.pth' -delete || die |
88 |
+} |