summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2011-08-01 20:36:09 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2011-08-01 20:36:09 +0000
commitd9b0d6feb74f6a450ec42263963a103ea8858608 (patch)
tree99a6853965db309e418c7f86a6c6ceb1973f1a10 /dev-haskell/c2hs
parentRemoved old. (diff)
downloadgentoo-2-d9b0d6feb74f6a450ec42263963a103ea8858608.tar.gz
gentoo-2-d9b0d6feb74f6a450ec42263963a103ea8858608.tar.bz2
gentoo-2-d9b0d6feb74f6a450ec42263963a103ea8858608.zip
Removed old.
(Portage version: 2.1.10.7/cvs/Linux x86_64)
Diffstat (limited to 'dev-haskell/c2hs')
-rw-r--r--dev-haskell/c2hs/ChangeLog7
-rw-r--r--dev-haskell/c2hs/c2hs-0.14.5.ebuild34
-rw-r--r--dev-haskell/c2hs/c2hs-0.15.1.ebuild27
-rw-r--r--dev-haskell/c2hs/c2hs-0.16.0.ebuild41
-rw-r--r--dev-haskell/c2hs/files/c2hs-0.14.5-ghc66.patch50
-rw-r--r--dev-haskell/c2hs/files/ghc622inc.patch9
-rw-r--r--dev-haskell/c2hs/files/setupfix.patch19
7 files changed, 6 insertions, 181 deletions
diff --git a/dev-haskell/c2hs/ChangeLog b/dev-haskell/c2hs/ChangeLog
index b920a6f3440a..bcb1e9140d0c 100644
--- a/dev-haskell/c2hs/ChangeLog
+++ b/dev-haskell/c2hs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-haskell/c2hs
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/c2hs/ChangeLog,v 1.39 2011/02/25 12:48:52 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/c2hs/ChangeLog,v 1.40 2011/08/01 20:36:09 slyfox Exp $
+
+ 01 Aug 2011; Sergei Trofimovich <slyfox@gentoo.org> -c2hs-0.14.5.ebuild,
+ -files/c2hs-0.14.5-ghc66.patch, -c2hs-0.15.1.ebuild, -c2hs-0.16.0.ebuild,
+ -files/ghc622inc.patch, -files/setupfix.patch:
+ Removed old.
25 Feb 2011; Kacper Kowalik <xarthisius@gentoo.org> c2hs-0.16.2.ebuild:
ppc/ppc64 stable wrt #339161
diff --git a/dev-haskell/c2hs/c2hs-0.14.5.ebuild b/dev-haskell/c2hs/c2hs-0.14.5.ebuild
deleted file mode 100644
index 800d718bf2f9..000000000000
--- a/dev-haskell/c2hs/c2hs-0.14.5.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/c2hs/c2hs-0.14.5.ebuild,v 1.14 2010/04/11 18:27:53 armin76 Exp $
-
-CABAL_FEATURES="bin"
-inherit base eutils haskell-cabal
-
-DESCRIPTION="An interface generator for Haskell"
-HOMEPAGE="http://www.cse.unsw.edu.au/~chak/haskell/c2hs/"
-SRC_URI="http://www.cse.unsw.edu.au/~chak/haskell/c2hs/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE=""
-
-DEPEND=">=dev-lang/ghc-6.4"
-
-src_unpack() {
- base_src_unpack
- cd "${S}"
- epatch "${FILESDIR}/setupfix.patch"
- epatch "${FILESDIR}/ghc622inc.patch"
- epatch "${FILESDIR}/${P}-ghc66.patch"
-}
-src_install() {
- cabal_src_install
- exeinto /usr
- dobin c2hs/c2hs
- insinto "/usr/lib/${P}"
- doins "${S}/c2hs/lib/C2HS.hs"
- exeinto "/usr/lib/${P}"
- doexe dist/build/c2hs/c2hs
-}
diff --git a/dev-haskell/c2hs/c2hs-0.15.1.ebuild b/dev-haskell/c2hs/c2hs-0.15.1.ebuild
deleted file mode 100644
index 9f25ecf651ac..000000000000
--- a/dev-haskell/c2hs/c2hs-0.15.1.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/c2hs/c2hs-0.15.1.ebuild,v 1.3 2010/06/16 22:37:13 kolmodin Exp $
-
-CABAL_FEATURES="bin"
-CABAL_MIN_VERSION=1.2
-inherit base eutils haskell-cabal
-
-DESCRIPTION="An interface generator for Haskell"
-HOMEPAGE="http://www.cse.unsw.edu.au/~chak/haskell/c2hs/"
-SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc"
-
-DEPEND=">=dev-lang/ghc-6.6.1"
-
-src_install() {
- cabal_src_install
-
- if use doc; then
- doman "${S}/doc/man1/c2hs.1"
- dohtml "${S}/doc/users_guide/"*
- fi
-}
diff --git a/dev-haskell/c2hs/c2hs-0.16.0.ebuild b/dev-haskell/c2hs/c2hs-0.16.0.ebuild
deleted file mode 100644
index 6dcf3b09d9b5..000000000000
--- a/dev-haskell/c2hs/c2hs-0.16.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/c2hs/c2hs-0.16.0.ebuild,v 1.6 2010/06/16 22:37:13 kolmodin Exp $
-
-CABAL_FEATURES="bin"
-inherit haskell-cabal
-
-DESCRIPTION="C->Haskell FFI tool that gives some cross-language type safety"
-HOMEPAGE="http://www.cse.unsw.edu.au/~chak/haskell/c2hs/"
-SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 x86"
-IUSE="doc"
-
-DEPEND=">=dev-lang/ghc-6.6.1
- >=dev-haskell/cabal-1.2
- >=dev-haskell/language-c-0.3.1.1
- doc? ( ~app-text/docbook-xml-dtd-4.2
- app-text/docbook-xsl-stylesheets
- >=dev-libs/libxslt-1.1.2 )"
-RDEPEND="dev-libs/gmp"
-
-src_compile() {
- cabal_src_compile
-
- if use doc; then
- emake -C doc
- fi
-}
-
-src_install() {
- cabal_src_install
-
- doman "${S}/doc/man1/c2hs.1"
-
- if use doc; then
- dohtml "${S}/doc/users_guide/"*
- fi
-}
diff --git a/dev-haskell/c2hs/files/c2hs-0.14.5-ghc66.patch b/dev-haskell/c2hs/files/c2hs-0.14.5-ghc66.patch
deleted file mode 100644
index 4662e70cb57f..000000000000
--- a/dev-haskell/c2hs/files/c2hs-0.14.5-ghc66.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff -urwpN c2hs-0.14.5.orig/c2hs/c/CLexer.hs c2hs-0.14.5/c2hs/c/CLexer.hs
---- c2hs-0.14.5.orig/c2hs/c/CLexer.hs 2005-08-07 14:01:44.000000000 +0100
-+++ c2hs-0.14.5/c2hs/c/CLexer.hs 2006-09-12 10:15:00.000000000 +0100
-@@ -13,7 +13,7 @@ import UNames (Name)
- import Idents (Ident, lexemeToIdent, identToLexeme)
-
- import Data.Set (Set)
--import qualified Data.Set as Set (mkSet, addToSet, elementOf)
-+import qualified Data.Set as Set (fromList, insert, member)
-
-
- #if __GLASGOW_HASKELL__ >= 603
-@@ -413,7 +413,7 @@ idkwtok cs = \pos -> do
- name <- getNewName
- tdefs <- getTypedefs
- let ident = lexemeToIdent pos cs name
-- if ident `Set.elementOf` tdefs
-+ if ident `Set.member` tdefs
- then return (CTokTyIdent pos ident)
- else return (CTokIdent pos ident)
-
-@@ -526,7 +526,7 @@ execParser (P parser) input pos builtins
- alex_inp = input,
- alex_last = interr "CLexer.execParser: Touched undefined token!",
- alex_names = names,
-- alex_tdefs = Set.mkSet builtins
-+ alex_tdefs = Set.fromList builtins
- }
-
- {-# INLINE returnP #-}
-@@ -571,7 +571,7 @@ getTypedefs = P $ \s@PState{alex_tdefs=t
-
- addTypedef :: Ident -> P ()
- addTypedef ident = (P $ \s@PState{alex_tdefs=tdefs} ->
-- POk s{alex_tdefs = tdefs `Set.addToSet` ident} ())
-+ POk s{alex_tdefs = Set.insert ident tdefs} ())
-
- getInput :: P AlexInput
- getInput = P $ \s@PState{alex_pos=p, alex_inp=i} -> POk s (p,i)
-diff -urwpN c2hs-0.14.5.orig/c2hs/c/CParser.hs c2hs-0.14.5/c2hs/c/CParser.hs
---- c2hs-0.14.5.orig/c2hs/c/CParser.hs 2005-08-07 14:01:47.000000000 +0100
-+++ c2hs-0.14.5/c2hs/c/CParser.hs 2006-09-12 10:18:10.000000000 +0100
-@@ -5,7 +5,6 @@ import Monad (when)
- import Maybe (catMaybes)
-
- import Common (Position, Pos(..), nopos)
--import Data.Set (Set, mkSet, union, elementOf)
- import Utils (Tag(tag))
- import UNames (Name, NameSupply, names)
- import Idents (Ident)
diff --git a/dev-haskell/c2hs/files/ghc622inc.patch b/dev-haskell/c2hs/files/ghc622inc.patch
deleted file mode 100644
index e2030c6dc682..000000000000
--- a/dev-haskell/c2hs/files/ghc622inc.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- c2hs-0.14.5.orig/c2hs.cabal 2006-02-18 18:12:23.000000000 +0000
-+++ c2hs-0.14.5/c2hs.cabal 2006-02-18 13:32:47.000000000 +0000
-@@ -76,5 +76,5 @@
- C2HSConfig
- Version
- Extensions: ForeignFunctionInterface
--Ghc-Options: -O
-+Ghc-Options: -O -Ic2hs/toplevel
- C-Sources: c2hs/toplevel/c2hs_config.c
diff --git a/dev-haskell/c2hs/files/setupfix.patch b/dev-haskell/c2hs/files/setupfix.patch
deleted file mode 100644
index 6e70a8253e8a..000000000000
--- a/dev-haskell/c2hs/files/setupfix.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- Setup.hs 2005-07-14 09:58:25.000000000 +0200
-+++ Setup.hs 2005-07-28 19:06:11.000000000 +0200
-@@ -8,15 +8,5 @@
- import Distribution.Setup
- import Distribution.Simple.LocalBuildInfo
-
--main = defaultMainWithHooks defaultUserHooks {postInst = addWrapperAndLib}
-+main = defaultMainWithHooks defaultUserHooks
-
---- Install the c2hs shell script wrapper that passes the --data options as
---- well as the `C2HS' library module.
----
---- * We need to do this via a shell script that has been munged by ./configure,
---- as Cabal doesn't give us enough info (eg, no package name and version) to
---- do it all in Haskell.
----
--addWrapperAndLib :: Args -> InstallFlags -> LocalBuildInfo -> IO ExitCode
--addWrapperAndLib _ _ _ =
-- system "./postInst.sh"