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