diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-lang/epic | |
download | gentoo-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-lang/epic')
-rw-r--r-- | dev-lang/epic/Manifest | 4 | ||||
-rw-r--r-- | dev-lang/epic/epic-0.9.2.ebuild | 27 | ||||
-rw-r--r-- | dev-lang/epic/epic-0.9.3.2.ebuild | 33 | ||||
-rw-r--r-- | dev-lang/epic/epic-0.9.3.3.ebuild | 34 | ||||
-rw-r--r-- | dev-lang/epic/epic-0.9.3.ebuild | 29 | ||||
-rw-r--r-- | dev-lang/epic/files/epic-0.9.3-ghc-7.6.patch | 53 | ||||
-rw-r--r-- | dev-lang/epic/files/respect-user-cflags.patch | 13 | ||||
-rw-r--r-- | dev-lang/epic/metadata.xml | 17 |
8 files changed, 210 insertions, 0 deletions
diff --git a/dev-lang/epic/Manifest b/dev-lang/epic/Manifest new file mode 100644 index 000000000000..5b4e80be0bf1 --- /dev/null +++ b/dev-lang/epic/Manifest @@ -0,0 +1,4 @@ +DIST epic-0.9.2.tar.gz 65607 SHA256 dca5fb553e383ff1984fb4de9e734a6c4a1390290aafa7bf5b4718d7d1743bc7 SHA512 f9ec3011e8e54d061180a1b3f945158741b35f91ee75ea065df2871d2a872ab8117bb5d34912e4ef84fd39c681eff10fb070a2fdfb23342bfc23aed5bd61534e WHIRLPOOL 85e9982abffd84eea89436912fbccf8e1aa131c9eebcf0354fdea20d321f6f9b3c40eccd6e9044c6c9fa76967180f761fc10928eda501ee17c1c2164e08fa3b5 +DIST epic-0.9.3.2.tar.gz 87050 SHA256 30f5fc0fcd67461c9b19a7ab8d50ef9ddc44430e4fb699171091116df552e3d0 SHA512 de265363ef57500ff544d8fcba5cae95bdd8f5562dff3191595f75a1e37658c1906ffa36b1252e21be06143e0f9096e606f1c59bcaff1026972d70595c76c342 WHIRLPOOL 859308b1ed4b3868cf03b9b68c9de67267f4de5971a81a61e19f65b79e27ca587d40a771285007fb9f730803756b8c5cf521b1c38a71472113524dd8cfa6a3b1 +DIST epic-0.9.3.3.tar.gz 87163 SHA256 559844322f0f3c6d511d70e1a3166175f4aea084ea0e109b161b4d1d4296e82a SHA512 f957eb5402eebad9d52f0d38cf552c00ff5df9caffce97961e761e7c91ed33dee520cb0255f6547db1c05ed6dda7a3e4833d375a5fc0ebe7e94502736a49c566 WHIRLPOOL be19a826d292f490c618659ba8c482cc74cf2239c1585a1d26b62265623858daeb79bdb65b14ede58d0d695a9a0c7f5397d6c3b94c0e5c9326e3b9cc0533096d +DIST epic-0.9.3.tar.gz 86632 SHA256 6708a21cdf226f0a9344afaf1ee25900b74462d94ed681f815252305251d1ef5 SHA512 2db308f62561f6b4dbada2064754e9e9cbac21ebc3148e04dd102c8eeb6e122f1361374a8900a5daadcb1dac823c21cc5f7164b2ca902183e8647e936991ce08 WHIRLPOOL cbd4e03ff0d1db4551224c884517be1dc4f44521434ca32a52df1743eb691ccd9c4157ca01e64258668473984ec44fff215e43647c0eef9aea015f6fe601de37 diff --git a/dev-lang/epic/epic-0.9.2.ebuild b/dev-lang/epic/epic-0.9.2.ebuild new file mode 100644 index 000000000000..6d6ab69f0202 --- /dev/null +++ b/dev-lang/epic/epic-0.9.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# ebuild generated by hackport 0.2.14 + +EAPI="4" + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Compiler for a simple functional language" +HOMEPAGE="http://www.dcs.st-and.ac.uk/~eb/epic.php" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-haskell/cabal + dev-haskell/mtl[profile?] + >=dev-libs/boehm-gc-7.0[threads] + >=dev-lang/ghc-6.10.1" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8.0.4 + dev-haskell/happy" diff --git a/dev-lang/epic/epic-0.9.3.2.ebuild b/dev-lang/epic/epic-0.9.3.2.ebuild new file mode 100644 index 000000000000..7dc8a8442ce7 --- /dev/null +++ b/dev-lang/epic/epic-0.9.3.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.4.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour" +inherit eutils haskell-cabal + +DESCRIPTION="Compiler for a simple functional language" +HOMEPAGE="http://www.dcs.st-and.ac.uk/~eb/epic.php" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-haskell/cabal:=[profile?] + dev-haskell/mtl:=[profile?] + >=dev-libs/boehm-gc-7.0[threads] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8.0.4 +" + +src_prepare() { + # Bug #438422, upstream at https://github.com/edwinb/EpiVM/issues/5. + epatch "${FILESDIR}"/respect-user-cflags.patch +} diff --git a/dev-lang/epic/epic-0.9.3.3.ebuild b/dev-lang/epic/epic-0.9.3.3.ebuild new file mode 100644 index 000000000000..b3201fc5325d --- /dev/null +++ b/dev-lang/epic/epic-0.9.3.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.5.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour" +inherit eutils haskell-cabal + +DESCRIPTION="Compiler for a simple functional language" +HOMEPAGE="http://www.dcs.st-and.ac.uk/~eb/epic.php" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-haskell/cabal:=[profile?] + dev-haskell/mtl:=[profile?] + >=dev-libs/boehm-gc-7.0[threads] + dev-libs/gmp:0 + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8.0.4 +" + +src_prepare() { + # Bug #438422, upstream at https://github.com/edwinb/EpiVM/issues/5. + epatch "${FILESDIR}"/respect-user-cflags.patch +} diff --git a/dev-lang/epic/epic-0.9.3.ebuild b/dev-lang/epic/epic-0.9.3.ebuild new file mode 100644 index 000000000000..6bb5318741ad --- /dev/null +++ b/dev-lang/epic/epic-0.9.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.3.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour" +inherit base haskell-cabal + +DESCRIPTION="Compiler for a simple functional language" +HOMEPAGE="http://www.dcs.st-and.ac.uk/~eb/epic.php" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-haskell/cabal:=[profile?] + dev-haskell/mtl:=[profile?] + >=dev-libs/boehm-gc-7.0[threads] + >=dev-lang/ghc-6.10.4:=" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8.0.4 + dev-haskell/happy" + +PATCHES=("${FILESDIR}/${PN}-0.9.3-ghc-7.6.patch") diff --git a/dev-lang/epic/files/epic-0.9.3-ghc-7.6.patch b/dev-lang/epic/files/epic-0.9.3-ghc-7.6.patch new file mode 100644 index 000000000000..d168f032b92f --- /dev/null +++ b/dev-lang/epic/files/epic-0.9.3-ghc-7.6.patch @@ -0,0 +1,53 @@ +--- epic-0.9.3-orig/Epic/Language.lhs 2012-02-28 10:44:29.000000000 +1100 ++++ epic-0.9.3/Epic/Language.lhs 2012-09-14 16:20:29.841939337 +1000 +@@ -1,9 +1,14 @@ +-> {-# LANGUAGE FlexibleInstances, MultiParamTypeClasses, ++> {-# LANGUAGE FlexibleInstances, MultiParamTypeClasses, CPP, + > FunctionalDependencies #-} + + > module Epic.Language where + + > import Control.Monad ++#if MIN_VERSION_base(4,6,0) ++> import Control.Exception.Base ++#endif ++ ++ + > import System.IO + > import System.Directory + > import System.Environment +@@ -379,7 +384,13 @@ + > environment :: String -> IO (Maybe String) + > environment x = catch (do e <- getEnv x + > return (Just e)) +-> (\_ -> return Nothing) ++#if MIN_VERSION_base(4,6,0) ++> (\y-> do return (y::SomeException); return Nothing) ++#endif ++> ++#if !MIN_VERSION_base(4,6,0) ++> (\_-> return Nothing) ++#endif + + Some tests + +--- epic-0.9.3-orig/Epic/CodegenC.lhs 2012-02-28 10:44:29.000000000 +1100 ++++ epic-0.9.3/Epic/CodegenC.lhs 2012-09-14 16:13:48.061329048 +1000 +@@ -1,3 +1,4 @@ ++> {-#LANGUAGE FlexibleContexts#-} + > module Epic.CodegenC where + + > import Control.Monad.State +@@ -98,10 +99,11 @@ + > if (x>max) then put x else return () + + > cgs [] = return "" ++ + > cgs (x:xs) = do xc <- cg x + > xsc <- cgs xs + > return $ xc ++ "\n" ++ xsc +- ++> cg:: (MonadState Int m) => ByteOp -> m [Char] + > cg (CALL t fn args) = return $ tmp t ++ " = " ++ quickcall fn ++ + > targs "(" args ++ ");" + > cg (TAILCALL t fn args) diff --git a/dev-lang/epic/files/respect-user-cflags.patch b/dev-lang/epic/files/respect-user-cflags.patch new file mode 100644 index 000000000000..eedfd253afec --- /dev/null +++ b/dev-lang/epic/files/respect-user-cflags.patch @@ -0,0 +1,13 @@ +diff --git a/evm/Makefile b/evm/Makefile +index 7e6c5ff..f40f1a4 100644 +--- a/evm/Makefile ++++ b/evm/Makefile +@@ -1,6 +1,7 @@ + CC = gcc + #CFLAGS = -Wall -g -DUSE_BOEHM +-CFLAGS = -Wall -O3 -DUSE_BOEHM ++CFLAGS ?= -Wall -O3 ++CFLAGS += -DUSE_BOEHM + OBJS = closure.o stdfuns.o emalloc.o sparks.o + INSTALLDIR = ${PREFIX}/lib/evm + diff --git a/dev-lang/epic/metadata.xml b/dev-lang/epic/metadata.xml new file mode 100644 index 000000000000..b242285af822 --- /dev/null +++ b/dev-lang/epic/metadata.xml @@ -0,0 +1,17 @@ +<?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> + <longdescription> + Epic is a simple functional language which compiles to + reasonably efficient C code, using the Boehm-Demers-Weiser + garbage collector (<http://www.hpl.hp.com/personal/Hans_Boehm/gc/>). + It is intended as a compiler back end, and is currently used + as a back end for Epigram (<http://www.e-pig.org>) and Idris + (<http://idris-lang.org/>). + It can be invoked either as a library or an application. + </longdescription> +</pkgmetadata> |