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-haskell/haskell-src-exts | |
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/haskell-src-exts')
8 files changed, 245 insertions, 0 deletions
diff --git a/dev-haskell/haskell-src-exts/Manifest b/dev-haskell/haskell-src-exts/Manifest new file mode 100644 index 000000000000..6aa5c47dfb77 --- /dev/null +++ b/dev-haskell/haskell-src-exts/Manifest @@ -0,0 +1,4 @@ +DIST haskell-src-exts-1.13.5.tar.gz 291329 SHA256 7c5adc74bc76b26a2ba7de6927877c6ed930c64039371c0c84c5257aae837f0d SHA512 f7e7978a8417aaad08a88eccf22f0bf99e5586a5f28796c8525ef00fdcdf8bd17936ec93c552b61d723323a691775a41d7737f52ad16620f93bab57ac8064598 WHIRLPOOL 966bb473988b95a12e7da20301e4d30606a2f3449141b92105e0b2b46a71c7cd1b7b9e3055b44a78f4d4f352d508721e0d9b3fdbac4e89e6340a90582125c452 +DIST haskell-src-exts-1.14.0.tar.gz 291256 SHA256 0de416845e5ccc284aef029cbde25f5d289be464bcecaa28cb9e7753b886131c SHA512 7d1dc90742ffb1cbde209fcadad05a8c6bc3a731267f92a201533c1d841a6aef144af501ea2e4076a99b0f50734d7823574f581411c4440657ac7f6eeb5880c2 WHIRLPOOL 5b971996341b7a4aac79306e5a002de84e064bd84aa2addd2a91875da9e11e68e0ddb8c1ba06ff9361f6b83960a534c480f4c7ea4147818dfa629ee75d4d48f9 +DIST haskell-src-exts-1.15.0.1.tar.gz 1605910 SHA256 85f475693a87fd26a3a8b32dea2660bfdca35c2b5d11506ab11b1dc20c88e576 SHA512 d6fe854b2e7a13bb90815848517843ee67faad7e03d5abf6afc9e97252bcb9d915b51d94b757354a9e83b255f9b795e5c9fa2e3e962acd84772eaa9844d9b1d6 WHIRLPOOL d5970f6d9e27e24ac79c223804e56e874663b0f199b340c1a6e7051995c36411a791ac32529c9f3b9df5d22c2498319baed3afcfb27912f034a32529b36905a3 +DIST haskell-src-exts-1.16.0.1.tar.gz 1410081 SHA256 3f3bd41ad3a346a78e80195eca83de529d3ece63fa7edcd4df3b8bf40a970fc1 SHA512 b74a824899cbf85a2bf58c7c14df33fac7e70bbb775b51d8a861172da88d1dc6db3644a6534c9076a9c5499023a347cdce7e24b3495045d11a905f31a51492d0 WHIRLPOOL 1d4e8a95070f8f7a093aa9c41d7116e420438bc1e4b39dd12d01abfec9327c58f8faef1a31c14a982767e8cd24b0b1599e3e2719408b10e5dbfef88b13da7a40 diff --git a/dev-haskell/haskell-src-exts/files/haskell-src-exts-0.2-hiding-isSymbol.patch b/dev-haskell/haskell-src-exts/files/haskell-src-exts-0.2-hiding-isSymbol.patch new file mode 100644 index 000000000000..df83e026fe0e --- /dev/null +++ b/dev-haskell/haskell-src-exts/files/haskell-src-exts-0.2-hiding-isSymbol.patch @@ -0,0 +1,68 @@ +diff -urwpN haskell-src-exts.org/src/haskell-src-exts/Language/Haskell/Hsx/Lexer.hs haskell-src-exts/src/haskell-src-exts/Language/Haskell/Hsx/Lexer.hs +--- haskell-src-exts.org/src/haskell-src-exts/Language/Haskell/Hsx/Lexer.hs 2005-05-01 22:40:45.000000000 +0100 ++++ haskell-src-exts/src/haskell-src-exts/Language/Haskell/Hsx/Lexer.hs 2006-10-11 19:42:53.000000000 +0100 +@@ -207,9 +207,9 @@ special_varids = [ + ( "hiding", KW_Hiding ) + ] + +-isIdent, isSymbol :: Char -> Bool ++isIdent, isSymbol' :: Char -> Bool + isIdent c = isAlpha c || isDigit c || c == '\'' || c == '_' +-isSymbol c = elem c ":!#$%&*+./<=>?@\\^|-~" ++isSymbol' c = elem c ":!#$%&*+./<=>?@\\^|-~" + + matchChar :: Char -> String -> Lex a () + matchChar c msg = do +@@ -242,7 +242,7 @@ lexWhiteSpace bol = do + bol <- lexNestedComment bol + (bol, _) <- lexWhiteSpace bol + return (bol, True) +- '-':'-':s | all (== '-') (takeWhile isSymbol s) -> do ++ '-':'-':s | all (== '-') (takeWhile isSymbol' s) -> do + lexWhile (== '-') + lexWhile (/= '\n') + lexNewline +@@ -489,8 +489,8 @@ lexStdToken = do + Just keyword -> keyword + Nothing -> VarId ident + +- | isSymbol c -> do +- sym <- lexWhile isSymbol ++ | isSymbol' c -> do ++ sym <- lexWhile isSymbol' + return $ case lookup sym (reserved_ops ++ special_varops) of + Just t -> t + Nothing -> case c of +@@ -586,9 +586,9 @@ lexConIdOrQual qual = do + discard 1 + lexConIdOrQual qual' + +- | isSymbol c -> do -- qualified symbol? ++ | isSymbol' c -> do -- qualified symbol? + discard 1 +- sym <- lexWhile isSymbol ++ sym <- lexWhile isSymbol' + case lookup sym reserved_ops of + -- cannot qualify a reserved operator + Just _ -> just_a_conid +diff -urwpN haskell-src-exts.org/src/haskell-src-exts/Language/Haskell/Hsx/Transform.hs haskell-src-exts/src/haskell-src-exts/Language/Haskell/Hsx/Transform.hs +--- haskell-src-exts.org/src/haskell-src-exts/Language/Haskell/Hsx/Transform.hs 2005-04-08 16:17:29.000000000 +0100 ++++ haskell-src-exts/src/haskell-src-exts/Language/Haskell/Hsx/Transform.hs 2006-10-11 19:40:49.000000000 +0100 +@@ -1270,7 +1270,7 @@ trRPat s linear rp = case rp of + HsIdent n -> fail $ "Attempting to bind variable "++n++ + " inside the context of a numerable regular pattern" + _ -> fail $ "This should never ever ever happen...\ +- \ how the ¤#% did you do it??!?" ++ \ how the #% did you do it??!?" + + where -- | Generate a declaration for a @ binding. + mkAsDecl :: SrcLoc -> MFunMetaInfo -> Tr HsName +@@ -1429,7 +1429,7 @@ trRPat s linear rp = case rp of + -- of transformations of optional patterns should be able to call it...) + mkOptDecl :: SrcLoc -> Bool -> MFunMetaInfo -> Tr MFunMetaInfo + mkOptDecl s greedy nvt@(_, vs, t) = do +- -- Un nome, s'il vouz plaît. ++ -- Un nome, s'il vouz plaît. + n <- genMatchName + let -- Generate a generator for matching the subpattern + (g, val) = mkGenExp s nvt -- (harp_valX, (foo, bar, ...)) <- harp_matchY diff --git a/dev-haskell/haskell-src-exts/files/haskell-src-exts-1.10.2-Setup.hs b/dev-haskell/haskell-src-exts/files/haskell-src-exts-1.10.2-Setup.hs new file mode 100644 index 000000000000..63a6c22bf33c --- /dev/null +++ b/dev-haskell/haskell-src-exts/files/haskell-src-exts-1.10.2-Setup.hs @@ -0,0 +1,8 @@ +import Distribution.Simple +import System.Process (rawSystem) +import System.Exit (ExitCode(..)) +import System.FilePath ((</>)) +main = defaultMainWithHooks $ simpleUserHooks { runTests = \args _ _ _ -> do + ExitSuccess <- rawSystem "runhaskell" ("-package-conf=dist/package.conf.inplace" : "Test/Runner.hs" : args) + return () + } diff --git a/dev-haskell/haskell-src-exts/haskell-src-exts-1.13.5.ebuild b/dev-haskell/haskell-src-exts/haskell-src-exts-1.13.5.ebuild new file mode 100644 index 000000000000..b83cdce94549 --- /dev/null +++ b/dev-haskell/haskell-src-exts/haskell-src-exts-1.13.5.ebuild @@ -0,0 +1,37 @@ +# 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 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer" +HOMEPAGE="http://code.haskell.org/haskell-src-exts" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86" +IUSE="" + +RDEPEND=">=dev-haskell/cpphs-1.3:=[profile?] + >=dev-lang/ghc-6.10.4:=" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6 + dev-haskell/happy" + +src_prepare() { + # test suite is broken, expects the package to be already installed. + # this new Setup.hs will use the package inplice for tests + cp "${FILESDIR}/haskell-src-exts-1.10.2-Setup.hs" "${S}/Setup.hs" \ + || die "Could not cp Setup.hs for tests" + + # remove broken tests. they will fail if you expect them to pass, and pass + # if you expect them to fail... + rm "${S}/Test/examples/Unicode"{.hs,Syntax.hs} \ + || die "Could not rm broken tests" +} diff --git a/dev-haskell/haskell-src-exts/haskell-src-exts-1.14.0.ebuild b/dev-haskell/haskell-src-exts/haskell-src-exts-1.14.0.ebuild new file mode 100644 index 000000000000..d765a2bc6c34 --- /dev/null +++ b/dev-haskell/haskell-src-exts/haskell-src-exts-1.14.0.ebuild @@ -0,0 +1,30 @@ +# 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 test-suite" +inherit haskell-cabal + +DESCRIPTION="Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer" +HOMEPAGE="https://github.com/haskell-suite/haskell-src-exts" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/cpphs-1.3:=[profile?] + >=dev-lang/ghc-6.10.4:=" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10 + dev-haskell/happy + test? ( >=dev-haskell/smallcheck-1.0 + dev-haskell/tasty + dev-haskell/tasty-hunit + dev-haskell/tasty-smallcheck + )" diff --git a/dev-haskell/haskell-src-exts/haskell-src-exts-1.15.0.1.ebuild b/dev-haskell/haskell-src-exts/haskell-src-exts-1.15.0.1.ebuild new file mode 100644 index 000000000000..f7c4f85ee751 --- /dev/null +++ b/dev-haskell/haskell-src-exts/haskell-src-exts-1.15.0.1.ebuild @@ -0,0 +1,40 @@ +# 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.9999 +#hackport: flags: +base4 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer" +HOMEPAGE="https://github.com/haskell-suite/haskell-src-exts" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/cpphs-1.3:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10 + dev-haskell/happy + test? ( dev-haskell/filemanip + dev-haskell/mtl + >=dev-haskell/smallcheck-1.0 + dev-haskell/syb + >=dev-haskell/tasty-0.3 + dev-haskell/tasty-golden + dev-haskell/tasty-smallcheck ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=base4 +} diff --git a/dev-haskell/haskell-src-exts/haskell-src-exts-1.16.0.1.ebuild b/dev-haskell/haskell-src-exts/haskell-src-exts-1.16.0.1.ebuild new file mode 100644 index 000000000000..1142a079e1b2 --- /dev/null +++ b/dev-haskell/haskell-src-exts/haskell-src-exts-1.16.0.1.ebuild @@ -0,0 +1,39 @@ +# 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 +#hackport: flags: +base4 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer" +HOMEPAGE="https://github.com/haskell-suite/haskell-src-exts" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/cpphs-1.3:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10 + dev-haskell/happy + test? ( dev-haskell/mtl + >=dev-haskell/smallcheck-1.0 + dev-haskell/syb + >=dev-haskell/tasty-0.3 + >=dev-haskell/tasty-golden-2.2.2 + dev-haskell/tasty-smallcheck ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=base4 +} diff --git a/dev-haskell/haskell-src-exts/metadata.xml b/dev-haskell/haskell-src-exts/metadata.xml new file mode 100644 index 000000000000..65af20f163f7 --- /dev/null +++ b/dev-haskell/haskell-src-exts/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>haskell</herd> + <longdescription lang="en"> +Haskell-Source with eXtensions (HSX, haskell-src-exts) is an extension of the +standard haskell-src package, and handles most common syntactic extensions to +Haskell, including: + + * Multi-parameter type classes with functional dependencies + * Empty data declarations + * GADTs + * Implicit parameters (ghc and hugs style) + * Template Haskell (broken for 6.4, needs redoing) +</longdescription> + <upstream> + <remote-id type="github">haskell-suite/haskell-src-exts</remote-id> + </upstream> +</pkgmetadata> |