1 |
commit: e4b1e877145698dd152f2dd37c358d876f7385fa |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 20 22:56:48 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 20 23:25:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4b1e877 |
7 |
|
8 |
dev-python/google-auth: Bump to 2.4.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.4.0.ebuild | 55 +++++++++++++++++++++++++ |
14 |
2 files changed, 56 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest |
17 |
index c20f951da786..b4a76b36cbf4 100644 |
18 |
--- a/dev-python/google-auth/Manifest |
19 |
+++ b/dev-python/google-auth/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST google-auth-2.3.3.tar.gz 186600 BLAKE2B 52b1269b88d27fafafcb053219c93c7f180cac11cdf32b140531553dda547d02087b0418d44edc6497eb37793859d86d4beaad1a7a128c86839202785584c9ab SHA512 3ab6d97e71988ef5e338e0a643545f8fa504f5ea04f4176afd9417ecf0e9a3fa45333f0c2c7ea5bf32423df32c48ec59ac9d16ef8bfc35a1aa4c0fcc114fef63 |
22 |
+DIST google-auth-2.4.0.tar.gz 188032 BLAKE2B 27cd5a9fec2a0f98e26e4c5cfada446f9561834d8471a91bcab54b2965231ecf9d40d8d6d4240355adf0da5ffc9533ce745940a9d9eaca3fd97ed8c759e55939 SHA512 bb107b4dcf556e98f2a994d9baf10492d249b679d92c26bd96c79764d886bfb001940ac168ff0932456af15e4f2de38edc62d7c9beecadafad5e6350b13e0d95 |
23 |
|
24 |
diff --git a/dev-python/google-auth/google-auth-2.4.0.ebuild b/dev-python/google-auth/google-auth-2.4.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..7ee473335ec6 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/google-auth/google-auth-2.4.0.ebuild |
29 |
@@ -0,0 +1,55 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..9} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Google Authentication Library" |
40 |
+HOMEPAGE=" |
41 |
+ https://github.com/googleapis/google-auth-library-python/ |
42 |
+ https://pypi.org/project/google-auth/" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="Apache-2.0" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ <dev-python/cachetools-6.0.0[${PYTHON_USEDEP}] |
51 |
+ dev-python/namespace-google[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] |
55 |
+ dev-python/six[${PYTHON_USEDEP}] |
56 |
+ " |
57 |
+BDEPEND=" |
58 |
+ test? ( |
59 |
+ dev-python/cryptography[${PYTHON_USEDEP}] |
60 |
+ dev-python/flask[${PYTHON_USEDEP}] |
61 |
+ dev-python/freezegun[${PYTHON_USEDEP}] |
62 |
+ dev-python/grpcio[${PYTHON_USEDEP}] |
63 |
+ dev-python/mock[${PYTHON_USEDEP}] |
64 |
+ dev-python/moto[${PYTHON_USEDEP}] |
65 |
+ dev-python/pyopenssl[${PYTHON_USEDEP}] |
66 |
+ dev-python/pytest-localserver[${PYTHON_USEDEP}] |
67 |
+ dev-python/pyu2f[${PYTHON_USEDEP}] |
68 |
+ dev-python/requests[${PYTHON_USEDEP}] |
69 |
+ dev-python/responses[${PYTHON_USEDEP}] |
70 |
+ dev-python/urllib3[${PYTHON_USEDEP}] |
71 |
+ )" |
72 |
+ |
73 |
+distutils_enable_tests pytest |
74 |
+ |
75 |
+EPYTEST_IGNORE=( |
76 |
+ # these are compatibility tests with oauth2client |
77 |
+ # disable them to unblock removal of that package |
78 |
+ tests/test__oauth2client.py |
79 |
+) |
80 |
+ |
81 |
+python_install_all() { |
82 |
+ distutils-r1_python_install_all |
83 |
+ find "${ED}" -name '*.pth' -delete || die |
84 |
+} |