1 |
commit: 5015c23658ab7fad26a12bbc7356ace26399d81f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 28 18:09:13 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 28 18:32:58 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5015c236 |
7 |
|
8 |
dev-python/google-auth: Bump to 2.12.0 |
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.12.0.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 2c84cc04a336..4644ca2589a8 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.11.0.tar.gz 205568 BLAKE2B 76f43804c117006141e46291eaa35b49e73f4eec81307b7c3c6fdf82faf1a1f3101ef1a652c5dff05ca6686ded0859c6a3bee8d38cd584fd5cacef9598aae9b1 SHA512 0b2c8653184d95b1f0981326721a8604bee6737e2e4fb68c12d695c74e03406e6d189b00740c34ee74d6ae4032581bd099018f8eaf1d65759e4c5fa4127305cf |
22 |
DIST google-auth-2.11.1.tar.gz 205716 BLAKE2B 06cf90b915c82bb53795427fc971c6a979baa34d3e32d43db20c0df86df9ef39d0ee80c4026dd502ff1d5233f1d80b0a4fa9750aafe9f0d427013a2d8ad34054 SHA512 f89fc2ec2d130156132f7e7290f4237ee9adf832f6b1914a39ea7d56943bb26fa02e940e826eb9c4e5351aa91ebf03cc5969c25e5020a89a09ea8f92535a0c07 |
23 |
+DIST google-auth-2.12.0.tar.gz 209325 BLAKE2B a6f754262dd7b75796dd63f4b7a2161ba959a3103c51cacb3d5f4ba3d17efdd36e1836ce360fa108b5dbce710743bfacf3b8b054de0e235590ba15eae8f3cdf3 SHA512 59209299631b7ea7d11e6787c33a304bbed5bca2173148d8c69595fc573f8915f6e3b601ed96686568f517cbbea71e18be228874334733629fbdd030976821cb |
24 |
|
25 |
diff --git a/dev-python/google-auth/google-auth-2.12.0.ebuild b/dev-python/google-auth/google-auth-2.12.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..de5188c8fdb8 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/google-auth/google-auth-2.12.0.ebuild |
30 |
@@ -0,0 +1,58 @@ |
31 |
+# Copyright 1999-2022 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 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Google Authentication Library" |
42 |
+HOMEPAGE=" |
43 |
+ https://github.com/googleapis/google-auth-library-python/ |
44 |
+ https://pypi.org/project/google-auth/ |
45 |
+" |
46 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
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 |
+} |