diff options
Diffstat (limited to 'dev-haskell/mtl-compat')
-rw-r--r-- | dev-haskell/mtl-compat/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/mtl-compat/metadata.xml | 22 | ||||
-rw-r--r-- | dev-haskell/mtl-compat/mtl-compat-0.2.1.3.ebuild | 40 | ||||
-rw-r--r-- | dev-haskell/mtl-compat/mtl-compat-0.2.2.ebuild | 8 |
4 files changed, 7 insertions, 64 deletions
diff --git a/dev-haskell/mtl-compat/Manifest b/dev-haskell/mtl-compat/Manifest index db1759b3fca5..15c69b17e736 100644 --- a/dev-haskell/mtl-compat/Manifest +++ b/dev-haskell/mtl-compat/Manifest @@ -1,2 +1 @@ -DIST mtl-compat-0.2.1.3.tar.gz 4584 BLAKE2B 47cfbaf9f60f586318a0aa838e64d0ae13fe69386b738e3c45eb393acb77176c85a9e99f7c81384704d177bf7c895f866813880ba0f2285116a566f24114645c SHA512 c9afa97eb5dc1bddcbf0e088352141d56b603562f80fcbde6811610a4e71e1496dd5f07e4338644930bf06b403bc08d35799f7063ae845ecdb71e619b2342a18 DIST mtl-compat-0.2.2.tar.gz 5128 BLAKE2B e1066f61c8087ffd6c8afc9545dd73402b01e9995fcbe226094777f93623f93209c7afdcd01fe2a5fdae4fc4aa2d39eeb821772ce9d542c80f7d0714d25dc79f SHA512 78a93e9e59d01bf0ffeb32f1322decd65d87cba8912d00f77347f0fc2f7190a755297953ac363ca3342c83822d36101b43ef044dc1f3b2ffef7c7710afda9d0d diff --git a/dev-haskell/mtl-compat/metadata.xml b/dev-haskell/mtl-compat/metadata.xml index 033f9421a7a1..11043fffaddb 100644 --- a/dev-haskell/mtl-compat/metadata.xml +++ b/dev-haskell/mtl-compat/metadata.xml @@ -1,28 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package backports the "Control.Monad.Except" module from - @mtl@ (if using @mtl-2.2.0.1@ or earlier), which reexports the - @ExceptT@ monad transformer and the @MonadError@ class. - - This package should only be used if there is a need to use the - @Control.Monad.Except@ module specifically. If you just want - the @mtl@ class instances for @ExceptT@, use - @transformers-compat@ instead, since @mtl-compat@ does nothing - but reexport the instances from that package. - - Note that unlike how @mtl-2.2@ or later works, the - "Control.Monad.Except" module defined in this package exports - all of @ExceptT@'s monad class instances. Therefore, you may - have to declare @import Control.Monad.Except ()@ at the top of - your file to get all of the @ExceptT@ instances in scope. - </longdescription> <upstream> - <remote-id type="github">RyanGlScott/mtl-compat</remote-id> + <remote-id type="hackage">mtl-compat</remote-id> + <remote-id type="github">haskell-compat/mtl-compat</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/mtl-compat/mtl-compat-0.2.1.3.ebuild b/dev-haskell/mtl-compat/mtl-compat-0.2.1.3.ebuild deleted file mode 100644 index e40eaa3c9e1d..000000000000 --- a/dev-haskell/mtl-compat/mtl-compat-0.2.1.3.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -# ebuild generated by hackport 0.4.5 - -CABAL_FEATURES="lib profile" # haddock hoogle hscolour" -inherit haskell-cabal - -DESCRIPTION="Backported Control.Monad.Except module from mtl" -HOMEPAGE="https://github.com/RyanGlScott/mtl-compat" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=">=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?] - dev-haskell/transformers-compat:= - >=dev-lang/ghc-7.4.1:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.8 -" - -src_configure() { - local mtl_arg=() - - has_version '>=dev-haskell/mtl-2.0.1' && \ - has_version '<dev-haskell/mtl-2.2' && \ - mtl_arg+=(--flag=two-point-one) - has_version '>=dev-haskell/mtl-2.2.0.1' && \ - has_version '<dev-haskell/mtl-2.2.1' && \ - mtl_arg+=(--flag=two-point-two) - - haskell-cabal_src_configure \ - ${mtl_arg} -} diff --git a/dev-haskell/mtl-compat/mtl-compat-0.2.2.ebuild b/dev-haskell/mtl-compat/mtl-compat-0.2.2.ebuild index f849a6a4791a..409eec0f3b25 100644 --- a/dev-haskell/mtl-compat/mtl-compat-0.2.2.ebuild +++ b/dev-haskell/mtl-compat/mtl-compat-0.2.2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 # ebuild generated by hackport 0.6.9999 @@ -14,10 +14,10 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" IUSE="" -RDEPEND=">=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?] +RDEPEND=">=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.4:=[profile?] dev-haskell/transformers-compat:= >=dev-lang/ghc-7.4.1:= " |