commit: cfe4b2e5d9bd10555beb15687015f0d475feb737 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Sat Dec 14 21:06:07 2019 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Sat Dec 14 21:27:05 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfe4b2e5
dev-haskell/haskell-src: bump up to 1.0.3.0 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> dev-haskell/haskell-src/Manifest | 1 + .../files/haskell-src-1.0.3.0-ghc-8.8.patch | 39 ++++++++++++++++++++++ dev-haskell/haskell-src/haskell-src-1.0.3.0.ebuild | 30 +++++++++++++++++ 3 files changed, 70 insertions(+) diff --git a/dev-haskell/haskell-src/Manifest b/dev-haskell/haskell-src/Manifest index dd20137c144..b7c60928f94 100644 --- a/dev-haskell/haskell-src/Manifest +++ b/dev-haskell/haskell-src/Manifest @@ -1,2 +1,3 @@ DIST haskell-src-1.0.1.6.tar.gz 52967 BLAKE2B 2c98fa8a52ce54cfd281f3e86a2a8f310284d0977171b4bc5a56873d70b0fb28e0db1eb336a015df56e3d7f85db6ab656276e9c54d53c8c36e0b9687635daf89 SHA512 61035aee535335bb6e2dba96217d48054c89ef3d33af01abfbec077c40d54150bd78b200d5dff4fa6c490c500f32951eb8fb8352243625fc6ad735fad60afda9 DIST haskell-src-1.0.2.0.tar.gz 53636 BLAKE2B 1348bfc21d66d4226fa1045d2fc64de48ff91ed6ea978964f68389ec53bfbb63f407e130b0c168029d4d1daae2d1ffb59a32912721ad6fafe6054fb74f22cae6 SHA512 202b05ffcc505fb1332f5b3c8984b08a435911f574c4e1b2f2543a8758aa9e9a33f559c5c6cf3f8a3b7cda3f540e2da5b92e6456ee40dfe690cdf69a3e018b06 +DIST haskell-src-1.0.3.0.tar.gz 29863 BLAKE2B a75a52f6df1da50a8509db495a9dde56c1b0edf4b0934deb24822940dc7a0a1e252994a55342175e8e08894aa86c540b5cb8437c190d5e2aeeb19f62eb43b602 SHA512 6426f1602b2e9165c44efc4d10cdc8bdbc0b4291b7255d8ed223f1e5f474f6c41830cdd39af154290d2e972f9699269a67279baaf63f0e4c4321c96b37f0f5a5 diff --git a/dev-haskell/haskell-src/files/haskell-src-1.0.3.0-ghc-8.8.patch b/dev-haskell/haskell-src/files/haskell-src-1.0.3.0-ghc-8.8.patch new file mode 100644 index 00000000000..84342b0d684 --- /dev/null +++ b/dev-haskell/haskell-src/files/haskell-src-1.0.3.0-ghc-8.8.patch @@ -0,0 +1,39 @@ +commit bd0a8199252f4cd7f5d93ee862a919646f85a06f +Author: Ollie Charles <ol...@ocharles.org.uk> +Date: Wed Sep 18 12:36:15 2019 +0100 + + Build with GHC 8.8 + +diff --git a/Language/Haskell/ParseMonad.hs b/Language/Haskell/ParseMonad.hs +index 1ed9b7a..f9bea5e 100644 +--- a/Language/Haskell/ParseMonad.hs ++++ b/Language/Haskell/ParseMonad.hs +@@ -12,6 +12,8 @@ + -- + ----------------------------------------------------------------------------- + ++{-# LANGUAGE CPP #-} ++ + module Language.Haskell.ParseMonad( + -- * Parsing + P, ParseResult(..), atSrcLoc, LexContext(..), +@@ -134,7 +136,9 @@ instance Monad P where + case m i x y l s mode of + Failed loc msg -> Failed loc msg + Ok s' a -> runP (k a) i x y l s' mode ++#if !(MIN_VERSION_base(4,13,0)) + fail = Fail.fail ++#endif + + -- | @since 1.0.3.0 + instance Fail.MonadFail P where +@@ -191,7 +195,9 @@ instance Monad (Lex r) where + return = pure + Lex v >>= f = Lex $ \k -> v (\a -> runL (f a) k) + (>>) = (*>) ++#if !(MIN_VERSION_base(4,13,0)) + fail = Fail.fail ++#endif + + -- | @since 1.0.3.0 + instance Fail.MonadFail (Lex r) where diff --git a/dev-haskell/haskell-src/haskell-src-1.0.3.0.ebuild b/dev-haskell/haskell-src/haskell-src-1.0.3.0.ebuild new file mode 100644 index 00000000000..430a13692d3 --- /dev/null +++ b/dev-haskell/haskell-src/haskell-src-1.0.3.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# ebuild generated by hackport 0.5.5.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Support for manipulating Haskell source code" +HOMEPAGE="http://hackage.haskell.org/package/haskell-src" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/fail-4.9:=[profile?] <dev-haskell/fail-4.10:=[profile?] + >=dev-haskell/semigroups-0.18:=[profile?] <dev-haskell/semigroups-0.19:=[profile?] + >=dev-haskell/syb-0.1:=[profile?] <dev-haskell/syb-0.8:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10 + dev-haskell/happy +" + +PATCHES=( "${FILESDIR}"/${PN}-1.0.3.0-ghc-8.8.patch )