diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-haskell/hscolour | |
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-haskell/hscolour')
-rw-r--r-- | dev-haskell/hscolour/Manifest | 4 | ||||
-rw-r--r-- | dev-haskell/hscolour/files/hscolour-1.19-ghc-7.5.patch | 45 | ||||
-rw-r--r-- | dev-haskell/hscolour/hscolour-1.17.ebuild | 19 | ||||
-rw-r--r-- | dev-haskell/hscolour/hscolour-1.19.ebuild | 30 | ||||
-rw-r--r-- | dev-haskell/hscolour/hscolour-1.20.3-r1.ebuild | 35 | ||||
-rw-r--r-- | dev-haskell/hscolour/hscolour-1.22.ebuild | 35 | ||||
-rw-r--r-- | dev-haskell/hscolour/metadata.xml | 8 |
7 files changed, 176 insertions, 0 deletions
diff --git a/dev-haskell/hscolour/Manifest b/dev-haskell/hscolour/Manifest new file mode 100644 index 000000000000..4d433c3a1bb8 --- /dev/null +++ b/dev-haskell/hscolour/Manifest @@ -0,0 +1,4 @@ +DIST hscolour-1.17.tar.gz 20801 SHA256 b645cdde1b7827dae1519a4423031b4c6bed82a8edb52aa295bea86478ce24b0 SHA512 16cbe462c91fd32b474f0b6346ba24ffc8eaa344498413c1071a65bd8d97488de9f77af7918899efc9145112923a9f2b06722f8584f403dfec21a029c181a2a0 WHIRLPOOL 02be9393125569d4c305deb65bd5ac7438927200f5348e0356f5c2d31f0c7f34c8e96748e6a2be9053d384fcb10eba073794a95ba816e8431779bf8d3f804b08 +DIST hscolour-1.19.tar.gz 25466 SHA256 7f9d2cfafbd300793686fd4e9f4ddb3f6463f300a22129db898db47956689f9f SHA512 8f2a9f16cf82fbe41513600c210a0d3af58f1b06ab1ed14a2493203cfce20a8ac959b3a34966273277ac3ceaf3b4916e82892880dd7685f8de12b2636bf53ae1 WHIRLPOOL 051874e224c5fdac14f122143ddfa9577bab7cbd1142ed97f57801204f2df2de76141dc31241eac53c02920d85895f5c57f02b81c5648725d76b1e34133eebbd +DIST hscolour-1.20.3.tar.gz 25810 SHA256 3adb816fba3ecdf9f1ee5fb23feb0611b0762f7e8c2a282c2def5cc2f5483d96 SHA512 759f0a3c3c36b48db7932477468f1c5de8fddec654010dbbd0d136e0f8a8f4e3c34bc9349467766a1cb90ffb56b950ee6b7926f4f62dcb68f8e048e2c212d853 WHIRLPOOL bb4f56404fb4c4f6ec563005ed1359276b0c16c3719dcfe0a8479cf62128e010b868836c55927e5d1a9d3f2ad5045f4f9d93516502380975c8cf71fb1d3e0878 +DIST hscolour-1.22.tar.gz 25979 SHA256 3c8fae274c63d4dd6bce8fd3017be84e4bccc50585900eeb792c0eb9efee15c7 SHA512 9762599fb4eef8f68a0a40ddfc8e7f50eb8592b1b3d7e4c8177f23f08300264c80a73dbedbe954fbcb9ff3fe1b80497b131e3f8d9adb8c1697d7195d48ef69a0 WHIRLPOOL 6f4a636964cbaff83903511b938042e4b475347ec1bfe421b2a484a66da557b55093303b559d83a25ab31e17ed4266841adb95c9e3ab7b777ab8bd2603268cc9 diff --git a/dev-haskell/hscolour/files/hscolour-1.19-ghc-7.5.patch b/dev-haskell/hscolour/files/hscolour-1.19-ghc-7.5.patch new file mode 100644 index 000000000000..25e29728ca3a --- /dev/null +++ b/dev-haskell/hscolour/files/hscolour-1.19-ghc-7.5.patch @@ -0,0 +1,45 @@ +--- hscolour-1.19-orig/Language/Haskell/HsColour/Colourise.hs 2011-06-06 03:05:04.000000000 +1000 ++++ hscolour-1.19/Language/Haskell/HsColour/Colourise.hs 2012-06-24 10:29:57.990963394 +1000 +@@ -1,3 +1,7 @@ ++{-# LANGUAGE CPP #-} ++#if (__GLASGOW_HASKELL__>=705) ++{-# LANGUAGE ScopedTypeVariables #-} ++#endif + module Language.Haskell.HsColour.Colourise + ( module Language.Haskell.HsColour.ColourHighlight + , ColourPrefs(..) +@@ -9,6 +13,9 @@ + import Language.Haskell.HsColour.ColourHighlight + import Language.Haskell.HsColour.Classify (TokenType(..)) + ++#if (__GLASGOW_HASKELL__>=705) ++import Control.Exception (catch, SomeException) ++#endif + import System.IO (hPutStrLn,stderr) + import System.Environment (getEnv) + import Data.List +@@ -51,6 +58,16 @@ + -- | Read colour preferences from .hscolour file in the current directory, or failing that, + -- from \$HOME\/.hscolour, and failing that, returns a default set of prefs. + readColourPrefs :: IO ColourPrefs ++#if (__GLASGOW_HASKELL__>=705) ++readColourPrefs = catch ++ (do val <- readFile ".hscolour" ++ parseColourPrefs ".hscolour" val) ++ (\(_ :: SomeException) -> catch ++ (do home <- getEnv "HOME" ++ val <- readFile (home++"/.hscolour") ++ parseColourPrefs (home++"/.hscolour") val) ++ (\(_ :: SomeException) -> return defaultColourPrefs)) ++#else + readColourPrefs = catch + (do val <- readFile ".hscolour" + parseColourPrefs ".hscolour" val) +@@ -59,6 +76,7 @@ + val <- readFile (home++"/.hscolour") + parseColourPrefs (home++"/.hscolour") val) + (\_-> return defaultColourPrefs)) ++#endif + + -- | Convert token classification to colour highlights. + colourise :: ColourPrefs -> TokenType -> [Highlight] diff --git a/dev-haskell/hscolour/hscolour-1.17.ebuild b/dev-haskell/hscolour/hscolour-1.17.ebuild new file mode 100644 index 000000000000..10337ff5c005 --- /dev/null +++ b/dev-haskell/hscolour/hscolour-1.17.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +CABAL_FEATURES="bin lib profile haddock" +inherit base haskell-cabal + +DESCRIPTION="Colourise Haskell code" +HOMEPAGE="http://www.cs.york.ac.uk/fp/darcs/hscolour/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=dev-lang/ghc-6.6.1" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6" diff --git a/dev-haskell/hscolour/hscolour-1.19.ebuild b/dev-haskell/hscolour/hscolour-1.19.ebuild new file mode 100644 index 000000000000..7543a501c03d --- /dev/null +++ b/dev-haskell/hscolour/hscolour-1.19.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +CABAL_FEATURES="bin lib profile haddock" +inherit base haskell-cabal + +DESCRIPTION="Colourise Haskell code" +HOMEPAGE="http://code.haskell.org/~malcolm/hscolour/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=dev-lang/ghc-6.6.1" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6" + +PATCHES=("${FILESDIR}/${PN}-1.19-ghc-7.5.patch") + +src_install() { + cabal_src_install + if use doc; then + dohtml hscolour.css + fi +} diff --git a/dev-haskell/hscolour/hscolour-1.20.3-r1.ebuild b/dev-haskell/hscolour/hscolour-1.20.3-r1.ebuild new file mode 100644 index 000000000000..b13f8fbd6f70 --- /dev/null +++ b/dev-haskell/hscolour/hscolour-1.20.3-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.3.9999 + +# disabled haddock as there is USE="doc hscolour" case with circular depends +CABAL_FEATURES="bin lib profile" +inherit haskell-cabal + +DESCRIPTION="Colourise Haskell code" +HOMEPAGE="http://code.haskell.org/~malcolm/hscolour/" +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 ~x86-fbsd" +IUSE="doc" + +RDEPEND=">=dev-lang/ghc-6.10.4:=" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6" + +src_configure() { + haskell-cabal_src_configure --ghc-options=-rtsopts +} + +src_install() { + cabal_src_install + if use doc; then + dohtml hscolour.css + fi +} diff --git a/dev-haskell/hscolour/hscolour-1.22.ebuild b/dev-haskell/hscolour/hscolour-1.22.ebuild new file mode 100644 index 000000000000..433b80265b4f --- /dev/null +++ b/dev-haskell/hscolour/hscolour-1.22.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.3.9999 + +# disabled haddock as there is USE="doc hscolour" case with circular depends +CABAL_FEATURES="bin lib profile" +inherit haskell-cabal + +DESCRIPTION="Colourise Haskell code" +HOMEPAGE="http://code.haskell.org/~malcolm/hscolour/" +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 ~x86-fbsd" +IUSE="doc" + +RDEPEND=">=dev-lang/ghc-6.10.4:=" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6" + +src_configure() { + haskell-cabal_src_configure --ghc-options=-rtsopts +} + +src_install() { + cabal_src_install + if use doc; then + dohtml hscolour.css + fi +} diff --git a/dev-haskell/hscolour/metadata.xml b/dev-haskell/hscolour/metadata.xml new file mode 100644 index 000000000000..8c66906af531 --- /dev/null +++ b/dev-haskell/hscolour/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> |