commit: 8436dbe48688c60b73fc3ff7e996dbce48db36ce
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 22 09:50:06 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jun 22 10:02:06 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8436dbe4
dev-python/oslo-i18n: Enable tests
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/oslo-i18n/oslo-i18n-5.0.1.ebuild | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/dev-python/oslo-i18n/oslo-i18n-5.0.1.ebuild
b/dev-python/oslo-i18n/oslo-i18n-5.0.1.ebuild
index 940d62e2254..6a6a36d92ac 100644
--- a/dev-python/oslo-i18n/oslo-i18n-5.0.1.ebuild
+++ b/dev-python/oslo-i18n/oslo-i18n-5.0.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 vcs-snapshot
MY_PN=${PN/-/.}
@@ -19,8 +18,14 @@ 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/six-1.9.0[${PYTHON_USEDEP}]
"
+BDEPEND="
+ ${CDEPEND}
+ >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
+ >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest