summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2011-08-12 11:12:13 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2011-08-12 11:12:13 +0000
commitd4db9e241c1ac3496de5d771089a652aafa621b7 (patch)
tree233bc0a639e63d34a30f08150ded6a364d73e0fb /dev-haskell
parentx86 stable per bug 355085 (diff)
downloadgentoo-2-d4db9e241c1ac3496de5d771089a652aafa621b7.tar.gz
gentoo-2-d4db9e241c1ac3496de5d771089a652aafa621b7.tar.bz2
gentoo-2-d4db9e241c1ac3496de5d771089a652aafa621b7.zip
Version bump to support ghc-7. Fixes bug #378887 by Thomas Kahle.
(Portage version: 2.1.10.10/cvs/Linux x86_64)
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/quickcheck/ChangeLog8
-rw-r--r--dev-haskell/quickcheck/files/quickcheck-2.1.1.1-ghc-7.patch12
-rw-r--r--dev-haskell/quickcheck/quickcheck-2.1.1.1.ebuild31
3 files changed, 50 insertions, 1 deletions
diff --git a/dev-haskell/quickcheck/ChangeLog b/dev-haskell/quickcheck/ChangeLog
index 8aec6884b6af..c7a5c14b8096 100644
--- a/dev-haskell/quickcheck/ChangeLog
+++ b/dev-haskell/quickcheck/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-haskell/quickcheck
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/quickcheck/ChangeLog,v 1.48 2011/06/05 16:11:42 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/quickcheck/ChangeLog,v 1.49 2011/08/12 11:12:13 slyfox Exp $
+
+*quickcheck-2.1.1.1 (12 Aug 2011)
+
+ 12 Aug 2011; Sergei Trofimovich <slyfox@gentoo.org>
+ +quickcheck-2.1.1.1.ebuild, +files/quickcheck-2.1.1.1-ghc-7.patch:
+ Version bump to support ghc-7. Fixes bug #378887 by Thomas Kahle.
05 Jun 2011; Sergei Trofimovich <slyfox@gentoo.org> -quickcheck-1.0.ebuild,
-quickcheck-1.0.1.ebuild:
diff --git a/dev-haskell/quickcheck/files/quickcheck-2.1.1.1-ghc-7.patch b/dev-haskell/quickcheck/files/quickcheck-2.1.1.1-ghc-7.patch
new file mode 100644
index 000000000000..87abeeb51e34
--- /dev/null
+++ b/dev-haskell/quickcheck/files/quickcheck-2.1.1.1-ghc-7.patch
@@ -0,0 +1,12 @@
+diff --git a/Test/QuickCheck/Function.hs b/Test/QuickCheck/Function.hs
+index a1affaf..7c730bd 100644
+--- a/Test/QuickCheck/Function.hs
++++ b/Test/QuickCheck/Function.hs
+@@ -206,6 +206,7 @@ shrinkFun shr (p :+: q) =
+ [ p' .+. q | p' <- shrinkFun shr p ] ++
+ [ p .+. q' | q' <- shrinkFun shr q ]
+ where
++ isNil :: (a :-> b) -> Bool
+ isNil Nil = True
+ isNil _ = False
+
diff --git a/dev-haskell/quickcheck/quickcheck-2.1.1.1.ebuild b/dev-haskell/quickcheck/quickcheck-2.1.1.1.ebuild
new file mode 100644
index 000000000000..9376e7ae26f8
--- /dev/null
+++ b/dev-haskell/quickcheck/quickcheck-2.1.1.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/quickcheck/quickcheck-2.1.1.1.ebuild,v 1.1 2011/08/12 11:12:13 slyfox Exp $
+
+# ebuild generated by hackport 0.2.13
+
+EAPI="3"
+
+CABAL_FEATURES="lib profile haddock hscolour"
+inherit base haskell-cabal
+
+MY_PN="QuickCheck"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Automatic testing of Haskell programs"
+HOMEPAGE="http://www.cse.chalmers.se/~koen"
+SRC_URI="http://hackage.haskell.org/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="dev-haskell/mtl
+ >=dev-lang/ghc-6.8.2"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=("${FILESDIR}/${PN}-2.1.1.1-ghc-7.patch")