1 |
commit: 8ef50aea949005d1738bf77220c885ed5e97973b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 22 09:45:21 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 22 10:02:05 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ef50aea |
7 |
|
8 |
dev-python/oslo-context: Enable tests |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/oslo-context/oslo-context-3.1.1.ebuild | 11 ++++++++--- |
13 |
1 file changed, 8 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/oslo-context/oslo-context-3.1.1.ebuild b/dev-python/oslo-context/oslo-context-3.1.1.ebuild |
16 |
index 958d79d4051..f8156b0a6b2 100644 |
17 |
--- a/dev-python/oslo-context/oslo-context-3.1.1.ebuild |
18 |
+++ b/dev-python/oslo-context/oslo-context-3.1.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 |
28 |
|
29 |
DESCRIPTION="Helpers to maintain useful information about a request context" |
30 |
@@ -18,6 +17,12 @@ 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="${CDEPEND} |
36 |
>=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]" |
37 |
+BDEPEND="${CDEPEND} |
38 |
+ test? ( |
39 |
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
40 |
+ >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] |
41 |
+ )" |
42 |
+ |
43 |
+distutils_enable_tests unittest |