diff options
author | hololeap <hololeap@protonmail.com> | 2023-10-02 23:10:23 -0600 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-23 04:10:16 +0100 |
commit | 9fc50c98257eeead7f0a478553bc8eacb5542026 (patch) | |
tree | 90afc71de5ded264aca777e419dd88acfa066bf5 /dev-haskell/transformers-compat | |
parent | dev-haskell/transformers-base: add 0.4.6 (diff) | |
download | gentoo-9fc50c98257eeead7f0a478553bc8eacb5542026.tar.gz gentoo-9fc50c98257eeead7f0a478553bc8eacb5542026.tar.bz2 gentoo-9fc50c98257eeead7f0a478553bc8eacb5542026.zip |
dev-haskell/transformers-compat: add 0.7.2
Signed-off-by: hololeap <hololeap@protonmail.com>
Signed-off-by: Sam James <sam@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/metadata.xml | 13 | ||||
-rw-r--r-- | dev-haskell/transformers-compat/transformers-compat-0.7.2.ebuild | 31 |
3 files changed, 33 insertions, 12 deletions
diff --git a/dev-haskell/transformers-compat/Manifest b/dev-haskell/transformers-compat/Manifest index 381d35948b36..60185e23f03c 100644 --- a/dev-haskell/transformers-compat/Manifest +++ b/dev-haskell/transformers-compat/Manifest @@ -1 +1,2 @@ DIST transformers-compat-0.6.6.tar.gz 41347 BLAKE2B e0d49ac7fdb035e6255f8124cf7a2e734bc9d36bcadded33e79e237603a5f9d1e4609fd50b673fc1f3353e20816a7c94a784bb0aa0feb3243c70151f8023d5b7 SHA512 1f34e40e17e7c19c889e58101f5ed6a019b5bb08be4c798a1f233158b27b6a2cd05b9260d2cf7065cd2bdfb4df4cbbda463abee69c4ba00b6f445392659e920d +DIST transformers-compat-0.7.2.tar.gz 46485 BLAKE2B a0a26a91219e098f04fff32f2dfb5e860c4e62fc6d5111c9baaf7203ee19a19809a1b812721fcd110edf680be7665112a8e5e11e798f40e1912418f6a52c0b29 SHA512 9bcc4b5aebbc6ec0b05ac8499ec79102e766ae8c2c919343f7d20ebb451fedb3a00647dc0baff5e998dd0b67f1ffbe725a14e0abf299a6b2656c219f8330856e diff --git a/dev-haskell/transformers-compat/metadata.xml b/dev-haskell/transformers-compat/metadata.xml index d076eadf9168..c0d56bdf262d 100644 --- a/dev-haskell/transformers-compat/metadata.xml +++ b/dev-haskell/transformers-compat/metadata.xml @@ -5,19 +5,8 @@ <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> <upstream> + <remote-id type="hackage">transformers-compat</remote-id> <remote-id type="github">ekmett/transformers-compat</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/transformers-compat/transformers-compat-0.7.2.ebuild b/dev-haskell/transformers-compat/transformers-compat-0.7.2.ebuild new file mode 100644 index 000000000000..36e1b3237168 --- /dev/null +++ b/dev-haskell/transformers-compat/transformers-compat-0.7.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.3.0 +#hackport: flags: -two,+mtl,-generic-deriving + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A small compatibility shim for the transformers library" +HOMEPAGE="https://github.com/ekmett/transformers-compat/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux" + +RDEPEND=" + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-generic-deriving \ + --flag=mtl \ + --flag=-two +} |