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