1 |
commit: d14bfc5f1c36538feb11f73962b55771fe7a7e82 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 27 14:41:48 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 27 14:42:48 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d14bfc5f |
7 |
|
8 |
media-libs/vigra: Disable more tests |
9 |
|
10 |
Bug: https://bugs.gentoo.org/701328 |
11 |
Package-Manager: Portage-2.3.80, Repoman-2.3.17 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
media-libs/vigra/vigra-1.11.1-r3.ebuild | 6 +++++- |
15 |
media-libs/vigra/vigra-9999.ebuild | 5 ++++- |
16 |
2 files changed, 9 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/media-libs/vigra/vigra-1.11.1-r3.ebuild b/media-libs/vigra/vigra-1.11.1-r3.ebuild |
19 |
index f2b096eaf51..d38b643763a 100644 |
20 |
--- a/media-libs/vigra/vigra-1.11.1-r3.ebuild |
21 |
+++ b/media-libs/vigra/vigra-1.11.1-r3.ebuild |
22 |
@@ -93,7 +93,11 @@ src_prepare() { |
23 |
sed -i -e '/env/s:python:python3:' config/vigra-config.in || die |
24 |
|
25 |
use doc || cmake_comment_add_subdirectory docsrc |
26 |
- use test || cmake_comment_add_subdirectory test |
27 |
+ |
28 |
+ if ! use test; then |
29 |
+ cmake_comment_add_subdirectory test |
30 |
+ sed -e "/ADD_SUBDIRECTORY.*test/s/^/#DONT /" -i vigranumpy/CMakeLists.txt || die |
31 |
+ fi |
32 |
} |
33 |
|
34 |
src_configure() { |
35 |
|
36 |
diff --git a/media-libs/vigra/vigra-9999.ebuild b/media-libs/vigra/vigra-9999.ebuild |
37 |
index c1094b89265..289fe049252 100644 |
38 |
--- a/media-libs/vigra/vigra-9999.ebuild |
39 |
+++ b/media-libs/vigra/vigra-9999.ebuild |
40 |
@@ -99,7 +99,10 @@ src_prepare() { |
41 |
# Don't use python_fix_shebang because we can't put this behind USE="python" |
42 |
sed -i -e '/env/s:python:python3:' config/vigra-config.in || die |
43 |
|
44 |
- use test || cmake_comment_add_subdirectory test |
45 |
+ if ! use test; then |
46 |
+ cmake_comment_add_subdirectory test |
47 |
+ sed -e "/ADD_SUBDIRECTORY.*test/s/^/#DONT /" -i vigranumpy/CMakeLists.txt || die |
48 |
+ fi |
49 |
} |
50 |
|
51 |
src_configure() { |