dev-haskell/mtl: allow ghc-8
authorSergei Trofimovich <slyfox@gentoo.org>
Wed, 11 May 2016 07:29:20 +0000 (08:29 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Wed, 11 May 2016 08:48:03 +0000 (09:48 +0100)
Package-Manager: portage-2.2.28

dev-haskell/mtl/mtl-2.2.1-r1.ebuild [new file with mode: 0644]

diff --git a/dev-haskell/mtl/mtl-2.2.1-r1.ebuild b/dev-haskell/mtl/mtl-2.2.1-r1.ebuild
new file mode 100644 (file)
index 0000000..6faaf89
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.6.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Monad classes, using functional dependencies"
+HOMEPAGE="https://github.com/ekmett/mtl"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND=">=dev-haskell/transformers-0.4:=[profile?]
+       >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+       >=dev-haskell/cabal-1.6
+"
+
+src_prepare() {
+       cabal_chdeps \
+               'transformers == 0.4.*' 'transformers >= 0.4'
+}