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, 01 Nov 2021 22:16:49
Message-Id: 1635804993.4cc20a95156b6d705a887f3cfc8cdeac33a0cfad.mgorny@gentoo
1 commit: 4cc20a95156b6d705a887f3cfc8cdeac33a0cfad
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 1 21:41:32 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 1 22:16:33 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cc20a95
7
8 dev-python/google-auth: Bump to 2.3.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.3.3.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 f773376add5..eb4b21baea3 100644
18 --- a/dev-python/google-auth/Manifest
19 +++ b/dev-python/google-auth/Manifest
20 @@ -1,2 +1,3 @@
21 DIST google-auth-2.3.0.tar.gz 184993 BLAKE2B ac1392ca61e092e3e53c9e936e2d0bd11aeb8f33cace2458e80055734a96a05294335a9273acfcc3f385f423ed537d544404e41599cb6a75b21a10998fd72562 SHA512 cf0040d238880ea4bbad64f0a47311f2ed3922a7301a0d5287319b39ea8e76dca66dc78fd860cc12386b078bd2147a1cba01de97381420ef94cc44fca0c90ad1
22 DIST google-auth-2.3.2.tar.gz 186112 BLAKE2B df2321252984ea43def8ec703590d153ecbd144f385a4915ce8f52e4cb71d66e31929f95a1ac783c4c4436a454b81a71d13517d38454892203c8ef19dbd80822 SHA512 1a7c828ecf529e8e64f946a5ee1923bed1544d4828b00449d027b0898af47e99b90be1a490b60e19a133fb59397f8860265306cd3dbaa8600bef823da1e4a215
23 +DIST google-auth-2.3.3.tar.gz 186600 BLAKE2B 52b1269b88d27fafafcb053219c93c7f180cac11cdf32b140531553dda547d02087b0418d44edc6497eb37793859d86d4beaad1a7a128c86839202785584c9ab SHA512 3ab6d97e71988ef5e338e0a643545f8fa504f5ea04f4176afd9417ecf0e9a3fa45333f0c2c7ea5bf32423df32c48ec59ac9d16ef8bfc35a1aa4c0fcc114fef63
24
25 diff --git a/dev-python/google-auth/google-auth-2.3.3.ebuild b/dev-python/google-auth/google-auth-2.3.3.ebuild
26 new file mode 100644
27 index 00000000000..01d1b603755
28 --- /dev/null
29 +++ b/dev-python/google-auth/google-auth-2.3.3.ebuild
30 @@ -0,0 +1,56 @@
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 + dev-python/six[${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/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 +EPYTEST_IGNORE=(
78 + # these are compatibility tests with oauth2client
79 + # disable them to unblock removal of that package
80 + tests/test__oauth2client.py
81 +)
82 +
83 +python_install_all() {
84 + distutils-r1_python_install_all
85 + find "${ED}" -name '*.pth' -delete || die
86 +}