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: Wed, 29 Jun 2022 06:19:33
Message-Id: 1656483561.b44e9d67e8b52becc13616eec1d88d24ea88e9db.mgorny@gentoo
1 commit: b44e9d67e8b52becc13616eec1d88d24ea88e9db
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 29 05:26:11 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 29 06:19:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b44e9d67
7
8 dev-python/google-auth: Bump to 2.9.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.9.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 6ce08cee0402..49e1708e824d 100644
18 --- a/dev-python/google-auth/Manifest
19 +++ b/dev-python/google-auth/Manifest
20 @@ -1,3 +1,4 @@
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 DIST google-auth-2.8.0.tar.gz 199717 BLAKE2B 9814b2967336622ef043721a21a4d4334ed59cd743e75a41e67fdb87aec00094a30d89c49b73144bfb9b2e8e88e4bb7141081df7ea1abf317aa9f516c9657e9f SHA512 01096dfdf4ff59b95e32f8734771046ac11e12cadb72f2f4b9274c15c097aa951da3675660009ff23455c7814c4d7797e22b4b294c5d62c2dea5dd655855aec4
24 +DIST google-auth-2.9.0.tar.gz 205241 BLAKE2B 3e33b3c404d0fbd8b4c0b02c6187103c5715dad0f8850b895c91cecca81c2b2adce1b6426eccb8fa5c94948b53978b8530c54c59749e54af5b9513ce23497f6a SHA512 2bcdf7c80d588f8229808e35426cf07ff1e14e778deb315ed375cb2c17a7efcec848c3cd2aa1ab8cd9c8550cd1e79eba9345c84d44f513844dfe1928e42a189d
25
26 diff --git a/dev-python/google-auth/google-auth-2.9.0.ebuild b/dev-python/google-auth/google-auth-2.9.0.ebuild
27 new file mode 100644
28 index 000000000000..de5188c8fdb8
29 --- /dev/null
30 +++ b/dev-python/google-auth/google-auth-2.9.0.ebuild
31 @@ -0,0 +1,58 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=setuptools
38 +PYTHON_COMPAT=( python3_{8..10} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Google Authentication Library"
43 +HOMEPAGE="
44 + https://github.com/googleapis/google-auth-library-python/
45 + https://pypi.org/project/google-auth/
46 +"
47 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
48 +
49 +LICENSE="Apache-2.0"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
52 +
53 +RDEPEND="
54 + <dev-python/cachetools-6.0.0[${PYTHON_USEDEP}]
55 + >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}]
56 + >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}]
57 + >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}]
58 + dev-python/six[${PYTHON_USEDEP}]
59 + !dev-python/namespace-google
60 +"
61 +BDEPEND="
62 + test? (
63 + dev-python/cryptography[${PYTHON_USEDEP}]
64 + dev-python/flask[${PYTHON_USEDEP}]
65 + dev-python/freezegun[${PYTHON_USEDEP}]
66 + dev-python/grpcio[${PYTHON_USEDEP}]
67 + dev-python/mock[${PYTHON_USEDEP}]
68 + dev-python/moto[${PYTHON_USEDEP}]
69 + dev-python/pyopenssl[${PYTHON_USEDEP}]
70 + dev-python/pytest-localserver[${PYTHON_USEDEP}]
71 + dev-python/pyu2f[${PYTHON_USEDEP}]
72 + dev-python/requests[${PYTHON_USEDEP}]
73 + dev-python/responses[${PYTHON_USEDEP}]
74 + dev-python/urllib3[${PYTHON_USEDEP}]
75 + )
76 +"
77 +
78 +distutils_enable_tests pytest
79 +
80 +EPYTEST_IGNORE=(
81 + # these are compatibility tests with oauth2client
82 + # disable them to unblock removal of that package
83 + tests/test__oauth2client.py
84 +)
85 +
86 +python_compile() {
87 + distutils-r1_python_compile
88 + find "${BUILD_DIR}" -name '*.pth' -delete || die
89 +}