From: Andreas Sturmlechner Date: Mon, 1 Oct 2018 20:07:08 +0000 (+0200) Subject: media-libs/aubio: Disable tests for real X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=4f613c9fe28398d60b4329e2e9e64dd5316579fd;p=gentoo.git media-libs/aubio: Disable tests for real Tests were always built and run regardless. At least disable them if not requested. Bug: https://bugs.gentoo.org/651956 Signed-off-by: Andreas Sturmlechner Package-Manager: Portage-2.3.50, Repoman-2.3.11 --- diff --git a/media-libs/aubio/aubio-0.4.7.ebuild b/media-libs/aubio/aubio-0.4.7.ebuild index a7d7db9a590a..c7b767af9ebe 100644 --- a/media-libs/aubio/aubio-0.4.7.ebuild +++ b/media-libs/aubio/aubio-0.4.7.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://aubio.org/pub/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0/5" KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate sndfile python" +IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate sndfile python test" RDEPEND=" ffmpeg? ( @@ -46,7 +46,11 @@ PYTHON_SRC_DIR="${S}" src_prepare() { default - sed -i -e "s:doxygen:doxygen_disabled:" wscript || die + sed -e "s:doxygen:doxygen_disabled:" -i wscript || die + + if ! use test; then + sed -e "/bld.*tests/d" -i wscript || die + fi } src_configure() {