diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-haskell/hscolour |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-haskell/hscolour')
-rw-r--r-- | dev-haskell/hscolour/Manifest | 16 | ||||
-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 | 18 | ||||
-rw-r--r-- | dev-haskell/hscolour/hscolour-1.19.ebuild | 29 | ||||
-rw-r--r-- | dev-haskell/hscolour/hscolour-1.20.3-r1.ebuild | 34 | ||||
-rw-r--r-- | dev-haskell/hscolour/hscolour-1.22.ebuild | 34 | ||||
-rw-r--r-- | dev-haskell/hscolour/hscolour-1.23-r1.ebuild | 36 | ||||
-rw-r--r-- | dev-haskell/hscolour/hscolour-1.24.ebuild | 36 | ||||
-rw-r--r-- | dev-haskell/hscolour/metadata.xml | 7 |
9 files changed, 255 insertions, 0 deletions
diff --git a/dev-haskell/hscolour/Manifest b/dev-haskell/hscolour/Manifest new file mode 100644 index 000000000000..9e279145e67b --- /dev/null +++ b/dev-haskell/hscolour/Manifest @@ -0,0 +1,16 @@ +AUX hscolour-1.19-ghc-7.5.patch 1701 SHA256 7a21513c83b979b6ec80f4316f2cbca0e66007bdd76ac3d85a93310761ffd2b7 SHA512 302fe056e61d58537c2010c2d286ff6abf1b4eea25beb9b2069492000b1edc257830892369bd16576675d00fb376c04f83f17508b9491140ee92d062b9736c29 WHIRLPOOL e436b30e1cd4abc7f742e58e9e55095fa495ba2e51c231fca4ac0d2330298e4db883365f0afbe8a7a472159f4f89bdf180582fa2b41beb0cb3919db5fccbaa54 +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 +DIST hscolour-1.23.tar.gz 26027 SHA256 97167eaecc309eff51317d6e925881bc9f27921bd52692121f0fc5aaee1791b0 SHA512 a1525e0827bc399c0747898c814ad4b7947620c610e6ec579afa120ddb5f1d012f7f10547f09dd10e0bba9cd89cd220ab204ee0e40c37f0048c7222db04de23f WHIRLPOOL 03dd2e658f3cfed1dfd1a429a698a58ecaa0239d4bccaa19180ed60056da8e7da09810587e1d53e38ceb521ae1cdf1d601d3856ad9bbce4d8d07aadff430ced0 +DIST hscolour-1.24.tar.gz 26057 SHA256 54bc45137ba06bd876cf98424f974e325e9b236bd5c18d1c5b2ea0351b1d9332 SHA512 c191375ccbda80d6f7271cff69648151fe6142e72d9a47cfba71176ab89cb9740a008020e1a48a106d5f10516eec03ed68ca7610736f6ab6fba84f85fedb0fb7 WHIRLPOOL 485842928c0c6d5a926b7d94fcae8d7520f030d4c8069b2ab99ab54f7caa1a1e1a29f7b1127f067dffaa8ca1396bd027838ec43d4ead85270c886345f09ec9bc +EBUILD hscolour-1.17.ebuild 506 SHA256 5f2315d6841ef58d5851e89dfe174b48a755cb8fef319ee6a52f42340dda6167 SHA512 fcd2b6609d84cf24dac00b992ceb597593adf31b59742daa919b570e2ffd88c6460f0ce943085d52affd336b099c612e4afea59746e81da2cc7eba4f1260c48b WHIRLPOOL 48b1404330d539ce88070ca2f7e9eef8aef6379af120592fea3d0e9806c8ae8628971b21e5a8242f2932870722e463f6c529f7106a0e05084250699cc8ca4513 +EBUILD hscolour-1.19.ebuild 646 SHA256 e9b71d2d5aabd6cf992109b287fec9dca715367df8a5ce8a768eb16e4b057a90 SHA512 577c856e3859a4e8ab416de4e70fbf7a2dbe0463fe6d44426d572d35e9ad5e04ee3391e945614433910a848d1c36d3fda55dd7733795d7057702a1bc61d1c85e WHIRLPOOL f1af57e0ca856944f13fe19090d7bc8a7d8d0b2e77c141008aa3ab7037599ddc64971c23540d0908c2979e0ba71d69af40354e8dd5bb4f996acc60bd61cfb3e2 +EBUILD hscolour-1.20.3-r1.ebuild 786 SHA256 b0fd11ef95816eb7dfa4abd484cb927fe6905b86a980f52f505688f53b788dee SHA512 2796862e8bed140443d4f31a78b2d2c3579b346c828b8be3bd1acabdb2445f083b13ba48de26ca905b9e9c483558b58c5f379183076d39c22230b5d88620c617 WHIRLPOOL ed2dcc880910b4fe6160e0d773ffbbd1849663d2b7ece0b027d471576abd2c83d520215e3e3da83bffd63465c9cce7aad5de0d622c03b6e0208618ec1d412a09 +EBUILD hscolour-1.22.ebuild 793 SHA256 c04a33efa2bb9d97735e24e7bc9a6f9d56289030cc84849f5a0028ce68cc8113 SHA512 75eb4da6727f94f70aa25d91c75cd104043cd5e05833d080304fd833944e8bcd8d792391540b588517ab97a74e606eafeea9279468c6ed2e99df30f58f1a4b1d WHIRLPOOL b544fc9d44fd73cb292ed29f54e9c6834f8458fad8457f5c08da82bf24ff2f2e65bd606d22fac1dee4c52452b65f3394ebc85c484aeaad2457294900da9de3c2 +EBUILD hscolour-1.23-r1.ebuild 764 SHA256 87fa2cc57bb551c7d842eb327fa49bc10794a1f79be84067198204c1138253c2 SHA512 e132531d2c6241edb6f100fac5ebda3ad21d9d23ac9e2ee700aa9eed00db95bda06a018d439815ea0408a5d2e15317e4d415fe524c5760bf56fb3e94577dc11e WHIRLPOOL f0f60b01eb5b4f3f530a56f1ad798eeb77ca71127b973e9135a64a0d9d49465e46e11706eac40db05fcf5ff70cb1310f83804f7f4b4c0d67ae7b41172f52052f +EBUILD hscolour-1.24.ebuild 766 SHA256 3699688d68d61b26ad284ab0b4b3e362857d991ff0061812938a2ddffad1319d SHA512 d8f0cbcb70aa1c55ed11966b23b283e63f93f4dd3b35223d9eda770415c9454d8a6a379686f75b923b4368aba5a1c8bd1cff2b4d821c45e3e4578f82476786f8 WHIRLPOOL 7c7a865963e71fd5e1e91cf4922fa6cd1df9cbbaa3edf20bdc463d97420e0cbeb3e3ca06f4686638389fff63354f1105f54b2c38bd0e1e6c4a1060b5d8e6c42c +MISC ChangeLog 3105 SHA256 8b4a980dab48a59059c064b5868c7d62fc9615b68a177eccc0b21f73472cf4ca SHA512 a508b94665ee142d29c96a2c45dff18c887f92b0915d5c3995cd078317f62d9279dc8b28827eaa903f19b68082fffdff184b95e1f81889218bb1ec9defcd5195 WHIRLPOOL a4062d3d5ce06256fd172ebe9b54036eb89eb63aa4c0c452915f0986c1a1bb2c1aa51005eed2155637c82793b02cfbefd2004107604b22c885ea1bc504a97c6c +MISC ChangeLog-2015 3879 SHA256 2e773727c12a03212eba1e5e6dd6c3d4a1bb42a2760fc2936b4af0da5e41a5b6 SHA512 901de4857c0c2b21a8222b900d651a54422390ccd0ba6e2cb137c99a8a3f8921e428d8ef49c14a9af6126dc50bd0a0a1addcbbc143304b0a46a2a1a27738c429 WHIRLPOOL 5ffbd008f8438368211fddeb8d44ac28224ddf57c9c745a57a56beeec79a4b1e5243171610bfe0a58e976f61fb9998262a9f85652cb7f310be1f2f7fcc3fb399 +MISC metadata.xml 217 SHA256 88d4e7497a77aff4f275bcd0b84a36632d17f272e1ed3513fef65468e25da724 SHA512 63f267082f4ba17f6a1226d1c5a14d85d17e0f7a84857605933418d875d09cfffe2a0ca304b8a171dcae59169330fcc3cfca9d6f4c9ce24d135f1125a6d06c70 WHIRLPOOL fe4f2272bee319d2e3959df43927f9bae4b2430fed55bb66d8f6e0390c26d6c2ce48f43ce068662e0d40cbb375930068f39634b381bd6e3d2cf8528d3af5c81b 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..fafd9b442078 --- /dev/null +++ b/dev-haskell/hscolour/hscolour-1.17.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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..5af8f7dc228f --- /dev/null +++ b/dev-haskell/hscolour/hscolour-1.19.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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..5a5381e147a3 --- /dev/null +++ b/dev-haskell/hscolour/hscolour-1.20.3-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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..5afdddee51bf --- /dev/null +++ b/dev-haskell/hscolour/hscolour-1.22.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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.23-r1.ebuild b/dev-haskell/hscolour/hscolour-1.23-r1.ebuild new file mode 100644 index 000000000000..8964998e00c7 --- /dev/null +++ b/dev-haskell/hscolour/hscolour-1.23-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.6.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle" +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="" + +RDEPEND=">=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6 +" + +src_configure() { + # llvm-general-pure passes rtsopts + 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.24.ebuild b/dev-haskell/hscolour/hscolour-1.24.ebuild new file mode 100644 index 000000000000..d1862033b496 --- /dev/null +++ b/dev-haskell/hscolour/hscolour-1.24.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.7.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle" +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="" + +RDEPEND=">=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6 +" + +src_configure() { + # llvm-general-pure passes rtsopts + 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..522384de8446 --- /dev/null +++ b/dev-haskell/hscolour/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>haskell@gentoo.org</email> +</maintainer> +</pkgmetadata> |