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, 27 Sep 2021 22:16:17
Message-Id: 1632780960.a2854145ac4ca08b4cc740e7f9ecb1d78423bfa0.mgorny@gentoo
1 commit: a2854145ac4ca08b4cc740e7f9ecb1d78423bfa0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 27 21:26:43 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 27 22:16:00 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2854145
7
8 dev-python/google-auth: Bump to 2.2.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.2.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 e6dabd720f0..c86e50b482b 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.0.2.tar.gz 180445 BLAKE2B d4e9e7dcfd690f5eedf301e989c4a2dedf509e7c3068e4f547ea43f870979a6001d21849a7102321f6f843196f0a4e0a14f888bd3b43701c301aea3a7f94ed60 SHA512 b8cec2fec4105715edad3242f20ac26b7ab2591903785ed5c31c1af19f7a23e14e93e0d4c3644dca76db5ec0353b8a1baba0224d67987067c5580c75592a04e8
22 DIST google-auth-2.1.0.tar.gz 181817 BLAKE2B 806f3541163bd2f66a533730eb0064b4697716ab58595dc678fdef106dd49dd328378710650e77efc962547834808124eda934b69cc4ef18931624822710d90f SHA512 1460ad02c6ac549245433567583f76eea680ea941b2917887f7fda3f2f6d04c5b16e536368a2f2c0016acd2bacf894d1eafa9b26f148f66b212590eb0388d181
23 +DIST google-auth-2.2.0.tar.gz 183667 BLAKE2B ac71dfe657126f96fd78f4fde110630dd5e1fc2864579a199309725795ba337fa7a2771cccbaba9d12fd35639ef67a78cb71bfd2e1a8e963cfc62507b2513ec3 SHA512 00a2a28f5237bba58a578726ac6d3290eec37486343a0f2c1c1764c14db137cd68db776890cd2556516579b54ddbb7516c08782959f87867a1e30756821e489c
24
25 diff --git a/dev-python/google-auth/google-auth-2.2.0.ebuild b/dev-python/google-auth/google-auth-2.2.0.ebuild
26 new file mode 100644
27 index 00000000000..cd44f928efd
28 --- /dev/null
29 +++ b/dev-python/google-auth/google-auth-2.2.0.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 +}