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 |