diff options
author | Ilya Tumaykin <itumaykin@gmail.com> | 2017-01-14 01:34:36 +0300 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-01-15 14:33:54 +0100 |
commit | 4700bc75b0edd9490b1327ebd45c16a65def47cb (patch) | |
tree | 06af64475c12b6b342b45e3b9af0da4323be76ee /dev-python/enzyme | |
parent | f392f94790f0d673e8b315e705b279f3fdcc833b (diff) | |
download | gentoo-4700bc75b0edd9490b1327ebd45c16a65def47cb.tar.gz gentoo-4700bc75b0edd9490b1327ebd45c16a65def47cb.tar.xz |
dev-python/enzyme: cleanup test preparations
Expose only the bare minimum number of files to the testsuite.
As was shown by subliminal (another program from the same guy),
exposing too much files can lead to unexpected test failures.
Closes: https://github.com/gentoo/gentoo/pull/3459
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-python/enzyme')
-rw-r--r-- | dev-python/enzyme/enzyme-0.4.1-r2.ebuild | 8 | ||||
-rw-r--r-- | dev-python/enzyme/enzyme-9999.ebuild | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/dev-python/enzyme/enzyme-0.4.1-r2.ebuild b/dev-python/enzyme/enzyme-0.4.1-r2.ebuild index 00ff56cf28c..6dcf17e76a8 100644 --- a/dev-python/enzyme/enzyme-0.4.1-r2.ebuild +++ b/dev-python/enzyme/enzyme-0.4.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -32,9 +32,9 @@ DEPEND="${RDEPEND} python_prepare_all() { if use test; then - mkdir enzyme/tests/test_{parsers,mkv} || die - ln -s "${WORKDIR}"/test* enzyme/tests/test_parsers/ || die - ln -s "${WORKDIR}"/test* enzyme/tests/test_mkv/ || die + mkdir enzyme/tests/test_{mkv,parsers} || die + ln -s "${WORKDIR}"/test*.mkv enzyme/tests/test_mkv/ || die + ln -s "${WORKDIR}"/test*.mkv enzyme/tests/test_parsers/ || die fi distutils-r1_python_prepare_all diff --git a/dev-python/enzyme/enzyme-9999.ebuild b/dev-python/enzyme/enzyme-9999.ebuild index c6ade870e50..306b3f6d413 100644 --- a/dev-python/enzyme/enzyme-9999.ebuild +++ b/dev-python/enzyme/enzyme-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -35,9 +35,9 @@ src_unpack() { python_prepare_all() { if use test; then - mkdir enzyme/tests/test_{parsers,mkv} || die - ln -s "${WORKDIR}"/test* enzyme/tests/test_parsers/ || die - ln -s "${WORKDIR}"/test* enzyme/tests/test_mkv/ || die + mkdir enzyme/tests/test_{mkv,parsers} || die + ln -s "${WORKDIR}"/test*.mkv enzyme/tests/test_mkv/ || die + ln -s "${WORKDIR}"/test*.mkv enzyme/tests/test_parsers/ || die fi distutils-r1_python_prepare_all |