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/binary/
Date: Sun, 23 Sep 2018 14:06:05
Message-Id: 1537711552.50c1a9fafc114f662de85209ad766b2c1d7789ec.slyfox@gentoo
1 commit: 50c1a9fafc114f662de85209ad766b2c1d7789ec
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 23 14:05:39 2018 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 23 14:05:52 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50c1a9fa
7
8 dev-haskell/binary: drop USE=test, bug #666810
9
10 Test suite is not compatible with modern QuickCheck instances:
11
12 ```
13 tests/Arbitrary.hs:17:10: error:
14 Duplicate instance declarations:
15 instance (Arbitrary a, Arbitrary b, Arbitrary c, Arbitrary d,
16 Arbitrary e, Arbitrary f) =>
17 Arbitrary (a, b, c, d, e, f)
18 -- Defined at tests/Arbitrary.hs:17:10
19 -- Defined in ‘Test.QuickCheck.Arbitrary’
20 ```
21
22 Binary is not really an upgradeable package. Let's drop
23 test suite completely.
24
25 Reported-by: Pacho Ramos
26 Closes: https://bugs.gentoo.org/666810
27 Package-Manager: Portage-2.3.49, Repoman-2.3.11
28
29 dev-haskell/binary/binary-0.7.6.1.ebuild | 9 ++-------
30 1 file changed, 2 insertions(+), 7 deletions(-)
31
32 diff --git a/dev-haskell/binary/binary-0.7.6.1.ebuild b/dev-haskell/binary/binary-0.7.6.1.ebuild
33 index c35913aef13..124d0ca1b73 100644
34 --- a/dev-haskell/binary/binary-0.7.6.1.ebuild
35 +++ b/dev-haskell/binary/binary-0.7.6.1.ebuild
36 @@ -1,11 +1,11 @@
37 -# Copyright 1999-2015 Gentoo Foundation
38 +# Copyright 1999-2018 Gentoo Authors
39 # Distributed under the terms of the GNU General Public License v2
40
41 EAPI=5
42
43 # ebuild generated by hackport 0.4.6.9999
44
45 -CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
46 +CABAL_FEATURES="lib profile haddock hoogle hscolour" # Avoid test-suite circular depend
47 inherit haskell-cabal
48
49 DESCRIPTION="Binary serialisation for Haskell values using lazy ByteStrings"
50 @@ -23,11 +23,6 @@ RDEPEND=">=dev-lang/ghc-7.4.1:=
51 "
52 DEPEND="${RDEPEND}
53 >=dev-haskell/cabal-1.8
54 - test? ( dev-haskell/hunit
55 - >=dev-haskell/quickcheck-2.8
56 - >=dev-haskell/random-1.0.1.0
57 - dev-haskell/test-framework
58 - >=dev-haskell/test-framework-quickcheck2-0.3 )
59 "
60
61 CABAL_CORE_LIB_GHC_PV="PM:7.10.3_rc1 PM:7.10.3"