--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <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>
+</pkgmetadata>
--- /dev/null
+# 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.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="mirror://hackage/packages/archive/${PN}/${PV}/${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
+"