diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-11-27 15:41:48 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-11-27 15:42:48 +0100 |
commit | d14bfc5f1c36538feb11f73962b55771fe7a7e82 (patch) | |
tree | a20818e321adae7e668d19af3f7cfbfcc014484b /media-libs/vigra | |
parent | www-apps/klaus: remove old (diff) | |
download | gentoo-d14bfc5f1c36538feb11f73962b55771fe7a7e82.tar.gz gentoo-d14bfc5f1c36538feb11f73962b55771fe7a7e82.tar.bz2 gentoo-d14bfc5f1c36538feb11f73962b55771fe7a7e82.zip |
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 <asturm@gentoo.org>
Diffstat (limited to 'media-libs/vigra')
-rw-r--r-- | media-libs/vigra/vigra-1.11.1-r3.ebuild | 6 | ||||
-rw-r--r-- | 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() { |