Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/vector/
Date: Sun, 23 Sep 2018 13:27:39
Message-Id: 1537709216.c84b298fef4e01d837354f8d74ed38409956daed.slyfox@gentoo
1 commit: c84b298fef4e01d837354f8d74ed38409956daed
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 23 13:26:56 2018 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 23 13:26:56 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c84b298f
7
8 dev-haskell/vector: drop USE=test, bug #666812
9
10 Test suite is not compatible with modern QuickCheck instances:
11
12 ```
13 tests/Utilities.hs:54:10: error:
14 Duplicate instance declarations:
15 instance Arbitrary a => Arbitrary (Identity a)
16 -- Defined at tests/Utilities.hs:54:10
17 -- Defined in ‘Test.QuickCheck.Arbitrary’
18 ```
19
20 Let's drop test suite and fix it in text vector release.
21
22 Reported-by: Pacho Ramos
23 Closes: https://bugs.gentoo.org/666812
24 Package-Manager: Portage-2.3.49, Repoman-2.3.11
25
26 dev-haskell/vector/vector-0.11.0.0.ebuild | 9 ++-------
27 1 file changed, 2 insertions(+), 7 deletions(-)
28
29 diff --git a/dev-haskell/vector/vector-0.11.0.0.ebuild b/dev-haskell/vector/vector-0.11.0.0.ebuild
30 index f27cf913c98..efdc86104af 100644
31 --- a/dev-haskell/vector/vector-0.11.0.0.ebuild
32 +++ b/dev-haskell/vector/vector-0.11.0.0.ebuild
33 @@ -1,11 +1,11 @@
34 -# Copyright 1999-2017 Gentoo Foundation
35 +# Copyright 1999-2018 Gentoo Authors
36 # Distributed under the terms of the GNU General Public License v2
37
38 EAPI=6
39
40 # ebuild generated by hackport 0.4.6.9999
41
42 -CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
43 +CABAL_FEATURES="lib profile haddock hoogle hscolour" # Broken test-suite: #666812
44 inherit haskell-cabal
45
46 DESCRIPTION="Efficient Arrays"
47 @@ -24,11 +24,6 @@ RDEPEND=">=dev-haskell/primitive-0.5.0.1:=[profile?] <dev-haskell/primitive-0.7:
48 "
49 DEPEND="${RDEPEND}
50 >=dev-haskell/cabal-1.10
51 - test? ( >=dev-haskell/quickcheck-2.7
52 - dev-haskell/random
53 - dev-haskell/test-framework
54 - dev-haskell/test-framework-quickcheck2
55 - >=dev-haskell/transformers-0.2.0.0 )
56 "
57
58 PATCHES=("${FILESDIR}"/${P}-primitive-0.6.2.0.patch)