1 |
commit: 4f613c9fe28398d60b4329e2e9e64dd5316579fd |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 1 20:07:08 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 1 20:08:19 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f613c9f |
7 |
|
8 |
media-libs/aubio: Disable tests for real |
9 |
|
10 |
Tests were always built and run regardless. At least disable them |
11 |
if not requested. |
12 |
|
13 |
Bug: https://bugs.gentoo.org/651956 |
14 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
15 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
16 |
|
17 |
media-libs/aubio/aubio-0.4.7.ebuild | 8 ++++++-- |
18 |
1 file changed, 6 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/media-libs/aubio/aubio-0.4.7.ebuild b/media-libs/aubio/aubio-0.4.7.ebuild |
21 |
index a7d7db9a590..c7b767af9eb 100644 |
22 |
--- a/media-libs/aubio/aubio-0.4.7.ebuild |
23 |
+++ b/media-libs/aubio/aubio-0.4.7.ebuild |
24 |
@@ -15,7 +15,7 @@ SRC_URI="https://aubio.org/pub/${P}.tar.bz2" |
25 |
LICENSE="GPL-3" |
26 |
SLOT="0/5" |
27 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
28 |
-IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate sndfile python" |
29 |
+IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate sndfile python test" |
30 |
|
31 |
RDEPEND=" |
32 |
ffmpeg? ( |
33 |
@@ -46,7 +46,11 @@ PYTHON_SRC_DIR="${S}" |
34 |
|
35 |
src_prepare() { |
36 |
default |
37 |
- sed -i -e "s:doxygen:doxygen_disabled:" wscript || die |
38 |
+ sed -e "s:doxygen:doxygen_disabled:" -i wscript || die |
39 |
+ |
40 |
+ if ! use test; then |
41 |
+ sed -e "/bld.*tests/d" -i wscript || die |
42 |
+ fi |
43 |
} |
44 |
|
45 |
src_configure() { |