From 02064bbae2bb6e491e256eec466535cfe597552d Mon Sep 17 00:00:00 2001 From: hololeap Date: Mon, 2 Oct 2023 23:06:09 -0600 Subject: [PATCH] dev-haskell/attoparsec: add 0.14.4-r1 Signed-off-by: hololeap Signed-off-by: Sam James --- dev-haskell/attoparsec/Manifest | 1 + .../attoparsec/attoparsec-0.14.4-r1.ebuild | 47 +++++++++++++++++++ dev-haskell/attoparsec/metadata.xml | 8 +--- 3 files changed, 50 insertions(+), 6 deletions(-) create mode 100644 dev-haskell/attoparsec/attoparsec-0.14.4-r1.ebuild diff --git a/dev-haskell/attoparsec/Manifest b/dev-haskell/attoparsec/Manifest index 356b98b135f3a..878932895f29d 100644 --- a/dev-haskell/attoparsec/Manifest +++ b/dev-haskell/attoparsec/Manifest @@ -1 +1,2 @@ +DIST attoparsec-0.14.4-rev4.cabal 5679 BLAKE2B d03ea52e19bc1e07da35f298245e613040f26d45b63322bc7995566802f71ec9d8aca05d96abc0585e06006053413abe5e58590bcd4fbfe1b13583d8e80788d3 SHA512 b879016ea2ff3ebb7b92d39282d48735d2d063ca94dc7cb6552a4d34607afe778876771911c844bd88cad6065aeb2ab85b7e41bbc8d4f1fe9de205af1a77db56 DIST attoparsec-0.14.4.tar.gz 160701 BLAKE2B eb7094b0e1b064f5b10c198950b33a085722ee22bd6f0036c8e53aa5475f1b40fe08d528ec3afd547b13cd5712a51e5bcb86a8465a59174a35d603b3f9c13a0a SHA512 48aa7743b24def2db7041e3e0189d9844194c42b5d216ff5060806a80eb550200ddcb11e9321a910ac4881ffdd7381d80a4b88a73acfb29209c650eababb925b diff --git a/dev-haskell/attoparsec/attoparsec-0.14.4-r1.ebuild b/dev-haskell/attoparsec/attoparsec-0.14.4-r1.ebuild new file mode 100644 index 0000000000000..0ea6ec5604e81 --- /dev/null +++ b/dev-haskell/attoparsec/attoparsec-0.14.4-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.0.0.9999 +#hackport: flags: -developer + +CABAL_HACKAGE_REVISION=4 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Fast combinator parsing for bytestrings and text" +HOMEPAGE="https://github.com/bgamari/attoparsec" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/scientific-0.3.1:=[profile?] =dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( + >=dev-haskell/quickcheck-2.13.2 =dev-haskell/tasty-0.11 + >=dev-haskell/tasty-quickcheck-0.8 + dev-haskell/vector + ) +" + +pkg_pretend() { + if use test; then + ewarn "The \"test\" USE flag for this package creates cycles within the" + ewarn "dependency graph. This may give you problems during 'haskell-updater' runs." + ewarn "It is recommended to leave it disabled unless explicitly testing the package." + fi +} + +src_configure() { + haskell-cabal_src_configure \ + --flag=-developer +} diff --git a/dev-haskell/attoparsec/metadata.xml b/dev-haskell/attoparsec/metadata.xml index c6df28c11857f..90b0090fc01fa 100644 --- a/dev-haskell/attoparsec/metadata.xml +++ b/dev-haskell/attoparsec/metadata.xml @@ -5,12 +5,8 @@ haskell@gentoo.org Gentoo Haskell - - A fast parser combinator library, aimed particularly at dealing - efficiently with network protocols and complicated text/binary - file formats. - - bos/attoparsec + attoparsec + bgamari/attoparsec