diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-09-13 01:25:08 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-09-13 01:27:32 +0100 |
commit | 0ef6abce7c85aebae451d041642f638643d52a04 (patch) | |
tree | c29f51dc9b7a7779f5b751d2f52bac308f03f20c /dev-haskell/transformers-compat | |
parent | net-libs/mbedtls: amd64 stable (bug #740108) (diff) | |
download | gentoo-0ef6abce7c85aebae451d041642f638643d52a04.tar.gz gentoo-0ef6abce7c85aebae451d041642f638643d52a04.tar.bz2 gentoo-0ef6abce7c85aebae451d041642f638643d52a04.zip |
dev-haskell/transformers-compat: revert "drop old"
This reverts commit 1185cd5eafeb1ea13e407bb71e80e368a8013f10.
adga uses older transfomers-compat.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/transformers-compat')
-rw-r--r-- | dev-haskell/transformers-compat/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/transformers-compat/transformers-compat-0.5.1.4.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-haskell/transformers-compat/Manifest b/dev-haskell/transformers-compat/Manifest index 4ad22c43dc5b..9e282af460b9 100644 --- a/dev-haskell/transformers-compat/Manifest +++ b/dev-haskell/transformers-compat/Manifest @@ -1 +1,2 @@ +DIST transformers-compat-0.5.1.4.tar.gz 18574 BLAKE2B e08bbb9b6104a9e46b17478b156d4e5b9198ab9e93ecc1e0faec4402a8b403b19ee517bb81a1f4c0d8633ff6a74ec59470d6a27a3c3df947ee25ce11312a84a0 SHA512 7e4ff75cdae7afbf640b3ddbfc0a260be8bb3b06cdb1be803bfd7cdb333d289919164923ab4fcde4b270883548cce115643f908410ed394aec67efa389d5aeb2 DIST transformers-compat-0.6.5.tar.gz 40421 BLAKE2B c3d4b55bef310f717cdf2069a4d8b58cc38ea037bbd982f21c11ddbfd3175689f681fed615f30f7026e826e90a0ee6bee51e7448ad2468a084ed00ad6311a643 SHA512 86ce6e81baf4e71cc4ac854066543a8777628ae67182e8059e582754608b279a053f7f98a539ec5cc07e1771d8173a6de6ebe5df4eee2b4c41278734774c3958 diff --git a/dev-haskell/transformers-compat/transformers-compat-0.5.1.4.ebuild b/dev-haskell/transformers-compat/transformers-compat-0.5.1.4.ebuild new file mode 100644 index 000000000000..94ceada31a79 --- /dev/null +++ b/dev-haskell/transformers-compat/transformers-compat-0.5.1.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.7.9999 +#hackport: flags: -two,+mtl + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A small compatibility shim for dev-haskell/transformers" +HOMEPAGE="https://github.com/ekmett/transformers-compat/" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=">=dev-lang/ghc-7.4.1:= + >=dev-haskell/mtl-2.1:=[profile?] + >=dev-haskell/transformers-0.3:=[profile?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 +" + +src_configure() { + local tf_arg=() + + if has_version '=dev-haskell/transformers-0.3*'; then + tf_arg+=(--flag=three) + else + tf_arg+=(--flag=-three) + fi + + haskell-cabal_src_configure \ + --flag=mtl \ + --flag=-two \ + ${tf_arg[@]} +} |