diff options
author | Jack Todaro <solpeth@posteo.org> | 2022-07-23 13:06:45 +1000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-23 05:07:56 +0100 |
commit | ce4703fe6f46736afff20a469325eea014b52a56 (patch) | |
tree | e07ebeee445f50a753d28aad610c80fc985b9990 /dev-haskell/witherable | |
parent | dev-haskell/scientific: drop 0.3.6.2 (diff) | |
download | gentoo-ce4703fe6f46736afff20a469325eea014b52a56.tar.gz gentoo-ce4703fe6f46736afff20a469325eea014b52a56.tar.bz2 gentoo-ce4703fe6f46736afff20a469325eea014b52a56.zip |
dev-haskell/witherable: new package, add 0.4.2
Signed-off-by: Jack Todaro <solpeth@posteo.org>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/witherable')
-rw-r--r-- | dev-haskell/witherable/Manifest | 2 | ||||
-rw-r--r-- | dev-haskell/witherable/metadata.xml | 8 | ||||
-rw-r--r-- | dev-haskell/witherable/witherable-0.4.2.ebuild | 48 |
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-haskell/witherable/Manifest b/dev-haskell/witherable/Manifest new file mode 100644 index 000000000000..747251cd7843 --- /dev/null +++ b/dev-haskell/witherable/Manifest @@ -0,0 +1,2 @@ +DIST witherable-0.4.2-rev2.cabal 2285 BLAKE2B 973c4d8502b8f4441b6d0bc9d8684f9a5bb750b89868bf393c27c3eef0a36de548821891b0745df804efc6d7f0f75bf41e5a101cf5d461e52824e687b5261e60 SHA512 839310a6771e4a1de5241528c5ff78de78b0ddb22597c30059cae1cb79ec9d3779f90ef345eed96eab7907e41a83ca73a9a0ce25185e57a3bc282d8704827e3b +DIST witherable-0.4.2.tar.gz 11876 BLAKE2B 58294fc66aa0e60cbb3a75b73ddc89ed3bb64ba62c2a462028afdfe0a86c219cb80db8a008c6abd9c5688fb684c05f2156dd51c796efd586a1a2f72a30ca7e7e SHA512 14ad590e24b93fc25f16fecaf71d6f9f891a903dd76e052d9f6c21b464f0d28df4f019d33ac36086341a6c5bd20833d7b0c2d19543460d1530899c0c25cea852 diff --git a/dev-haskell/witherable/metadata.xml b/dev-haskell/witherable/metadata.xml new file mode 100644 index 000000000000..b7878815d80d --- /dev/null +++ b/dev-haskell/witherable/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</pkgmetadata> diff --git a/dev-haskell/witherable/witherable-0.4.2.ebuild b/dev-haskell/witherable/witherable-0.4.2.ebuild new file mode 100644 index 000000000000..4b2fb8645e91 --- /dev/null +++ b/dev-haskell/witherable/witherable-0.4.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.1.1.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +CABAL_HACKAGE_REVISION="2" +inherit haskell-cabal + +DESCRIPTION="filterable traversable" +HOMEPAGE="https://github.com/fumieval/witherable" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz + https://hackage.haskell.org/package/${P}/revision/${CABAL_HACKAGE_REVISION}.cabal + -> ${P}-rev${CABAL_HACKAGE_REVISION}.cabal" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=dev-haskell/base-orphans-0.8.4:=[profile?] <dev-haskell/base-orphans-0.9:=[profile?] + >=dev-haskell/hashable-1.2.7.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-haskell/indexed-traversable-0.1.1:=[profile?] <dev-haskell/indexed-traversable-0.2:=[profile?] + >=dev-haskell/indexed-traversable-instances-0.1:=[profile?] <dev-haskell/indexed-traversable-instances-0.2:=[profile?] + >=dev-haskell/unordered-containers-0.2.12.0:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.12.2.0:=[profile?] <dev-haskell/vector-0.13:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.4 + test? ( >=dev-haskell/quickcheck-2.14.2 + dev-haskell/quickcheck-instances + dev-haskell/tasty + dev-haskell/tasty-quickcheck ) +" +BDEPEND="app-text/dos2unix" + +src_prepare() { + # pull revised cabal from upstream + cp "${DISTDIR}/${P}-rev${CABAL_HACKAGE_REVISION}.cabal" "${S}/${PN}.cabal" || die + + # Convert to unix line endings + dos2unix "${S}/${PN}.cabal" || die + + # Apply patches *after* pulling the revised cabal + default +} |