summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-06-22 12:10:45 +0200
committerMichał Górny <mgorny@gentoo.org>2021-06-22 12:10:45 +0200
commit6eaae1cd9e35eb82fbc15d60ceb5aa491c10efe3 (patch)
tree20d037ee7424f80777ffa842879700ce7e5cb6c6 /dev-python/oslo-log
parentdev-python/oslo-context: Enable py3.9 (diff)
downloadgentoo-6eaae1cd9e35eb82fbc15d60ceb5aa491c10efe3.tar.gz
gentoo-6eaae1cd9e35eb82fbc15d60ceb5aa491c10efe3.tar.bz2
gentoo-6eaae1cd9e35eb82fbc15d60ceb5aa491c10efe3.zip
dev-python/oslo-log: Enable tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/oslo-log')
-rw-r--r--dev-python/oslo-log/oslo-log-4.4.0.ebuild16
1 files 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 3c61e7131633..1f5b37183c68 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
+}