summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Coutts <dcoutts@gentoo.org>2007-07-08 17:41:57 +0000
committerDuncan Coutts <dcoutts@gentoo.org>2007-07-08 17:41:57 +0000
commit1fbc18b903c06187be3f7d09e77da4b5474f220e (patch)
tree389f5100b47a94bcad54757e95381ed40879436d /dev-haskell/time
parentVersion bump (diff)
downloadhistorical-1fbc18b903c06187be3f7d09e77da4b5474f220e.tar.gz
historical-1fbc18b903c06187be3f7d09e77da4b5474f220e.tar.bz2
historical-1fbc18b903c06187be3f7d09e77da4b5474f220e.zip
New version from ghc-6.6.1 extralibs collection.
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'dev-haskell/time')
-rw-r--r--dev-haskell/time/ChangeLog7
-rw-r--r--dev-haskell/time/files/digest-time-1.1.13
-rw-r--r--dev-haskell/time/time-1.1.1.ebuild30
3 files changed, 39 insertions, 1 deletions
diff --git a/dev-haskell/time/ChangeLog b/dev-haskell/time/ChangeLog
index f3ebed236c6f..bc3db8c149ad 100644
--- a/dev-haskell/time/ChangeLog
+++ b/dev-haskell/time/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-haskell/time
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/time/ChangeLog,v 1.4 2007/07/08 15:49:56 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/time/ChangeLog,v 1.5 2007/07/08 17:41:01 dcoutts Exp $
+
+*time-1.1.1 (08 Jul 2007)
+
+ 08 Jul 2007; Duncan Coutts <dcoutts@gentoo.org> +time-1.1.1.ebuild:
+ New version from ghc-6.6.1 extralibs collection.
08 Jul 2007; Duncan Coutts <dcoutts@gentoo.org> time-1.0.ebuild:
Use dev-lang/ghc rather than virtual/ghc.
diff --git a/dev-haskell/time/files/digest-time-1.1.1 b/dev-haskell/time/files/digest-time-1.1.1
new file mode 100644
index 000000000000..ca36040367bc
--- /dev/null
+++ b/dev-haskell/time/files/digest-time-1.1.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/time/time-1.1.1.ebuild b/dev-haskell/time/time-1.1.1.ebuild
new file mode 100644
index 000000000000..b4fdd4ea7a4d
--- /dev/null
+++ b/dev-haskell/time/time-1.1.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/time/time-1.1.1.ebuild,v 1.1 2007/07/08 17:41:01 dcoutts Exp $
+
+CABAL_FEATURES="lib profile haddock"
+inherit haskell-cabal
+
+GHC_PV=6.6.1
+
+DESCRIPTION="A Haskell time library."
+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/${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 -e "/type Hook/ s/UserHooks/Maybe UserHooks/" \
+ -e "/^runTestScript ::/ d" \
+ -e "s/maybeExit \\\$ //" \
+ -i ${S}/Setup.hs
+}