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, 14 Sep 2021 21:35:32
Message-Id: 1631655314.5b9a5c142a9dcf2e0493e0a8698ad25b703c2e62.mgorny@gentoo
1 commit: 5b9a5c142a9dcf2e0493e0a8698ad25b703c2e62
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 14 19:57:32 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 14 21:35:14 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b9a5c14
7
8 dev-python/google-auth: Bump to 2.1.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.1.0.ebuild | 50 +++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest
17 index d522985c437..699b48a724a 100644
18 --- a/dev-python/google-auth/Manifest
19 +++ b/dev-python/google-auth/Manifest
20 @@ -1,3 +1,4 @@
21 DIST google-auth-1.34.0.tar.gz 180860 BLAKE2B d536d689ff5b0c033f787228d643504d1888f0b73a9c6855fe4fae3af20772ef0640feca39c58c39f45681561dce6d5f3ec1d1f7d9699442fff0ec63fd019361 SHA512 7c3b64e8f85056fb660bbfd4f737053813a1e5b8aba52290882a0ddb9d9fd8c5365b767c78dd1e7859ef95caa6e653786d5a8747c8792bbee9c6fad1a5218910
22 DIST google-auth-2.0.1.tar.gz 180467 BLAKE2B a7490931ea8cdec0978103d9bb4da11bebff1e623d847db5fb30a0a7ef1827902b4d5683835631b645e61d4282614e3efc798bedc13a581ba35d51838a64ff96 SHA512 a68f78a7d67beb4d3d00333f6953decd92e1d346aee6491c401ee091d2fb4bbac47b9ecc46f7063119724a49f15ea13c096994e5266d30975500194b9c4a9df0
23 DIST google-auth-2.0.2.tar.gz 180445 BLAKE2B d4e9e7dcfd690f5eedf301e989c4a2dedf509e7c3068e4f547ea43f870979a6001d21849a7102321f6f843196f0a4e0a14f888bd3b43701c301aea3a7f94ed60 SHA512 b8cec2fec4105715edad3242f20ac26b7ab2591903785ed5c31c1af19f7a23e14e93e0d4c3644dca76db5ec0353b8a1baba0224d67987067c5580c75592a04e8
24 +DIST google-auth-2.1.0.tar.gz 181817 BLAKE2B 806f3541163bd2f66a533730eb0064b4697716ab58595dc678fdef106dd49dd328378710650e77efc962547834808124eda934b69cc4ef18931624822710d90f SHA512 1460ad02c6ac549245433567583f76eea680ea941b2917887f7fda3f2f6d04c5b16e536368a2f2c0016acd2bacf894d1eafa9b26f148f66b212590eb0388d181
25
26 diff --git a/dev-python/google-auth/google-auth-2.1.0.ebuild b/dev-python/google-auth/google-auth-2.1.0.ebuild
27 new file mode 100644
28 index 00000000000..cd44f928efd
29 --- /dev/null
30 +++ b/dev-python/google-auth/google-auth-2.1.0.ebuild
31 @@ -0,0 +1,50 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..9} )
38 +DISTUTILS_USE_SETUPTOOLS=rdepend
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-2.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 + "
59 +BDEPEND="
60 + test? (
61 + dev-python/cryptography[${PYTHON_USEDEP}]
62 + dev-python/flask[${PYTHON_USEDEP}]
63 + dev-python/freezegun[${PYTHON_USEDEP}]
64 + dev-python/grpcio[${PYTHON_USEDEP}]
65 + dev-python/mock[${PYTHON_USEDEP}]
66 + dev-python/moto[${PYTHON_USEDEP}]
67 + dev-python/oauth2client[${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 +python_install_all() {
79 + distutils-r1_python_install_all
80 + find "${ED}" -name '*.pth' -delete || die
81 +}