1 |
commit: 6eaae1cd9e35eb82fbc15d60ceb5aa491c10efe3 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 22 10:10:45 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 22 10:10:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eaae1cd |
7 |
|
8 |
dev-python/oslo-log: Enable tests |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/oslo-log/oslo-log-4.4.0.ebuild | 16 +++++++++++++--- |
13 |
1 file changed, 13 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/oslo-log/oslo-log-4.4.0.ebuild b/dev-python/oslo-log/oslo-log-4.4.0.ebuild |
16 |
index 3c61e713163..1f5b37183c6 100644 |
17 |
--- a/dev-python/oslo-log/oslo-log-4.4.0.ebuild |
18 |
+++ b/dev-python/oslo-log/oslo-log-4.4.0.ebuild |
19 |
@@ -2,9 +2,8 @@ |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
|
22 |
EAPI=7 |
23 |
-PYTHON_COMPAT=( python3_{7,8} ) |
24 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
25 |
|
26 |
+PYTHON_COMPAT=( python3_8 ) |
27 |
inherit distutils-r1 |
28 |
|
29 |
DESCRIPTION="OpenStack logging config library, configuration for all openstack projects." |
30 |
@@ -25,4 +24,15 @@ RDEPEND=">=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] |
31 |
>=dev-python/debtcollector-1.19.0[${PYTHON_USEDEP}] |
32 |
>=dev-python/pyinotify-0.9.6[${PYTHON_USEDEP}] |
33 |
>=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}]" |
34 |
-DEPEND=">=dev-python/pbr-3.1.1[${PYTHON_USEDEP}]" |
35 |
+BDEPEND=">=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] |
36 |
+ test? ( |
37 |
+ >=dev-python/testtools-2.3.0[${PYTHON_USEDEP}] |
38 |
+ >=dev-python/oslotest-3.3.0[${PYTHON_USEDEP}] |
39 |
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
40 |
+ )" |
41 |
+ |
42 |
+distutils_enable_tests unittest |
43 |
+ |
44 |
+python_test() { |
45 |
+ eunittest -b |
46 |
+} |