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: Mon, 31 Jan 2022 23:47:05
Message-Id: 1643672812.4c94a10f71059f01fe8ebf5c12d5780a7a0eab1a.mgorny@gentoo
1 commit: 4c94a10f71059f01fe8ebf5c12d5780a7a0eab1a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 31 22:33:21 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 31 23:46:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c94a10f
7
8 dev-python/google-auth: Bump to 2.6.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.6.0.ebuild | 56 +++++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest
17 index 2099353297c8..5b159d372f29 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.3.3.tar.gz 186600 BLAKE2B 52b1269b88d27fafafcb053219c93c7f180cac11cdf32b140531553dda547d02087b0418d44edc6497eb37793859d86d4beaad1a7a128c86839202785584c9ab SHA512 3ab6d97e71988ef5e338e0a643545f8fa504f5ea04f4176afd9417ecf0e9a3fa45333f0c2c7ea5bf32423df32c48ec59ac9d16ef8bfc35a1aa4c0fcc114fef63
22 DIST google-auth-2.4.0.tar.gz 188032 BLAKE2B 27cd5a9fec2a0f98e26e4c5cfada446f9561834d8471a91bcab54b2965231ecf9d40d8d6d4240355adf0da5ffc9533ce745940a9d9eaca3fd97ed8c759e55939 SHA512 bb107b4dcf556e98f2a994d9baf10492d249b679d92c26bd96c79764d886bfb001940ac168ff0932456af15e4f2de38edc62d7c9beecadafad5e6350b13e0d95
23 DIST google-auth-2.5.0.tar.gz 189396 BLAKE2B 85b6cccf46acaa15ebc58b0cc4ea906c405e8f5e1f9d5c67c1790105689bba47e9f57355751a31a051ec6f20f828e2e2d0d9e792afc5d877791deab8a3e18503 SHA512 7323f253789364d14c1c1adf148cbfff2abceec06c539e93c8f5ae4a5ee978838480f9923e3d62988d903a239434257f980ec1095a8cedc678e263d0adff6cce
24 +DIST google-auth-2.6.0.tar.gz 188477 BLAKE2B 19baf9ec41e2b8667b8800687f4920d0e53df6cbfd17830e352f808b1438b21d952a4480f3b0fbc8e83dd215c0cd49b393f4798952eea1eb808b5417d578af85 SHA512 160fae0afcebd62dc0d46bf5e1102be34c6084cf188941105facd00b4a9b2bf6b36b58623e84595111849af0cb16b4f4a09b1e13ce095be025831fa4e7241b4c
25
26 diff --git a/dev-python/google-auth/google-auth-2.6.0.ebuild b/dev-python/google-auth/google-auth-2.6.0.ebuild
27 new file mode 100644
28 index 000000000000..cf76f1ed6945
29 --- /dev/null
30 +++ b/dev-python/google-auth/google-auth-2.6.0.ebuild
31 @@ -0,0 +1,56 @@
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..9} )
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 +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/namespace-google[${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 + "
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 +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_install_all() {
85 + distutils-r1_python_install_all
86 + find "${ED}" -name '*.pth' -delete || die
87 +}