diff options
Diffstat (limited to 'dev-haskell/transformers-compat')
5 files changed, 74 insertions, 6 deletions
diff --git a/dev-haskell/transformers-compat/Manifest b/dev-haskell/transformers-compat/Manifest index d8608f9883da..2403c4b87cfe 100644 --- a/dev-haskell/transformers-compat/Manifest +++ b/dev-haskell/transformers-compat/Manifest @@ -2,8 +2,10 @@ DIST transformers-compat-0.1.1.1.tar.gz 5221 BLAKE2B b8c050fb67bfe43529619bc14b6 DIST transformers-compat-0.3.3.4.tar.gz 11143 BLAKE2B 3fd082d92945620acbe1cf043c73b9d22322581df782473a40b507260bd8c5eaaa6b475f9659863a2b922d4edff388d336946ff423cc9a99e934ec0a5a03d2ad SHA512 1f50ddeaec4ea2e17ec348194a6efcfab35c4b9d49f9eba9e70a0c1ebfdfd39387461c133fb99e6cdad234b7facae74fa73c99f604807d7f3ad7c31d0188d462 DIST transformers-compat-0.4.0.4.tar.gz 12048 BLAKE2B a72513e0a5b482067ee912e467c29166bdebef75bf70cee9661b6f8e3a649cbdca57cd159483f4187e520425b46a8dd600e7f5b409705f67e851d9d11ec91c24 SHA512 5850fa8ed63684b3dc37897c22d1d32d7412374dcd892e42db7ed975d493fdc8e216630735813ed00203f83dcd17722484a6ec182ccffb6fc8794b4b82b6c951 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 EBUILD transformers-compat-0.1.1.1.ebuild 612 BLAKE2B 54b4bb7b4fecbd87dee0af032b1e7d25938930f472794ad7e048234107cc7ee7f6d3bdc2b0fb461e5f924e62aea6ea774eb0cf4eafa8dbe153610c2bee50b24a SHA512 675884c3ce0c6c13ee747e11642db834ef60d893e5b693c223b976361411b5947976b56ca88b78f7aad836f2cf721c0019fdb41a10e6c18e9b93c0451435c8a9 -EBUILD transformers-compat-0.3.3.4.ebuild 898 BLAKE2B 792c5e693266c921b63546dfa20ac4ea5b7904710b769d45df042760a8c1f00f26cb7961b78c639779820fc674afae1b1e9495ab3a103e5cfcfc3aa3a9d08648 SHA512 774491521ba050b4f96eed630fcbbd795fda1c5d3937265b8cf4d692c00a632d2b3cb371acab2ff11945eb3c1be9938481b3363a959ae1881f06abfd8a89eb90 -EBUILD transformers-compat-0.4.0.4.ebuild 997 BLAKE2B c3a9ee9c79d0b66755ab30f4476c27bde32276bc2e513661850ce298c23feed475d1d54cd48640ac8162d04334bb054c033b9fcc9d359cbe7502d3682fad4dcd SHA512 95cb52fa111e8d9ec04550883386a217008434eab796130557a09e09d75f5cd70065f9023919f8f0923ad3a4a6dcfa6e251ffa9465b0fddaf09078fd8df0ecea -EBUILD transformers-compat-0.5.1.4.ebuild 941 BLAKE2B 5dacb4377fcedbd5d1cf676b5396bcf73d14bbd2a92a00926113943868e37a631bce1fa1de3c5d3cd6b9a56d05246d2f554f1c3139328a142f01423afe75e2b6 SHA512 945b779b350ec71404a46234fc63fe2419b36cba3a0a8e9a1b2972098c67356b1d83694134b9b0e92cdac11c96d7b47185207279f294ead56976e14ee7be90ee +EBUILD transformers-compat-0.3.3.4.ebuild 886 BLAKE2B 5d95d2df30d2c520c767581e21ef3814dc1e27f27ea6b40321882b3775d4d47edb4a9bf87d1e9f7a75b0af95ecfe9c7563d11c0cce6aec73f45dedd3fcb6ce67 SHA512 0c6a6927bc4f4bf5c1d5c9a9e2678bfe6a780b5a9d041dccd7d0173ddc2fcd211bbad9caab0f3db0a170453b64382743d247c1e863e50a65171d8a80847aff06 +EBUILD transformers-compat-0.4.0.4.ebuild 985 BLAKE2B 5d63b3c18dd4d4323d935f1a178cb8598bbff6b9e9c95dd231ddb431dcaf49845961b1e17bdb3224dc42dc2f993f6ee9d2f0550b6d2ac9e12ef5514ace67d07c SHA512 c5145463b3a4dfa9146f416e44e704289a8a4785947b832b36513d4e84c9a279d8104df7ec0db209f2690c2279958c4b32524bdeffede00586ef11bc46d62d34 +EBUILD transformers-compat-0.5.1.4.ebuild 929 BLAKE2B 2bb9b58f9ecce85a614ffbf16525044e2c442cd9d9e7fa109df5615bb620bd88c5fa822a53b69197559f5dae3fdbad6cc1fc9cc74a53aa397fea5a85e0bb6c56 SHA512 4a516eb5b49744874b717f996e04be9524d053318c6b8bd582dc602ea0830dbeb2d70eee58a89bbdf3bb7b5ab0a64871c94751571e4eb9525ad144bc66dbed2d +EBUILD transformers-compat-0.6.5.ebuild 1501 BLAKE2B 5edcdbbe10fd4e7f7373e91e5b52d0821b43b1e6f7cf30be8cdb8e5666ccb09423dc33a4e4d0aa5481e3cae26a10b87273d146e945abf84bb230c8d06f354ecd SHA512 145064625386656ba68628b032b32f6df0295c20f2c2aca45e8de08036d3f658077bfac69524a7a356ecd383c51fa08473394123c5ba7b309fce9ba85fdc52a0 MISC metadata.xml 876 BLAKE2B ed51724530e82f2003a7ad612a2f18f22cc89879610b0bdf269461c1c72aab6ddb62e8a4154852e941859ea7658b095af3681e74b11b7f907f0c91cc30c35fe1 SHA512 f83fabfaa75fe7598f14e80ae17846a9f525cf5fae8b407d6ef45ca7e7816b3b04fc0c6ad02f9b2ed0c5cc4ded499d7b9afab922943991fb96d630597a9f4adf 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 index a3cceefe5178..ee56569038bf 100644 --- a/dev-haskell/transformers-compat/transformers-compat-0.3.3.4.ebuild +++ b/dev-haskell/transformers-compat/transformers-compat-0.3.3.4.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~x86" IUSE="three" RDEPEND=">=dev-lang/ghc-7.4.1:= 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 index ceed5c05ccf1..d2befc431ccb 100644 --- a/dev-haskell/transformers-compat/transformers-compat-0.4.0.4.ebuild +++ b/dev-haskell/transformers-compat/transformers-compat-0.4.0.4.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND=">=dev-lang/ghc-7.4.1:= 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 index 10ef06261625..94ceada31a79 100644 --- a/dev-haskell/transformers-compat/transformers-compat-0.5.1.4.ebuild +++ b/dev-haskell/transformers-compat/transformers-compat-0.5.1.4.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="" RDEPEND=">=dev-lang/ghc-7.4.1:= diff --git a/dev-haskell/transformers-compat/transformers-compat-0.6.5.ebuild b/dev-haskell/transformers-compat/transformers-compat-0.6.5.ebuild new file mode 100644 index 000000000000..5ac53b6cbadc --- /dev/null +++ b/dev-haskell/transformers-compat/transformers-compat-0.6.5.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# ebuild generated by hackport 0.6.1.9999 +#hackport: flags: -two,+mtl,-generic-deriving" + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +# break circular dependencies: +# https://github.com/gentoo-haskell/gentoo-haskell/issues/810 +CABAL_FEATURES+=" nocabaldep" +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" +IUSE="" + +RDEPEND=">=dev-haskell/fail-4.9:=[profile?] <dev-haskell/fail-4.10:=[profile?] + >=dev-haskell/mtl-2.1:=[profile?] + >=dev-haskell/transformers-0.3:=[profile?] + >=dev-lang/ghc-7.8.2:= +" +DEPEND="${RDEPEND}" + +src_configure() { + local tf3_arg=() + + if has_version '=dev-haskell/transformers-0.3*'; then + tf3_arg+=(--flag=three) + else + tf3_arg+=(--flag=-three) + fi + + local tf4_arg=() + + if has_version '=dev-haskell/transformers-0.4*'; then + tf4_arg+=(--flag=four) + else + tf4_arg+=(--flag=-four) + fi + + local tf5_arg=() + + if has_version '=dev-haskell/transformers-0.5*'; then + if has_version '>dev-haskell/transformers-0.5.3'; then + tf5_arg+=(--flag=-five) + else + tf5_arg+=(--flag=five) + fi + else + tf5_arg+=(--flag=-five) + fi + + haskell-cabal_src_configure \ + --flag=mtl \ + --flag=-two \ + ${tf3_arg[@]} \ + ${tf4_arg[@]} \ + ${tf5_arg[@]} +} |