Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/google-auth/
Date: Tue, 01 Nov 2022 05:19:25
Message-Id: 1667279951.4e206b54583b4e7fd7e7bc5dd9d77592f46c4b0c.mgorny@gentoo
1 commit: 4e206b54583b4e7fd7e7bc5dd9d77592f46c4b0c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 1 03:51:08 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 1 05:19:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e206b54
7
8 dev-python/google-auth: Bump to 2.14.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.14.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 4d1eb4bb37d6..10b9832e8f1e 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.12.0.tar.gz 209325 BLAKE2B a6f754262dd7b75796dd63f4b7a2161ba959a3103c51cacb3d5f4ba3d17efdd36e1836ce360fa108b5dbce710743bfacf3b8b054de0e235590ba15eae8f3cdf3 SHA512 59209299631b7ea7d11e6787c33a304bbed5bca2173148d8c69595fc573f8915f6e3b601ed96686568f517cbbea71e18be228874334733629fbdd030976821cb
22 DIST google-auth-2.13.0.tar.gz 216209 BLAKE2B 4e88062d89ca9976e0d87a93012c8ca318f9068452fde365970aab1d6ab4985aad378a038e36e0a82aca4665a196c412287a84b58c831edc9483d02fa4ed2489 SHA512 253dd17466850b20212c8cbbeb29c35dbffb2f3205867c7fdf74e400e4f2f9bf3c9ca6ffc814e5c3e9c7cc918a6cc60e696bc98c5d969761101dee4109b7018e
23 +DIST google-auth-2.14.0.tar.gz 219265 BLAKE2B 93ba6f54e28cc8846aecc9226de07ec66762b8f757b40b5796050209a02ff758475fddd2bf82d4374804058c99b80590e5f4a390642a3ad6ca2e9348d1a6b3a1 SHA512 ae85da8335bd00dcce9e7854fa92a114f81c61687a20274058d482dc3d6bb2396d5de6c2865ad64f5c892ed9a9abf8b9f39456c1fd1760a67298ecfaf40c8163
24
25 diff --git a/dev-python/google-auth/google-auth-2.14.0.ebuild b/dev-python/google-auth/google-auth-2.14.0.ebuild
26 new file mode 100644
27 index 000000000000..de5188c8fdb8
28 --- /dev/null
29 +++ b/dev-python/google-auth/google-auth-2.14.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 +}