From d14bfc5f1c36538feb11f73962b55771fe7a7e82 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Wed, 27 Nov 2019 15:41:48 +0100 Subject: [PATCH] media-libs/vigra: Disable more tests Bug: https://bugs.gentoo.org/701328 Package-Manager: Portage-2.3.80, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner --- media-libs/vigra/vigra-1.11.1-r3.ebuild | 6 +++++- media-libs/vigra/vigra-9999.ebuild | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/media-libs/vigra/vigra-1.11.1-r3.ebuild b/media-libs/vigra/vigra-1.11.1-r3.ebuild index f2b096eaf519..d38b643763a9 100644 --- a/media-libs/vigra/vigra-1.11.1-r3.ebuild +++ b/media-libs/vigra/vigra-1.11.1-r3.ebuild @@ -93,7 +93,11 @@ src_prepare() { sed -i -e '/env/s:python:python3:' config/vigra-config.in || die use doc || cmake_comment_add_subdirectory docsrc - use test || cmake_comment_add_subdirectory test + + if ! use test; then + cmake_comment_add_subdirectory test + sed -e "/ADD_SUBDIRECTORY.*test/s/^/#DONT /" -i vigranumpy/CMakeLists.txt || die + fi } src_configure() { diff --git a/media-libs/vigra/vigra-9999.ebuild b/media-libs/vigra/vigra-9999.ebuild index c1094b892655..289fe0492523 100644 --- a/media-libs/vigra/vigra-9999.ebuild +++ b/media-libs/vigra/vigra-9999.ebuild @@ -99,7 +99,10 @@ src_prepare() { # Don't use python_fix_shebang because we can't put this behind USE="python" sed -i -e '/env/s:python:python3:' config/vigra-config.in || die - use test || cmake_comment_add_subdirectory test + if ! use test; then + cmake_comment_add_subdirectory test + sed -e "/ADD_SUBDIRECTORY.*test/s/^/#DONT /" -i vigranumpy/CMakeLists.txt || die + fi } src_configure() { -- 2.26.2