commit: 11ebf480d4ff882755123aa997f6cb8e18481707 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Dec 11 09:42:17 2019 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Dec 11 20:47:28 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11ebf480
haskell-cabal.eclass: Fix MissingTestRestrict This fixes 564 cases of MissingTestRestrict. According to md5-cache inspection, no other changes in metadata occur. Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/13945 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> eclass/haskell-cabal.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass index 30b67bf7af9..2fc797e764c 100644 --- a/eclass/haskell-cabal.eclass +++ b/eclass/haskell-cabal.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: haskell-cabal.eclass @@ -137,6 +137,7 @@ fi if [[ -n "${CABAL_TEST_SUITE}" ]]; then IUSE="${IUSE} test" + RESTRICT+=" !test? ( test )" fi # returns the version of cabal currently in use.
