diff options
author | hololeap <hololeap@protonmail.com> | 2023-10-02 23:07:21 -0600 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-23 04:09:33 +0100 |
commit | fd5cffaaa87cf59e80cb8303c482980690d14a61 (patch) | |
tree | 60ad57793bc0039f98b19ac14042cb5ca3af99a8 /dev-haskell/fgl | |
parent | dev-haskell/feed: add 1.3.2.1-r2 (diff) | |
download | gentoo-fd5cffaaa87cf59e80cb8303c482980690d14a61.tar.gz gentoo-fd5cffaaa87cf59e80cb8303c482980690d14a61.tar.bz2 gentoo-fd5cffaaa87cf59e80cb8303c482980690d14a61.zip |
dev-haskell/fgl: add 5.8.1.1
Signed-off-by: hololeap <hololeap@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/fgl')
-rw-r--r-- | dev-haskell/fgl/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/fgl/fgl-5.8.1.1.ebuild | 24 | ||||
-rw-r--r-- | dev-haskell/fgl/files/fgl-5.6.0.0-ghc-8.6.patch | 42 | ||||
-rw-r--r-- | dev-haskell/fgl/metadata.xml | 4 |
4 files changed, 71 insertions, 0 deletions
diff --git a/dev-haskell/fgl/Manifest b/dev-haskell/fgl/Manifest index 2ee4ca86d07c..51c59fb399d9 100644 --- a/dev-haskell/fgl/Manifest +++ b/dev-haskell/fgl/Manifest @@ -1 +1,2 @@ DIST fgl-5.7.0.3.tar.gz 56415 BLAKE2B 6b7f5d3d2fd93494f3c2f9fbf69dd38c0358ced8a4f488f31d4904a375e21b4d12b974fe78868be8184a989b43fa6f345ca84ed74ea8c5970416c2903dd7a024 SHA512 f77ee1a66fe02b0a01e70b6fcb16baaba67be5433e4310bfb0862cec66855fc0413de586ca111e2e1569898b890fe93faf7c9f079dc569ca2d32b6c087762bbd +DIST fgl-5.8.1.1.tar.gz 56829 BLAKE2B ad698d62e0961ebc19800225128053eae5d559a952504025f76c783392e699605abf009eccb7a69b8084009309a9252a29d3efb2b022941de895f7ce2064c610 SHA512 c1d82f2cbce89bb8088dda0e57a6787de0f83834b44f3b7e88393fa79f706dc7b5bff254ee4f2479a90c35a99cedc12c1691770c7c78c48362322b48b02b4873 diff --git a/dev-haskell/fgl/fgl-5.8.1.1.ebuild b/dev-haskell/fgl/fgl-5.8.1.1.ebuild new file mode 100644 index 000000000000..c65b125d96d3 --- /dev/null +++ b/dev-haskell/fgl/fgl-5.8.1.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Martin Erwig's Functional Graph Library" +HOMEPAGE="https://hackage.haskell.org/package/fgl" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( >=dev-haskell/hspec-2.1 <dev-haskell/hspec-2.11 + >=dev-haskell/quickcheck-2.8 <dev-haskell/quickcheck-2.15 ) +" diff --git a/dev-haskell/fgl/files/fgl-5.6.0.0-ghc-8.6.patch b/dev-haskell/fgl/files/fgl-5.6.0.0-ghc-8.6.patch new file mode 100644 index 000000000000..0e3f35425ee1 --- /dev/null +++ b/dev-haskell/fgl/files/fgl-5.6.0.0-ghc-8.6.patch @@ -0,0 +1,42 @@ +commit 344a7e452630ace0f5c647e525e0299d99de5902 +Author: Alex Washburn <github@recursion.ninja> +Date: Mon Aug 20 23:46:32 2018 -0400 + + Fixing issue with MonadFailDesugaring. + +diff --git a/Data/Graph/Inductive/Monad.hs b/Data/Graph/Inductive/Monad.hs +index 1d58af0..d63752b 100644 +--- a/Data/Graph/Inductive/Monad.hs ++++ b/Data/Graph/Inductive/Monad.hs +@@ -1,4 +1,4 @@ +-{-# LANGUAGE MultiParamTypeClasses #-} ++{-# LANGUAGE CPP, MultiParamTypeClasses #-} + + -- (c) 2002 by Martin Erwig [see file COPYRIGHT] + -- | Monadic Graphs +@@ -19,6 +19,10 @@ module Data.Graph.Inductive.Monad( + + + import Data.Graph.Inductive.Graph ++#if MIN_VERSION_base(4,12,0) ++import Control.Monad.Fail ++import Prelude hiding (fail) ++#endif + + {-# ANN module "HLint: ignore Redundant lambda" #-} + +@@ -39,7 +43,13 @@ import Data.Graph.Inductive.Graph + + -- Monadic Graph + -- +-class (Monad m) => GraphM m gr where ++class ++#if MIN_VERSION_base(4,12,0) ++ (MonadFail m) ++#else ++ (Monad m) ++#endif ++ => GraphM m gr where + {-# MINIMAL emptyM, isEmptyM, matchM, mkGraphM, labNodesM #-} + + emptyM :: m (gr a b) diff --git a/dev-haskell/fgl/metadata.xml b/dev-haskell/fgl/metadata.xml index 937381521944..e5868c189376 100644 --- a/dev-haskell/fgl/metadata.xml +++ b/dev-haskell/fgl/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">fgl</remote-id> + <remote-id type="github">haskell/fgl</remote-id> + </upstream> </pkgmetadata> |