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, 01 Sep 2021 04:55:33
Message-Id: 1630472123.58341679929a3fcce8696b852b1cf2b391f83cea.mgorny@gentoo
1 commit: 58341679929a3fcce8696b852b1cf2b391f83cea
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 1 04:44:14 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 1 04:55:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58341679
7
8 dev-python/google-auth: Bump to 2.0.2
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.0.2.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 cceeac4bb5d..d522985c437 100644
18 --- a/dev-python/google-auth/Manifest
19 +++ b/dev-python/google-auth/Manifest
20 @@ -1,2 +1,3 @@
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
25 diff --git a/dev-python/google-auth/google-auth-2.0.2.ebuild b/dev-python/google-auth/google-auth-2.0.2.ebuild
26 new file mode 100644
27 index 00000000000..cd44f928efd
28 --- /dev/null
29 +++ b/dev-python/google-auth/google-auth-2.0.2.ebuild
30 @@ -0,0 +1,50 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..9} )
37 +DISTUTILS_USE_SETUPTOOLS=rdepend
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 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 +
47 +LICENSE="Apache-2.0"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
50 +
51 +RDEPEND="
52 + >=dev-python/cachetools-2.0.0[${PYTHON_USEDEP}]
53 + dev-python/namespace-google[${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 + "
58 +BDEPEND="
59 + test? (
60 + dev-python/cryptography[${PYTHON_USEDEP}]
61 + dev-python/flask[${PYTHON_USEDEP}]
62 + dev-python/freezegun[${PYTHON_USEDEP}]
63 + dev-python/grpcio[${PYTHON_USEDEP}]
64 + dev-python/mock[${PYTHON_USEDEP}]
65 + dev-python/moto[${PYTHON_USEDEP}]
66 + dev-python/oauth2client[${PYTHON_USEDEP}]
67 + dev-python/pyopenssl[${PYTHON_USEDEP}]
68 + dev-python/pytest-localserver[${PYTHON_USEDEP}]
69 + dev-python/pyu2f[${PYTHON_USEDEP}]
70 + dev-python/requests[${PYTHON_USEDEP}]
71 + dev-python/responses[${PYTHON_USEDEP}]
72 + dev-python/urllib3[${PYTHON_USEDEP}]
73 + )"
74 +
75 +distutils_enable_tests pytest
76 +
77 +python_install_all() {
78 + distutils-r1_python_install_all
79 + find "${ED}" -name '*.pth' -delete || die
80 +}