summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Coutts <dcoutts@gentoo.org>2007-07-08 17:39:31 +0000
committerDuncan Coutts <dcoutts@gentoo.org>2007-07-08 17:39:31 +0000
commitcd288c78a6f295b356d0e2286b16e18eb75a8c88 (patch)
tree71cf96889c822cac959311a73eb15e79e4f2ede0 /dev-haskell/quickcheck
parentVersion bump, remove old version (diff)
downloadgentoo-2-cd288c78a6f295b356d0e2286b16e18eb75a8c88.tar.gz
gentoo-2-cd288c78a6f295b356d0e2286b16e18eb75a8c88.tar.bz2
gentoo-2-cd288c78a6f295b356d0e2286b16e18eb75a8c88.zip
New version from ghc-6.6.1 extralibs collection.
(Portage version: 2.1.2.9)
Diffstat (limited to 'dev-haskell/quickcheck')
-rw-r--r--dev-haskell/quickcheck/ChangeLog7
-rw-r--r--dev-haskell/quickcheck/files/digest-quickcheck-1.0.13
-rw-r--r--dev-haskell/quickcheck/quickcheck-1.0.1.ebuild28
3 files changed, 37 insertions, 1 deletions
diff --git a/dev-haskell/quickcheck/ChangeLog b/dev-haskell/quickcheck/ChangeLog
index f97b94d40894..c4e1f9579e6e 100644
--- a/dev-haskell/quickcheck/ChangeLog
+++ b/dev-haskell/quickcheck/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-haskell/quickcheck
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/quickcheck/ChangeLog,v 1.16 2007/07/08 15:49:29 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/quickcheck/ChangeLog,v 1.17 2007/07/08 17:39:31 dcoutts Exp $
+
+*quickcheck-1.0.1 (08 Jul 2007)
+
+ 08 Jul 2007; Duncan Coutts <dcoutts@gentoo.org> +quickcheck-1.0.1.ebuild:
+ New version from ghc-6.6.1 extralibs collection.
08 Jul 2007; Duncan Coutts <dcoutts@gentoo.org> quickcheck-1.0-r1.ebuild:
Use dev-lang/ghc rather than virtual/ghc.
diff --git a/dev-haskell/quickcheck/files/digest-quickcheck-1.0.1 b/dev-haskell/quickcheck/files/digest-quickcheck-1.0.1
new file mode 100644
index 000000000000..ca36040367bc
--- /dev/null
+++ b/dev-haskell/quickcheck/files/digest-quickcheck-1.0.1
@@ -0,0 +1,3 @@
+MD5 43a26b81608b206c056adc3032f7da2a ghc-6.6.1-src-extralibs.tar.bz2 1928527
+RMD160 1c18c85d978c4b3369132e247c823aaa90ea8530 ghc-6.6.1-src-extralibs.tar.bz2 1928527
+SHA256 d162a82fc388fdd48c327b09bb6d778f2313d12d5282f3b120ac08a5d4e78902 ghc-6.6.1-src-extralibs.tar.bz2 1928527
diff --git a/dev-haskell/quickcheck/quickcheck-1.0.1.ebuild b/dev-haskell/quickcheck/quickcheck-1.0.1.ebuild
new file mode 100644
index 000000000000..320195a56f56
--- /dev/null
+++ b/dev-haskell/quickcheck/quickcheck-1.0.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/quickcheck/quickcheck-1.0.1.ebuild,v 1.1 2007/07/08 17:39:31 dcoutts Exp $
+
+CABAL_FEATURES="lib profile haddock"
+inherit base haskell-cabal
+
+MY_PN=QuickCheck
+GHC_PV=6.6.1
+
+DESCRIPTION="An automatic, specification based testing utility for Haskell programs"
+HOMEPAGE="http://haskell.org/ghc/"
+SRC_URI="http://www.haskell.org/ghc/dist/${GHC_PV}/ghc-${GHC_PV}-src-extralibs.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/ghc-6.6"
+
+S="${WORKDIR}/ghc-${GHC_PV}/libraries/${MY_PN}"
+
+# Sadly Setup.hs in the ghc-6.6.1 extralibs was not tested with Cabal-1.1.6.x
+src_unpack() {
+ unpack "${A}"
+ sed -i -e "/type Hook/ s/UserHooks/Maybe UserHooks/" ${S}/Setup.hs
+}