summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@protonmail.com>2023-10-02 23:06:09 -0600
committerSam James <sam@gentoo.org>2023-10-23 04:09:14 +0100
commit02064bbae2bb6e491e256eec466535cfe597552d (patch)
tree2dad157b8d9114db6ad48f40f23ad42174f22925
parentf1d680498b85f8814c9411d1f01f6e1f8ff179b5 (diff)
downloadgentoo-02064bbae2bb6e491e256eec466535cfe597552d.tar.gz
gentoo-02064bbae2bb6e491e256eec466535cfe597552d.tar.bz2
gentoo-02064bbae2bb6e491e256eec466535cfe597552d.zip
dev-haskell/attoparsec: add 0.14.4-r1
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-haskell/attoparsec/Manifest1
-rw-r--r--dev-haskell/attoparsec/attoparsec-0.14.4-r1.ebuild47
-rw-r--r--dev-haskell/attoparsec/metadata.xml8
3 files changed, 50 insertions, 6 deletions
diff --git a/dev-haskell/attoparsec/Manifest b/dev-haskell/attoparsec/Manifest
index 356b98b135f3..878932895f29 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 000000000000..0ea6ec5604e8
--- /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-haskell/scientific-0.4:=[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/quickcheck-2.15
+ dev-haskell/quickcheck-unicode
+ >=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 c6df28c11857..90b0090fc01f 100644
--- a/dev-haskell/attoparsec/metadata.xml
+++ b/dev-haskell/attoparsec/metadata.xml
@@ -5,12 +5,8 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
- <longdescription>
- A fast parser combinator library, aimed particularly at dealing
- efficiently with network protocols and complicated text/binary
- file formats.
- </longdescription>
<upstream>
- <remote-id type="github">bos/attoparsec</remote-id>
+ <remote-id type="hackage">attoparsec</remote-id>
+ <remote-id type="github">bgamari/attoparsec</remote-id>
</upstream>
</pkgmetadata>