From 6eaae1cd9e35eb82fbc15d60ceb5aa491c10efe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 22 Jun 2021 12:10:45 +0200 Subject: [PATCH] dev-python/oslo-log: Enable tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- 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 3c61e7131633a..1f5b37183c68e 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 +}