Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/google-auth/
Date: Sat, 06 Aug 2022 13:09:36
Message-Id: 1659791364.9a2e801307b405353294f84179b2e1895c0b8227.arthurzam@gentoo
1 commit: 9a2e801307b405353294f84179b2e1895c0b8227
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 6 12:39:10 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 6 13:09:24 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a2e8013
7
8 dev-python/google-auth: add 2.10.0
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/google-auth/Manifest | 1 +
13 dev-python/google-auth/google-auth-2.10.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 e73540a9da8c..5ff5e539b228 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.10.0.tar.gz 205591 BLAKE2B e5b6ea1a65afc42318dc26ed5fa18de19232ca85e6da5be47c45b41861595f763b42bfdd92aaa63d20bbbf76fc1447dbeb7d88424ae5f82ce23ea9f875d04700 SHA512 91cf5391606b896691a9ae1489391bb0545c461172439c3011fc56c575f4a67341eb25a41faec437cb82fc0a2835adc95006327e3460591137238721a6eddd50
22 DIST google-auth-2.9.0.tar.gz 205241 BLAKE2B 3e33b3c404d0fbd8b4c0b02c6187103c5715dad0f8850b895c91cecca81c2b2adce1b6426eccb8fa5c94948b53978b8530c54c59749e54af5b9513ce23497f6a SHA512 2bcdf7c80d588f8229808e35426cf07ff1e14e778deb315ed375cb2c17a7efcec848c3cd2aa1ab8cd9c8550cd1e79eba9345c84d44f513844dfe1928e42a189d
23 DIST google-auth-2.9.1.tar.gz 205219 BLAKE2B dd4d3c690a4ced2d4757167497689283b7fd8e9891948f0f14565fffe0d0c9eb62c4356a5715d10d02fefd1183bda5dfe3b1e7a7caa42c8d85c39c5875fd9730 SHA512 37830c708613f3a41c90658f220c2cd7ca45824c7e4741fa3b1754e635f6e0773daff05f770ad0836caefe082d6b517b5bd5b2a789cdbe03de9fdbca9a972f7f
24
25 diff --git a/dev-python/google-auth/google-auth-2.10.0.ebuild b/dev-python/google-auth/google-auth-2.10.0.ebuild
26 new file mode 100644
27 index 000000000000..de5188c8fdb8
28 --- /dev/null
29 +++ b/dev-python/google-auth/google-auth-2.10.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 +}