summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Kolmodin <kolmodin@gentoo.org>2010-06-30 17:57:45 +0000
committerLennart Kolmodin <kolmodin@gentoo.org>2010-06-30 17:57:45 +0000
commit668ca6b499249e6a9a5999771554dca20d538ffe (patch)
tree60d14035c6eed07e923ef552fedb8199048ed997 /dev-haskell/missingh
parentBump dev-haskell/time to 1.1.4 (requires >=ghc-6.10) (diff)
downloadgentoo-2-668ca6b499249e6a9a5999771554dca20d538ffe.tar.gz
gentoo-2-668ca6b499249e6a9a5999771554dca20d538ffe.tar.bz2
gentoo-2-668ca6b499249e6a9a5999771554dca20d538ffe.zip
Bump dev-haskell/missingh.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-haskell/missingh')
-rw-r--r--dev-haskell/missingh/ChangeLog6
-rw-r--r--dev-haskell/missingh/missingh-1.1.0.3.ebuild46
2 files changed, 51 insertions, 1 deletions
diff --git a/dev-haskell/missingh/ChangeLog b/dev-haskell/missingh/ChangeLog
index 3d755eb0dc4b..767a23f49e0d 100644
--- a/dev-haskell/missingh/ChangeLog
+++ b/dev-haskell/missingh/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-haskell/missingh
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/missingh/ChangeLog,v 1.13 2010/06/16 23:13:15 kolmodin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/missingh/ChangeLog,v 1.14 2010/06/30 17:57:45 kolmodin Exp $
+
+ 30 Jun 2010; Lennart Kolmodin <kolmodin@gentoo.org>
+ +missingh-1.1.0.3.ebuild:
+ Bump version. Builds with newer versions of HUnit. See bug #326259.
16 Jun 2010; Lennart Kolmodin <kolmodin@gentoo.org>
missingh-0.18.6.ebuild:
diff --git a/dev-haskell/missingh/missingh-1.1.0.3.ebuild b/dev-haskell/missingh/missingh-1.1.0.3.ebuild
new file mode 100644
index 000000000000..20abd537697a
--- /dev/null
+++ b/dev-haskell/missingh/missingh-1.1.0.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/missingh/missingh-1.1.0.3.ebuild,v 1.1 2010/06/30 17:57:45 kolmodin Exp $
+
+CABAL_FEATURES="bin lib profile haddock hscolour"
+inherit haskell-cabal
+
+MY_PN="MissingH"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Large utility library"
+HOMEPAGE="http://software.complete.org/missingh"
+SRC_URI="http://hackage.haskell.org/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE=""
+
+# testpack dependency is a workaround for cabal-1.8 bug, which pulls
+# depends even for 'Buildable: false' target
+RDEPEND=">=dev-lang/ghc-6.10
+ dev-haskell/hslogger
+ dev-haskell/hunit
+ dev-haskell/mtl
+ dev-haskell/network
+ dev-haskell/parsec
+ dev-haskell/regex-compat"
+
+DEPEND=">=dev-haskell/cabal-1.2.3
+ virtual/libiconv
+ ${RDEPEND}"
+
+# libiconv is needed for the trick below to make it compile with ghc-6.12
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack $A
+ cd "${S}"
+
+ # (non-ASCII non-UTF-8 source breaks hscolour)
+ cd src/System/Time
+ mv ParseDate.hs ParseDate.hs.ISO-8859-1
+ iconv -f ISO-8859-1 -t UTF-8 -c ParseDate.hs.ISO-8859-1 > ParseDate.hs || die "unable to recode ParseDate.hs to UTF-8"
+}