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, 27 Oct 2021 08:29:24
Message-Id: 1635323352.2c7fa120eeadfc056d0ae12c722db16acb28646e.mgorny@gentoo
1 commit: 2c7fa120eeadfc056d0ae12c722db16acb28646e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 27 07:08:50 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 27 08:29:12 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c7fa120
7
8 dev-python/google-auth: Bump to 2.3.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.3.2.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 66decc0e8bd..7f68676a040 100644
18 --- a/dev-python/google-auth/Manifest
19 +++ b/dev-python/google-auth/Manifest
20 @@ -2,3 +2,4 @@ DIST google-auth-2.1.0.tar.gz 181817 BLAKE2B 806f3541163bd2f66a533730eb0064b4697
21 DIST google-auth-2.2.0.tar.gz 183667 BLAKE2B ac71dfe657126f96fd78f4fde110630dd5e1fc2864579a199309725795ba337fa7a2771cccbaba9d12fd35639ef67a78cb71bfd2e1a8e963cfc62507b2513ec3 SHA512 00a2a28f5237bba58a578726ac6d3290eec37486343a0f2c1c1764c14db137cd68db776890cd2556516579b54ddbb7516c08782959f87867a1e30756821e489c
22 DIST google-auth-2.2.1.tar.gz 183909 BLAKE2B 4c18f332f068573567af5100828b3902db17e46c47087569386ad3b012e45ecb841709376fae7f14920e3dfdb0124b9fd002b670b565b9c641dc9ff4ef5cc507 SHA512 245e6b8d27ff49e47093dc2f50e97a57031c93090900b5578a91ab335560b7fec1aced1faf822826263a00dfaf282eb147a4e389c13546f2e34d09f1ef1ca285
23 DIST google-auth-2.3.0.tar.gz 184993 BLAKE2B ac1392ca61e092e3e53c9e936e2d0bd11aeb8f33cace2458e80055734a96a05294335a9273acfcc3f385f423ed537d544404e41599cb6a75b21a10998fd72562 SHA512 cf0040d238880ea4bbad64f0a47311f2ed3922a7301a0d5287319b39ea8e76dca66dc78fd860cc12386b078bd2147a1cba01de97381420ef94cc44fca0c90ad1
24 +DIST google-auth-2.3.2.tar.gz 186112 BLAKE2B df2321252984ea43def8ec703590d153ecbd144f385a4915ce8f52e4cb71d66e31929f95a1ac783c4c4436a454b81a71d13517d38454892203c8ef19dbd80822 SHA512 1a7c828ecf529e8e64f946a5ee1923bed1544d4828b00449d027b0898af47e99b90be1a490b60e19a133fb59397f8860265306cd3dbaa8600bef823da1e4a215
25
26 diff --git a/dev-python/google-auth/google-auth-2.3.2.ebuild b/dev-python/google-auth/google-auth-2.3.2.ebuild
27 new file mode 100644
28 index 00000000000..01d1b603755
29 --- /dev/null
30 +++ b/dev-python/google-auth/google-auth-2.3.2.ebuild
31 @@ -0,0 +1,56 @@
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 + 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 +}