mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
dev-haskell/mtl-compat: treeclean
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST mtl-compat-0.2.2.tar.gz 5128 BLAKE2B e1066f61c8087ffd6c8afc9545dd73402b01e9995fcbe226094777f93623f93209c7afdcd01fe2a5fdae4fc4aa2d39eeb821772ce9d542c80f7d0714d25dc79f SHA512 78a93e9e59d01bf0ffeb32f1322decd65d87cba8912d00f77347f0fc2f7190a755297953ac363ca3342c83822d36101b43ef044dc1f3b2ffef7c7710afda9d0d
|
||||
@@ -1,28 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!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>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# ebuild generated by hackport 0.6.9999
|
||||
|
||||
CABAL_FEATURES="lib profile" # haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Backported Control.Monad.Except module from mtl"
|
||||
HOMEPAGE="https://github.com/haskell-compat/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}
|
||||
}
|
||||
@@ -503,7 +503,6 @@ dev-haskell/monadlib
|
||||
dev-haskell/monadplus
|
||||
dev-haskell/monadrandom
|
||||
dev-haskell/mono-traversable-instances
|
||||
dev-haskell/mtl-compat
|
||||
|
||||
# Hans de Graaff <graaff@gentoo.org> (2022-07-16)
|
||||
# No longer supported upstream. Use a newer ruby version instead.
|
||||
|
||||
Reference in New Issue
Block a user