From: Andreas Sturmlechner Date: Wed, 27 Nov 2019 14:41:48 +0000 (+0100) Subject: media-libs/vigra: Disable more tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d14bfc5f1c36538feb11f73962b55771fe7a7e82;p=gentoo.git 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 --- 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() {