1 |
commit: 448b24ec634b5e865ebac65a2a3468b44d624a32 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 5 13:59:21 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 5 14:24:45 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=448b24ec |
7 |
|
8 |
dev-python/cheetah3: Fix tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/720982 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-python/cheetah3/cheetah3-3.2.4.ebuild | 5 +---- |
14 |
1 file changed, 1 insertion(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/cheetah3/cheetah3-3.2.4.ebuild b/dev-python/cheetah3/cheetah3-3.2.4.ebuild |
17 |
index 6e9a3455e1f..290c94fd2ab 100644 |
18 |
--- a/dev-python/cheetah3/cheetah3-3.2.4.ebuild |
19 |
+++ b/dev-python/cheetah3/cheetah3-3.2.4.ebuild |
20 |
@@ -23,9 +23,6 @@ BDEPEND="${RDEPEND}" |
21 |
|
22 |
DOCS=( ANNOUNCE.rst README.rst TODO ) |
23 |
|
24 |
-# Race in the test suite |
25 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
26 |
- |
27 |
python_prepare_all() { |
28 |
# Disable broken tests. |
29 |
sed \ |
30 |
@@ -41,5 +38,5 @@ python_test() { |
31 |
cp -r "${S}/Cheetah/Tests/ImportHooksTemplates" \ |
32 |
"${BUILD_DIR}/lib/Cheetah/Tests/ImportHooksTemplates" || die |
33 |
|
34 |
- "${PYTHON}" Cheetah/Tests/Test.py || die "Tests fail with ${EPYTHON}" |
35 |
+ "${EPYTHON}" Cheetah/Tests/Test.py || die "Tests fail with ${EPYTHON}" |
36 |
} |