Gentoo Archives: gentoo-dev

From: Aaron Bauman <bman@g.o>
To: gentoo-dev@l.g.o
Cc: haskell@g.o, "Michał Górny" <mgorny@g.o>
Subject: Re: [gentoo-dev] [PATCH] haskell-cabal.eclass: Fix MissingTestRestrict
Date: Wed, 11 Dec 2019 16:04:21
Message-Id: 20191211160414.GA1074948@bubba.lan
In Reply to: [gentoo-dev] [PATCH] haskell-cabal.eclass: Fix MissingTestRestrict by "Michał Górny"
1 On Wed, Dec 11, 2019 at 10:51:36AM +0100, Michał Górny wrote:
2 > This fixes 564 cases of MissingTestRestrict. According to md5-cache
3 > inspection, no other changes in metadata occur.
4 >
5 > Signed-off-by: Michał Górny <mgorny@g.o>
6 > ---
7 > eclass/haskell-cabal.eclass | 3 ++-
8 > 1 file changed, 2 insertions(+), 1 deletion(-)
9 >
10 > diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass
11 > index 30b67bf7af94..2fc797e764cb 100644
12 > --- a/eclass/haskell-cabal.eclass
13 > +++ b/eclass/haskell-cabal.eclass
14 > @@ -1,4 +1,4 @@
15 > -# Copyright 1999-2018 Gentoo Authors
16 > +# Copyright 1999-2019 Gentoo Authors
17 > # Distributed under the terms of the GNU General Public License v2
18 >
19 > # @ECLASS: haskell-cabal.eclass
20 > @@ -137,6 +137,7 @@ fi
21 >
22 > if [[ -n "${CABAL_TEST_SUITE}" ]]; then
23 > IUSE="${IUSE} test"
24 > + RESTRICT+=" !test? ( test )"
25 > fi
26 >
27 > # returns the version of cabal currently in use.
28 > --
29 > 2.24.0
30 >
31 >
32
33 Acked-by: Aaron Bauman <bman@g.o>
34
35 --
36 Cheers,
37 Aaron

Attachments

File name MIME type
signature.asc application/pgp-signature