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/python-cinderclient/
Date: Thu, 24 Feb 2022 18:18:15
Message-Id: 1645726464.168998ef78e9c6bca26cecb9f2deb34ae90e3577.mgorny@gentoo
1 commit: 168998ef78e9c6bca26cecb9f2deb34ae90e3577
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 24 18:14:24 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 24 18:14:24 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=168998ef
7
8 dev-python/python-cinderclient: PEP517, py3.10
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../python-cinderclient-8.2.0-r1.ebuild | 46 ++++++++++++++++++++++
13 1 file changed, 46 insertions(+)
14
15 diff --git a/dev-python/python-cinderclient/python-cinderclient-8.2.0-r1.ebuild b/dev-python/python-cinderclient/python-cinderclient-8.2.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..285508bda622
18 --- /dev/null
19 +++ b/dev-python/python-cinderclient/python-cinderclient-8.2.0-r1.ebuild
20 @@ -0,0 +1,46 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="A client for the OpenStack Cinder API"
32 +HOMEPAGE="https://launchpad.net/python-cinderclient"
33 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
34 +
35 +LICENSE="Apache-2.0"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
38 +
39 +RDEPEND="
40 + >=dev-python/keystoneauth-4.2.1[${PYTHON_USEDEP}]
41 + >=dev-python/oslo-i18n-5.0.1[${PYTHON_USEDEP}]
42 + >=dev-python/oslo-utils-4.8.0[${PYTHON_USEDEP}]
43 + >=dev-python/pbr-5.5.0[${PYTHON_USEDEP}]
44 + >=dev-python/prettytable-0.7.2[${PYTHON_USEDEP}]
45 + >=dev-python/requests-2.25.1[${PYTHON_USEDEP}]
46 + >=dev-python/simplejson-3.5.1[${PYTHON_USEDEP}]
47 + >=dev-python/stevedore-3.3.0[${PYTHON_USEDEP}]
48 +"
49 +BDEPEND="
50 + dev-python/pbr[${PYTHON_USEDEP}]
51 + test? (
52 + dev-python/ddt[${PYTHON_USEDEP}]
53 + dev-python/fixtures[${PYTHON_USEDEP}]
54 + dev-python/oslo-serialization[${PYTHON_USEDEP}]
55 + dev-python/requests-mock[${PYTHON_USEDEP}]
56 + dev-python/testtools[${PYTHON_USEDEP}]
57 + dev-python/tempest[${PYTHON_USEDEP}]
58 + )
59 +"
60 +
61 +distutils_enable_tests unittest
62 +
63 +python_test() {
64 + # functional tests require cloud instance access
65 + eunittest -b cinderclient/tests/unit
66 +}