diff options
Diffstat (limited to 'dev-haskell/mtl-compat')
-rw-r--r-- | dev-haskell/mtl-compat/Manifest | 2 | ||||
-rw-r--r-- | dev-haskell/mtl-compat/mtl-compat-0.2.2.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-haskell/mtl-compat/Manifest b/dev-haskell/mtl-compat/Manifest index 0b9462667f54..478e5d236e88 100644 --- a/dev-haskell/mtl-compat/Manifest +++ b/dev-haskell/mtl-compat/Manifest @@ -1,3 +1,5 @@ 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 EBUILD mtl-compat-0.2.1.3.ebuild 996 BLAKE2B a41334581276a81739d8b600065c22f7b54514db352c3c2de39bab799d58029e332ac64ea3a7a74f11fde26674f478f386b99bf385f1c3ce04c0e5dc2ffc2e8a SHA512 5426cf3cbba87f15766407f15b6fdec373a70872abd0da0b69fe3953ce2160e943699aa6439544e13c9d9b0018c231441a722e8fa3e3fe8496387de096a19cfa +EBUILD mtl-compat-0.2.2.ebuild 1006 BLAKE2B 0cd6482beab5c0660702be3cd471b25688e5e53327018e2f66679f88e41708a4e235a71bd72fd26ecef65480382f7367339f3fe9212d97b0ebb6f8a4efc40aa6 SHA512 e2cdc62de13dc26918e822a88aae27b45d546f96121bff148a8fe2bb350ca664e2731553e5a0f4fda25fc6c516f8121199f8f8f7448cbb951f289dc45dc43a09 MISC metadata.xml 1161 BLAKE2B 1ad804c5c754f337f5a046fe2b386d10149d9f05f8afbd5beb4a6a8bb4ddcc0a2e8e5c44f6c0b3f422ad93e3a59f80633210592681faea074a0e03a150d9332e SHA512 3a51b3c6dd7b62ef720aa1fcefd0bd810c36b8ac0322e83ca0d1552ace59bea71f55e4e77fc97a9aafd304b833ab8b3c11dee0ccac29b46418b99d367510cdbd diff --git a/dev-haskell/mtl-compat/mtl-compat-0.2.2.ebuild b/dev-haskell/mtl-compat/mtl-compat-0.2.2.ebuild new file mode 100644 index 000000000000..544821d4286f --- /dev/null +++ b/dev-haskell/mtl-compat/mtl-compat-0.2.2.ebuild @@ -0,0 +1,39 @@ +# 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="~alpha ~amd64 ~ppc ~sparc ~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} +} |