summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-haskell/haskeline/ChangeLog8
-rw-r--r--dev-haskell/haskeline/files/haskeline-0.6.4.0-ghc-7.2.patch25
-rw-r--r--dev-haskell/haskeline/haskeline-0.6.4.0.ebuild28
3 files changed, 60 insertions, 1 deletions
diff --git a/dev-haskell/haskeline/ChangeLog b/dev-haskell/haskeline/ChangeLog
index cb6b89152103..faa206294b02 100644
--- a/dev-haskell/haskeline/ChangeLog
+++ b/dev-haskell/haskeline/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-haskell/haskeline
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haskeline/ChangeLog,v 1.11 2011/04/10 19:06:58 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haskeline/ChangeLog,v 1.12 2011/08/02 10:36:23 slyfox Exp $
+
+*haskeline-0.6.4.0 (02 Aug 2011)
+
+ 02 Aug 2011; Sergei Trofimovich <slyfox@gentoo.org>
+ +haskeline-0.6.4.0.ebuild, +files/haskeline-0.6.4.0-ghc-7.2.patch:
+ Version bump.
10 Apr 2011; Fabian Groffen <grobian@gentoo.org> haskeline-0.6.2.2.ebuild:
Marked ~x86-macos
diff --git a/dev-haskell/haskeline/files/haskeline-0.6.4.0-ghc-7.2.patch b/dev-haskell/haskeline/files/haskeline-0.6.4.0-ghc-7.2.patch
new file mode 100644
index 000000000000..778035fa68ff
--- /dev/null
+++ b/dev-haskell/haskeline/files/haskeline-0.6.4.0-ghc-7.2.patch
@@ -0,0 +1,25 @@
+diff --git a/haskeline.cabal b/haskeline.cabal
+index a3a200f..119bb3b 100644
+--- a/haskeline.cabal
++++ b/haskeline.cabal
+@@ -50,7 +50,7 @@ Library
+ }
+ else {
+ if impl(ghc>=6.11) {
+- Build-depends: base >=4.1 && < 4.4, containers>=0.1 && < 0.5, directory>=1.0 && < 1.2,
++ Build-depends: base >=4.1 && < 4.5, containers>=0.1 && < 0.5, directory>=1.0 && < 1.2,
+ bytestring==0.9.*
+ }
+ else {
+@@ -102,7 +102,7 @@ Library
+ install-includes: win_console.h
+ cpp-options: -DMINGW
+ } else {
+- Build-depends: unix>=2.0 && < 2.5
++ Build-depends: unix>=2.0 && < 2.6
+ -- unix-2.3 doesn't build on ghc-6.8.1 or earlier
+ c-sources: cbits/h_iconv.c
+ cbits/h_wcwidth.c
+diff --git a/setup b/setup
+index 4cd648f..b2cdb6e 100755
+Binary files a/setup and b/setup differ
diff --git a/dev-haskell/haskeline/haskeline-0.6.4.0.ebuild b/dev-haskell/haskeline/haskeline-0.6.4.0.ebuild
new file mode 100644
index 000000000000..0d7d33e3b306
--- /dev/null
+++ b/dev-haskell/haskeline/haskeline-0.6.4.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haskeline/haskeline-0.6.4.0.ebuild,v 1.1 2011/08/02 10:36:23 slyfox Exp $
+
+# ebuild generated by hackport 0.2.13
+
+EAPI="3"
+
+CABAL_FEATURES="lib profile haddock hscolour"
+inherit base haskell-cabal
+
+DESCRIPTION="A command-line interface for user input, written in Haskell."
+HOMEPAGE="http://trac.haskell.org/haskeline"
+SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x86-macos"
+IUSE=""
+
+RDEPEND="<dev-haskell/mtl-2.1
+ >=dev-haskell/terminfo-0.3.1.3
+ <dev-haskell/utf8-string-0.4
+ >=dev-lang/ghc-6.10.4"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6"
+
+PATCHES=("${FILESDIR}/${PN}-0.6.4.0-ghc-7.2.patch")