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/keystoneauth/
Date: Fri, 17 Sep 2021 22:22:58
Message-Id: 1631916283.90f3d0c3705fc0dec6a1c6d4b0b40cd0f6718080.mgorny@gentoo
1 commit: 90f3d0c3705fc0dec6a1c6d4b0b40cd0f6718080
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 17 22:04:43 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 17 22:04:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90f3d0c3
7
8 dev-python/keystoneauth: Bump to 4.4.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/keystoneauth/Manifest | 1 +
13 dev-python/keystoneauth/keystoneauth-4.4.0.ebuild | 54 +++++++++++++++++++++++
14 2 files changed, 55 insertions(+)
15
16 diff --git a/dev-python/keystoneauth/Manifest b/dev-python/keystoneauth/Manifest
17 index d5650595b55..bc44361be75 100644
18 --- a/dev-python/keystoneauth/Manifest
19 +++ b/dev-python/keystoneauth/Manifest
20 @@ -1 +1,2 @@
21 DIST keystoneauth1-4.2.1.tar.gz 258328 BLAKE2B 62f8b065a77d4150c9491f4352a3a2d37d42cc54df8db6a1eabdbe93f18714838ebed2dec0d6188e91f2dc3708b0c3cfbcf17a96411df05dd96c409a1b6c8beb SHA512 cb137d259dba7cab31fa39293d40d6654c6b36157f088948995d55755fb4dc8c29df1f978a58fbc0881516f11db840f0a25c7621bb092ab95d901dde6bd210ca
22 +DIST keystoneauth1-4.4.0.tar.gz 266308 BLAKE2B 471b6662c27b5cc36dfde76e17f6855d5e840280a05c5c23bbda97b2e75b8fbc44e815994de514a475424476ed4d627930f993ed5fc7109fa3a2a99acf42dde2 SHA512 208b02c8df8a5cbdad1ca66c665d547b375eac2fa0d3aeb6dea3f9ed7ba0e799568e4407b8771df5a362d4275fb6a9b2fe2e3a9287b3817da43463356bc593a3
23
24 diff --git a/dev-python/keystoneauth/keystoneauth-4.4.0.ebuild b/dev-python/keystoneauth/keystoneauth-4.4.0.ebuild
25 new file mode 100644
26 index 00000000000..5746cf0d398
27 --- /dev/null
28 +++ b/dev-python/keystoneauth/keystoneauth-4.4.0.ebuild
29 @@ -0,0 +1,54 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..9} )
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="This package contains tools for authenticating to an OpenStack-based cloud."
39 +HOMEPAGE="https://github.com/openstack/keystoneauth"
40 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}1/${PN}1-${PV}.tar.gz"
41 +S="${WORKDIR}/${PN}1-${PV}"
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
46 +
47 +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
48 + !~dev-python/pbr-2.1.0"
49 +RDEPEND="${CDEPEND}
50 + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
51 + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
52 + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
53 + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
54 + >=dev-python/os-service-types-1.2.0[${PYTHON_USEDEP}]"
55 +BDEPEND="${CDEPEND}
56 + test? (
57 + >=dev-python/betamax-0.7.0[${PYTHON_USEDEP}]
58 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
59 + dev-python/hacking[${PYTHON_USEDEP}]
60 + >=dev-python/lxml-4.2.0[${PYTHON_USEDEP}]
61 + >=dev-python/oauthlib-0.6.2[${PYTHON_USEDEP}]
62 + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
63 + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
64 + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
65 + >=dev-python/pyyaml-3.12[${PYTHON_USEDEP}]
66 + >=dev-python/requests-kerberos-0.8.0[${PYTHON_USEDEP}]
67 + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}]
68 + >=dev-python/testresources-2.0.0[${PYTHON_USEDEP}]
69 + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
70 + )"
71 +
72 +distutils_enable_tests unittest
73 +
74 +src_prepare() {
75 + # relies on specific test runner name
76 + sed -i -e 's:run\.py:unittest_or_fail.py:' \
77 + keystoneauth1/tests/unit/test_session.py || die
78 + distutils-r1_src_prepare
79 +}
80 +
81 +python_test() {
82 + eunittest -b
83 +}