1 |
commit: 363c1a803a61cbe43cd8c1d2baed0d497af66289 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 8 04:24:58 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 8 05:34:45 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=363c1a80 |
7 |
|
8 |
dev-python/google-auth: Bump to 2.7.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.7.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 164ecf6ab578..54091bdbb377 100644 |
18 |
--- a/dev-python/google-auth/Manifest |
19 |
+++ b/dev-python/google-auth/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST google-auth-2.6.6.tar.gz 189789 BLAKE2B 8adf725ac8678a07c6c35f641950c5da0f269e8556074b5832a08267cbb64237dda817c576b15fbb315fd0a018e30bca1fa1f5a0d1f85aaae4ab2bd58538b191 SHA512 bac6345bf142a8dc6acde0bec43a8fd78f76277740114a0557af88748a5ec2f509757e6099f570ed037b2265717f339fe319254a826793d0b16f1a7d227a6b09 |
22 |
+DIST google-auth-2.7.0.tar.gz 195638 BLAKE2B 487047f75c3fabde929a451d009ebfcb89ef816cad07cd6fda7b436c69f6eedee6dad64780df743ea133b66aab72f75f0185263fd542eb1475d642d7a6e2e2b9 SHA512 ba506619b1392dcd85b71f9ea68dd3acadcb93c4017030d2d812d383c971e6917ed074e64b9a554db9879d61b229a1d35a041c487a517113652934a6849122e5 |
23 |
|
24 |
diff --git a/dev-python/google-auth/google-auth-2.7.0.ebuild b/dev-python/google-auth/google-auth-2.7.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..de5188c8fdb8 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/google-auth/google-auth-2.7.0.ebuild |
29 |
@@ -0,0 +1,58 @@ |
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..10} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Google Authentication Library" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/googleapis/google-auth-library-python/ |
43 |
+ https://pypi.org/project/google-auth/ |
44 |
+" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ <dev-python/cachetools-6.0.0[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] |
56 |
+ dev-python/six[${PYTHON_USEDEP}] |
57 |
+ !dev-python/namespace-google |
58 |
+" |
59 |
+BDEPEND=" |
60 |
+ test? ( |
61 |
+ dev-python/cryptography[${PYTHON_USEDEP}] |
62 |
+ dev-python/flask[${PYTHON_USEDEP}] |
63 |
+ dev-python/freezegun[${PYTHON_USEDEP}] |
64 |
+ dev-python/grpcio[${PYTHON_USEDEP}] |
65 |
+ dev-python/mock[${PYTHON_USEDEP}] |
66 |
+ dev-python/moto[${PYTHON_USEDEP}] |
67 |
+ dev-python/pyopenssl[${PYTHON_USEDEP}] |
68 |
+ dev-python/pytest-localserver[${PYTHON_USEDEP}] |
69 |
+ dev-python/pyu2f[${PYTHON_USEDEP}] |
70 |
+ dev-python/requests[${PYTHON_USEDEP}] |
71 |
+ dev-python/responses[${PYTHON_USEDEP}] |
72 |
+ dev-python/urllib3[${PYTHON_USEDEP}] |
73 |
+ ) |
74 |
+" |
75 |
+ |
76 |
+distutils_enable_tests pytest |
77 |
+ |
78 |
+EPYTEST_IGNORE=( |
79 |
+ # these are compatibility tests with oauth2client |
80 |
+ # disable them to unblock removal of that package |
81 |
+ tests/test__oauth2client.py |
82 |
+) |
83 |
+ |
84 |
+python_compile() { |
85 |
+ distutils-r1_python_compile |
86 |
+ find "${BUILD_DIR}" -name '*.pth' -delete || die |
87 |
+} |