Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/oslo-i18n/
Date: Tue, 22 Jun 2021 10:02:18
Message-Id: 1624356126.8436dbe48688c60b73fc3ff7e996dbce48db36ce.mgorny@gentoo
1 commit: 8436dbe48688c60b73fc3ff7e996dbce48db36ce
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 22 09:50:06 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 22 10:02:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8436dbe4
7
8 dev-python/oslo-i18n: Enable tests
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/oslo-i18n/oslo-i18n-5.0.1.ebuild | 11 ++++++++---
13 1 file changed, 8 insertions(+), 3 deletions(-)
14
15 diff --git a/dev-python/oslo-i18n/oslo-i18n-5.0.1.ebuild b/dev-python/oslo-i18n/oslo-i18n-5.0.1.ebuild
16 index 940d62e2254..6a6a36d92ac 100644
17 --- a/dev-python/oslo-i18n/oslo-i18n-5.0.1.ebuild
18 +++ b/dev-python/oslo-i18n/oslo-i18n-5.0.1.ebuild
19 @@ -2,9 +2,8 @@
20 # Distributed under the terms of the GNU General Public License v2
21
22 EAPI=7
23 -PYTHON_COMPAT=( python3_{7,8} )
24 -DISTUTILS_USE_SETUPTOOLS=bdepend
25
26 +PYTHON_COMPAT=( python3_8 )
27 inherit distutils-r1 vcs-snapshot
28
29 MY_PN=${PN/-/.}
30 @@ -19,8 +18,14 @@ KEYWORDS="amd64 ~arm arm64 x86"
31
32 CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
33 !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
34 -DEPEND="${CDEPEND}"
35 RDEPEND="
36 ${CDEPEND}
37 >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
38 "
39 +BDEPEND="
40 + ${CDEPEND}
41 + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
42 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
43 +"
44 +
45 +distutils_enable_tests unittest