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: Fri, 08 Apr 2022 08:56:53
Message-Id: 1649408196.d640db12c6caffb56fa9d627f2b06cbebb4d54a3.mgorny@gentoo
1 commit: d640db12c6caffb56fa9d627f2b06cbebb4d54a3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 8 07:55:44 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 8 08:56:36 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d640db12
7
8 dev-python/google-auth: Bump to 2.6.3
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.3.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 9464b000e9b3..3e3c29564f14 100644
18 --- a/dev-python/google-auth/Manifest
19 +++ b/dev-python/google-auth/Manifest
20 @@ -3,3 +3,4 @@ DIST google-auth-2.4.0.tar.gz 188032 BLAKE2B 27cd5a9fec2a0f98e26e4c5cfada446f956
21 DIST google-auth-2.5.0.tar.gz 189396 BLAKE2B 85b6cccf46acaa15ebc58b0cc4ea906c405e8f5e1f9d5c67c1790105689bba47e9f57355751a31a051ec6f20f828e2e2d0d9e792afc5d877791deab8a3e18503 SHA512 7323f253789364d14c1c1adf148cbfff2abceec06c539e93c8f5ae4a5ee978838480f9923e3d62988d903a239434257f980ec1095a8cedc678e263d0adff6cce
22 DIST google-auth-2.6.0.tar.gz 188477 BLAKE2B 19baf9ec41e2b8667b8800687f4920d0e53df6cbfd17830e352f808b1438b21d952a4480f3b0fbc8e83dd215c0cd49b393f4798952eea1eb808b5417d578af85 SHA512 160fae0afcebd62dc0d46bf5e1102be34c6084cf188941105facd00b4a9b2bf6b36b58623e84595111849af0cb16b4f4a09b1e13ce095be025831fa4e7241b4c
23 DIST google-auth-2.6.2.tar.gz 189490 BLAKE2B 5506b4d316a40274cd8ce0cea8c6a76b882e14f4f7e28f5a50e67c8828353d3078f713f874e36ba4c81537228325cf19c7ea1c3040b04d4b6338e456a8622024 SHA512 196bcec8f90ddc7ba95f03576f496aab38526c2305d729db806f07c0b44e578c6bfcb3a79224f4edaacb8760a3c7bb17a0af90cb2986aff3fdc5f767328fb247
24 +DIST google-auth-2.6.3.tar.gz 189685 BLAKE2B 68718ce4031c4e764dcfec19361b034ed5e1efa602d5c734b61a853020f40aaa856f9d9a3b964470e148fbfcb081dbc7d2c8bf0a53fc843d9360dbc72623bcdf SHA512 cba3228dbc0887c127d50cc45eb134e3a0b2bea044b8a1e65807918a3808e550fd58217a236c07b6cb908e5a080d9c1c1a2e9ee1853968d8c0bd50b7228ea262
25
26 diff --git a/dev-python/google-auth/google-auth-2.6.3.ebuild b/dev-python/google-auth/google-auth-2.6.3.ebuild
27 new file mode 100644
28 index 000000000000..ae67ca59c308
29 --- /dev/null
30 +++ b/dev-python/google-auth/google-auth-2.6.3.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/namespace-google[${PYTHON_USEDEP}]
56 + >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}]
57 + >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}]
58 + >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}]
59 + dev-python/six[${PYTHON_USEDEP}]
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_install_all() {
87 + distutils-r1_python_install_all
88 + find "${ED}" -name '*.pth' -delete || die
89 +}