Skip to content

Commit 50c1a9f

Browse files
author
Sergei Trofimovich
committed
dev-haskell/binary: drop USE=test, bug #666810
Test suite is not compatible with modern QuickCheck instances: ``` tests/Arbitrary.hs:17:10: error: Duplicate instance declarations: instance (Arbitrary a, Arbitrary b, Arbitrary c, Arbitrary d, Arbitrary e, Arbitrary f) => Arbitrary (a, b, c, d, e, f) -- Defined at tests/Arbitrary.hs:17:10 -- Defined in ‘Test.QuickCheck.Arbitrary’ ``` Binary is not really an upgradeable package. Let's drop test suite completely. Reported-by: Pacho Ramos Closes: https://bugs.gentoo.org/666810 Package-Manager: Portage-2.3.49, Repoman-2.3.11
1 parent d9a884a commit 50c1a9f

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

dev-haskell/binary/binary-0.7.6.1.ebuild

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Copyright 1999-2015 Gentoo Foundation
1+
# Copyright 1999-2018 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=5
55

66
# ebuild generated by hackport 0.4.6.9999
77

8-
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
8+
CABAL_FEATURES="lib profile haddock hoogle hscolour" # Avoid test-suite circular depend
99
inherit haskell-cabal
1010

1111
DESCRIPTION="Binary serialisation for Haskell values using lazy ByteStrings"
@@ -23,11 +23,6 @@ RDEPEND=">=dev-lang/ghc-7.4.1:=
2323
"
2424
DEPEND="${RDEPEND}
2525
>=dev-haskell/cabal-1.8
26-
test? ( dev-haskell/hunit
27-
>=dev-haskell/quickcheck-2.8
28-
>=dev-haskell/random-1.0.1.0
29-
dev-haskell/test-framework
30-
>=dev-haskell/test-framework-quickcheck2-0.3 )
3126
"
3227

3328
CABAL_CORE_LIB_GHC_PV="PM:7.10.3_rc1 PM:7.10.3"

0 commit comments

Comments
 (0)