summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-haskell/readline
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-haskell/readline')
-rw-r--r--dev-haskell/readline/Manifest2
-rw-r--r--dev-haskell/readline/files/readline-1.0.1.0-ghc-7.6.patch12
-rw-r--r--dev-haskell/readline/metadata.xml8
-rw-r--r--dev-haskell/readline/readline-1.0.1.0.ebuild25
-rw-r--r--dev-haskell/readline/readline-1.0.3.0.ebuild23
5 files changed, 70 insertions, 0 deletions
diff --git a/dev-haskell/readline/Manifest b/dev-haskell/readline/Manifest
new file mode 100644
index 00000000000..da234d5d431
--- /dev/null
+++ b/dev-haskell/readline/Manifest
@@ -0,0 +1,2 @@
+DIST readline-1.0.1.0.tar.gz 52394 SHA256 07f2f039f32bf18838a4875d0f3caa3ed9436dd52b962b2061f0bb8a3316fa1d SHA512 37e710b6f8b24edec0062752b323cea7e88c6cc988b67292b86065f166ec22a3214881421065cb98d18b154919e5ab56e70783f83a8c9a58011c4501d79d02f5 WHIRLPOOL 5fa6ebc94dc86907eceb17e8c5c8f3eadbf89fcb85df0db263c5123ae7057ae899d01ad27b8c269074ed4b228268d364edfcab6ed5d5f342006780ee55aea8bf
+DIST readline-1.0.3.0.tar.gz 52261 SHA256 c0b9e174910620db0edea8f9fd6fb6c1d7b066260d523e9a7208294c46a75feb SHA512 30a8705323fe0185cadccd8ddf7069ce70007a8fc29761f31d0a4d585a5f3b622c9ae71d41577a7eec3a1c6f78949f9c56695df3a7986abef228e7ceb7375520 WHIRLPOOL e799f888656a3e91449583e7098a8bb443a3a4414e38273dad86783304cc004c8f8d8212a04d63eed11b9796fcf872f17b0413c73a0cef3a9c034ceac40ebe78
diff --git a/dev-haskell/readline/files/readline-1.0.1.0-ghc-7.6.patch b/dev-haskell/readline/files/readline-1.0.1.0-ghc-7.6.patch
new file mode 100644
index 00000000000..96ad676a439
--- /dev/null
+++ b/dev-haskell/readline/files/readline-1.0.1.0-ghc-7.6.patch
@@ -0,0 +1,12 @@
+--- readline-1.0.1.0-orig/System/Console/Readline.hsc 2007-11-06 02:25:00.000000000 +1100
++++ readline-1.0.1.0/System/Console/Readline.hsc 2012-09-15 17:30:53.690973810 +1000
+@@ -298,6 +298,9 @@
+ import Foreign.C.Types ( CInt, CChar, CFile )
+ import Foreign.C.String ( newCString, peekCString, withCString,
+ castCharToCChar, castCCharToChar )
++#if (__GLASGOW_HASKELL__>=705)
++import Foreign.C.Types(CInt(..))
++#endif
+ import GHC.Handle ( fdToHandle )
+
+ {-# CFILES HsReadline_cbits.c #-}
diff --git a/dev-haskell/readline/metadata.xml b/dev-haskell/readline/metadata.xml
new file mode 100644
index 00000000000..8c66906af53
--- /dev/null
+++ b/dev-haskell/readline/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>haskell</herd>
+<maintainer>
+ <email>haskell@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-haskell/readline/readline-1.0.1.0.ebuild b/dev-haskell/readline/readline-1.0.1.0.ebuild
new file mode 100644
index 00000000000..64e582e94cb
--- /dev/null
+++ b/dev-haskell/readline/readline-1.0.1.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+CABAL_FEATURES="haddock lib profile"
+inherit base haskell-cabal
+
+DESCRIPTION="An interface to the GNU readline library"
+HOMEPAGE="http://hackage.haskell.org/package/readline"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/ghc-6.4"
+DEPEND="${RDEPEND}"
+
+CABAL_CORE_LIB_GHC_PV="6.8.1 6.8.2 6.8.3 6.10.1 6.10.2"
+
+PATCHES=("${FILESDIR}/${PN}-1.0.1.0-ghc-7.6.patch")
diff --git a/dev-haskell/readline/readline-1.0.3.0.ebuild b/dev-haskell/readline/readline-1.0.3.0.ebuild
new file mode 100644
index 00000000000..7c784ea95e5
--- /dev/null
+++ b/dev-haskell/readline/readline-1.0.3.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="An interface to the GNU readline library"
+HOMEPAGE="http://hackage.haskell.org/package/readline"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2"