summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-02-15 22:20:57 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-02-16 10:21:24 +0000
commitce40eeb55d0b764c5f72780e0f33881d99d9ea33 (patch)
tree5039ae6d98b9b6343046d5ebed1c7c734733fe4c
parentsci-mathematics/agda-stdlib: bump up to 2.5.2.0.13 (diff)
downloadgentoo-ce40eeb55d0b764c5f72780e0f33881d99d9ea33.tar.gz
gentoo-ce40eeb55d0b764c5f72780e0f33881d99d9ea33.tar.bz2
gentoo-ce40eeb55d0b764c5f72780e0f33881d99d9ea33.zip
dev-haskell/transformers-compat: bump up to 0.5.1.4
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r--dev-haskell/transformers-compat/Manifest1
-rw-r--r--dev-haskell/transformers-compat/transformers-compat-0.5.1.4.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-haskell/transformers-compat/Manifest b/dev-haskell/transformers-compat/Manifest
index cc14508a386b..e8d86807f2b7 100644
--- a/dev-haskell/transformers-compat/Manifest
+++ b/dev-haskell/transformers-compat/Manifest
@@ -1,3 +1,4 @@
DIST transformers-compat-0.1.1.1.tar.gz 5221 SHA256 32264f5160b92ac72412ddf760c410130eb84ace710774bd430a5b8dab630b44 SHA512 326873df4a316948d64ddbee351f0bf2855b5f2bac1913eed3ca490305363771fc031ff6cad1e6de5849ab375ace9364ffb18e56cb8a57f0406508377f521a54 WHIRLPOOL c6e113bc9fdc892ff4e5eb8a324214d82173de03342d64871e9873b5b68a3576c9dd0aab08d0e693fec6f83adccd9a2e3b1302266dbe0b3ff8f23ef1ce1fb99c
DIST transformers-compat-0.3.3.4.tar.gz 11143 SHA256 257712be0c2d5eedc6c835421751fce8daf45cf2687f2d6c27b92bff5e204bc1 SHA512 1f50ddeaec4ea2e17ec348194a6efcfab35c4b9d49f9eba9e70a0c1ebfdfd39387461c133fb99e6cdad234b7facae74fa73c99f604807d7f3ad7c31d0188d462 WHIRLPOOL 8cc99827a3e14fd658a90f935d8f1c0114685ebe3922dc446661e628fd3e6898a425767ba57527ced4281bf877d99f8ec526a74ac852fab00bd7db95146bf599
DIST transformers-compat-0.4.0.4.tar.gz 12048 SHA256 d5231bc9929ed234032411038c0baae5a3d82939163c2a36582fbe657c46af52 SHA512 5850fa8ed63684b3dc37897c22d1d32d7412374dcd892e42db7ed975d493fdc8e216630735813ed00203f83dcd17722484a6ec182ccffb6fc8794b4b82b6c951 WHIRLPOOL b1d79a0ebdd4ffc92b7b4e0e255edda5ef50f3801c73f6bf0043593b918c7f8f6a10b49c877c86df8a13b71662559bfa575dbddd1d39dd255161a74a08492c5a
+DIST transformers-compat-0.5.1.4.tar.gz 18574 SHA256 d881ef4ec164b631591b222efe7ff555af6d5397c9d86475b309ba9402a8ca9f SHA512 7e4ff75cdae7afbf640b3ddbfc0a260be8bb3b06cdb1be803bfd7cdb333d289919164923ab4fcde4b270883548cce115643f908410ed394aec67efa389d5aeb2 WHIRLPOOL 272164c51fe4da0176b136050057a7516807b1c0107316d3762f8e2f9deada661bdd3c39b26135c0ef66875531da792fb7e651b12278d1e24de92c5eff86f7b7
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..4d6533a37fba
--- /dev/null
+++ b/dev-haskell/transformers-compat/transformers-compat-0.5.1.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+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[@]}
+}