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: Thu, 22 Sep 2022 07:40:59
Message-Id: 1663832446.d1ae9d0b8f3575c85d4e9d8474570381d9f8a5a3.mgorny@gentoo
1 commit: d1ae9d0b8f3575c85d4e9d8474570381d9f8a5a3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 22 06:41:31 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 22 07:40:46 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1ae9d0b
7
8 dev-python/google-auth: Bump to 2.11.1
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.11.1.ebuild | 58 ++++++++++++++++++++++++
14 2 files changed, 59 insertions(+)
15
16 diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest
17 index 9e61492a6b08..2c84cc04a336 100644
18 --- a/dev-python/google-auth/Manifest
19 +++ b/dev-python/google-auth/Manifest
20 @@ -1 +1,2 @@
21 DIST google-auth-2.11.0.tar.gz 205568 BLAKE2B 76f43804c117006141e46291eaa35b49e73f4eec81307b7c3c6fdf82faf1a1f3101ef1a652c5dff05ca6686ded0859c6a3bee8d38cd584fd5cacef9598aae9b1 SHA512 0b2c8653184d95b1f0981326721a8604bee6737e2e4fb68c12d695c74e03406e6d189b00740c34ee74d6ae4032581bd099018f8eaf1d65759e4c5fa4127305cf
22 +DIST google-auth-2.11.1.tar.gz 205716 BLAKE2B 06cf90b915c82bb53795427fc971c6a979baa34d3e32d43db20c0df86df9ef39d0ee80c4026dd502ff1d5233f1d80b0a4fa9750aafe9f0d427013a2d8ad34054 SHA512 f89fc2ec2d130156132f7e7290f4237ee9adf832f6b1914a39ea7d56943bb26fa02e940e826eb9c4e5351aa91ebf03cc5969c25e5020a89a09ea8f92535a0c07
23
24 diff --git a/dev-python/google-auth/google-auth-2.11.1.ebuild b/dev-python/google-auth/google-auth-2.11.1.ebuild
25 new file mode 100644
26 index 000000000000..de5188c8fdb8
27 --- /dev/null
28 +++ b/dev-python/google-auth/google-auth-2.11.1.ebuild
29 @@ -0,0 +1,58 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Google Authentication Library"
41 +HOMEPAGE="
42 + https://github.com/googleapis/google-auth-library-python/
43 + https://pypi.org/project/google-auth/
44 +"
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-6.0.0[${PYTHON_USEDEP}]
53 + >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}]
54 + >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}]
55 + >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}]
56 + dev-python/six[${PYTHON_USEDEP}]
57 + !dev-python/namespace-google
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 +
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_compile() {
85 + distutils-r1_python_compile
86 + find "${BUILD_DIR}" -name '*.pth' -delete || die
87 +}