diff options
Diffstat (limited to 'dev-haskell/transformers-compat')
6 files changed, 178 insertions, 0 deletions
diff --git a/dev-haskell/transformers-compat/Manifest b/dev-haskell/transformers-compat/Manifest new file mode 100644 index 000000000000..31e7cab67d27 --- /dev/null +++ b/dev-haskell/transformers-compat/Manifest @@ -0,0 +1,11 @@ +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 +EBUILD transformers-compat-0.1.1.1.ebuild 620 SHA256 ae3cef54b6f1c51699c7959414460ea5f999ac475cd07f26590c68adf70b23f2 SHA512 585ac47a41de68d35cdab0cba76b2bcd37eba1e8294f09b534ba934d84b945c8efc38a2ebfe5c14a632e2eb77ab0a088f16b6d718b1e7770f19241862806fc63 WHIRLPOOL e89377a31397dde059510c933dc8ca58b2db0bd78e3a33f0b2ff22b7633e00f6b48b48215da2ec0f59a1650e70163642745658b50999ec611a63e02d9bec01f6 +EBUILD transformers-compat-0.3.3.4.ebuild 913 SHA256 493182fa15eb690a6453e5a033cd7135f1f85b655300eac409d461e647f20c4c SHA512 475cba97dcd38619e717c0a8d5f558313ec2d4cb1a06ad1529cac824f68b9833b8c5fbd62e06be6de203967cd5a98ee175cd2997c6ee0da6b300eab4f63cb020 WHIRLPOOL 1506ce874fd20d9ac020a49a028a1f404efcdf113e904f9c24e825eeb0f2365ebab976756736c4237a5d72dd0abe534d2c97806d547b67505486f7a35ef9df6f +EBUILD transformers-compat-0.4.0.4.ebuild 1014 SHA256 8e2ae959c8852dca8cf6dc4686948d07041ad603383b2a1d6d1828463c0adde7 SHA512 675bb11bdd28c309c65199c0c76e00eb704d185a550a55e2da379b4bf639b60baf069299faf77d2be939850398d3b462f97cb3e8139452e3ed96f39f37d20b92 WHIRLPOOL fa1cf89af7a4ed3c6402b51628f9e669b1f5ce399134d64dba91fc05d08d2b34de9026c9309ca601bb24ae3658053c9d86a2aaee3e561060223a5136819f7366 +EBUILD transformers-compat-0.5.1.4.ebuild 937 SHA256 5cbe78e93e93fbb007f1e795bbbb9a3280cb14bd595581d6227cf4462757d6a8 SHA512 80dac56f2569bf97aaafe7b446f17132094e0a9172275397d12ff61f9fe2f6e33f94d8ec7114df4b154744eb4e085a3444633d5f4e310d6cfdd39310d2dcec1c WHIRLPOOL b38df8835e37b26864fa8b58719d69cdab555f01fadb4abce0d3f7ce74b99d619686aa672ed3771fe5cdd3cbd81ed0e599d359994f984f8dc0113c0b6e029da7 +MISC ChangeLog 3943 SHA256 b59db90e3b0750aafc76bb6bef4df6ea57b831184fa78fdd07de389f744156dd SHA512 53de5d93fa3744cafb9cba1e470bd034bd9bc1c526a6726dc1109ee202a272cc967d0e061faad98b4c8b74fc136cbe3f74e0dee495b835d8a289b48fdea06cf1 WHIRLPOOL 7906d192ff267187407b272000165fb19693f9585dbe05b7ff248082af112dbbf85c0e127fcda4402ea8bb18feac42cb318d6d0e31680fd4b3e454cc364581a2 +MISC ChangeLog-2015 1452 SHA256 9d3ca68f7b9af11cabbb4a8f591be46b6f4a3c40ced88bdbf347faeec666a6e5 SHA512 ff4f35b8a79f90dbb20dd748e4dacaf6e731e9fd78ac81081ecce3bcb220a03107c8761a352a6a0166dbbf48c54c2c5bbeb59040ef5af9fe8993f5b27b431513 WHIRLPOOL 7dc551eb1fb91ce9c288c0535043fdcdbcb8ef5ec2991c816207b6089e3f33044be166beba61a1f5cd4b0efb004475e05b52961a6c292cee6d3aaac73d9826a5 +MISC metadata.xml 876 SHA256 8f04ab170544e946d017a76e526857b0766fe0c15e04e455c55f9b339ff33b47 SHA512 f83fabfaa75fe7598f14e80ae17846a9f525cf5fae8b407d6ef45ca7e7816b3b04fc0c6ad02f9b2ed0c5cc4ded499d7b9afab922943991fb96d630597a9f4adf WHIRLPOOL cbe31a916f0f45a64f56911f5fcba68e97b9fa0facd93b9b58244a4b39f4990e54cf57ac68b7ad486922b736c4866991bcc981fff037f72e8cde074c19551c37 diff --git a/dev-haskell/transformers-compat/metadata.xml b/dev-haskell/transformers-compat/metadata.xml new file mode 100644 index 000000000000..207a9e0eb759 --- /dev/null +++ b/dev-haskell/transformers-compat/metadata.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <longdescription> + This package includes backported versions of types that were added + to transformers in transformers 0.3 for users who need strict + transformers 0.2 compatibility to run on old versions of the + platform, but also need those types. + + Those users should be able to just depend on @transformers >= 0.2@ + and @transformers-compat@. + + Note: missing methods are not supplied + but this at least permits the types to be used. + </longdescription> + <use> + <flag name="three">Use transformers-0.3</flag> + </use> + <upstream> + <remote-id type="github">ekmett/transformers-compat</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/transformers-compat/transformers-compat-0.1.1.1.ebuild b/dev-haskell/transformers-compat/transformers-compat-0.1.1.1.ebuild new file mode 100644 index 000000000000..a9413adbcf83 --- /dev/null +++ b/dev-haskell/transformers-compat/transformers-compat-0.1.1.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.3.2.9999 + +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="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-lang/ghc-7.0.1:= + =dev-haskell/transformers-0.3*:=[profile?] + " +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8" diff --git a/dev-haskell/transformers-compat/transformers-compat-0.3.3.4.ebuild b/dev-haskell/transformers-compat/transformers-compat-0.3.3.4.ebuild new file mode 100644 index 000000000000..e812864030b0 --- /dev/null +++ b/dev-haskell/transformers-compat/transformers-compat-0.3.3.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.4.9999 +#hackport: flags: -two + +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="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="three" + +RDEPEND=">=dev-lang/ghc-7.4.1:= + three? ( >=dev-haskell/transformers-0.3:=[profile?] <dev-haskell/transformers-0.4:=[profile?] ) + !three? ( >=dev-haskell/transformers-0.4.1:=[profile?] <dev-haskell/transformers-0.5:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag three three) \ + --flag=-two +} diff --git a/dev-haskell/transformers-compat/transformers-compat-0.4.0.4.ebuild b/dev-haskell/transformers-compat/transformers-compat-0.4.0.4.ebuild new file mode 100644 index 000000000000..b61b4bafe037 --- /dev/null +++ b/dev-haskell/transformers-compat/transformers-compat-0.4.0.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.4.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?] <dev-haskell/transformers-0.5:=[profile?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 +" + +src_configure() { + local tf_arg=() + + has_version '=dev-haskell/transformers-0.3*' && \ + tf_arg+=(--flag=three) + + has_version '=dev-haskell/transformers-0.4*' && \ + tf_arg+=(--flag=-three) + + haskell-cabal_src_configure \ + --flag=mtl \ + --flag=-two \ + ${tf_arg[@]} +} 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..48796375b7da --- /dev/null +++ b/dev-haskell/transformers-compat/transformers-compat-0.5.1.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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="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[@]} +} |