commit:     8ef50aea949005d1738bf77220c885ed5e97973b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 22 09:45:21 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jun 22 10:02:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ef50aea

dev-python/oslo-context: Enable tests

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/oslo-context/oslo-context-3.1.1.ebuild | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/dev-python/oslo-context/oslo-context-3.1.1.ebuild 
b/dev-python/oslo-context/oslo-context-3.1.1.ebuild
index 958d79d4051..f8156b0a6b2 100644
--- a/dev-python/oslo-context/oslo-context-3.1.1.ebuild
+++ b/dev-python/oslo-context/oslo-context-3.1.1.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=bdepend
 
+PYTHON_COMPAT=( python3_8 )
 inherit distutils-r1
 
 DESCRIPTION="Helpers to maintain useful information about a request context"
@@ -18,6 +17,12 @@ KEYWORDS="amd64 ~arm arm64 x86"
 
 CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
        !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
-DEPEND="${CDEPEND}"
 RDEPEND="${CDEPEND}
        >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]"
+BDEPEND="${CDEPEND}
+       test? (
+               >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+               >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
+       )"
+
+distutils_enable_tests unittest

Reply via email to