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/oslo-config/
Date: Tue, 22 Jun 2021 08:04:12
Message-Id: 1624349046.7d3d7ef6c018d96d70eb74e3e9ca7bec5a261de1.mgorny@gentoo
1 commit: 7d3d7ef6c018d96d70eb74e3e9ca7bec5a261de1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 22 08:00:43 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 22 08:04:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d3d7ef6
7
8 dev-python/oslo-config: Enable tests
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/oslo-config/oslo-config-8.3.3-r1.ebuild | 45 ++++++++++++++++++++++
13 1 file changed, 45 insertions(+)
14
15 diff --git a/dev-python/oslo-config/oslo-config-8.3.3-r1.ebuild b/dev-python/oslo-config/oslo-config-8.3.3-r1.ebuild
16 new file mode 100644
17 index 00000000000..1bb00f4194d
18 --- /dev/null
19 +++ b/dev-python/oslo-config/oslo-config-8.3.3-r1.ebuild
20 @@ -0,0 +1,45 @@
21 +# Copyright 1999-2021 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=7
25 +
26 +PYTHON_COMPAT=( python3_8 )
27 +inherit distutils-r1
28 +
29 +MY_PN=${PN/-/.}
30 +
31 +DESCRIPTION="Oslo Configuration API"
32 +HOMEPAGE="https://launchpad.net/oslo"
33 +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
34 +S="${WORKDIR}/${MY_PN}-${PV}"
35 +
36 +LICENSE="Apache-2.0"
37 +SLOT="0"
38 +KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
39 +
40 +RDEPEND=">=dev-python/pbr-1.3[${PYTHON_USEDEP}]
41 + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
42 + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
43 + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
44 + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
45 + >=dev-python/rfc3986-1.2.0[${PYTHON_USEDEP}]
46 + >=dev-python/pyyaml-3.12.0[${PYTHON_USEDEP}]
47 + >=dev-python/requests-2.18.0[${PYTHON_USEDEP}]
48 + dev-python/importlib_metadata[${PYTHON_USEDEP}]
49 +"
50 +BDEPEND=">=dev-python/pbr-1.3[${PYTHON_USEDEP}]
51 + test? (
52 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
53 + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
54 + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
55 + >=dev-python/requests-mock-1.5.0[${PYTHON_USEDEP}]
56 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
57 + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
58 + )"
59 +
60 +distutils_enable_tests unittest
61 +
62 +python_test() {
63 + local -x COLUMNS=80
64 + eunittest -b
65 +}