summaryrefslogtreecommitdiff
path: root/dev-haskell/attoparsec-enumerator
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/attoparsec-enumerator')
-rw-r--r--dev-haskell/attoparsec-enumerator/Manifest2
-rw-r--r--dev-haskell/attoparsec-enumerator/attoparsec-enumerator-0.3.3.ebuild28
-rw-r--r--dev-haskell/attoparsec-enumerator/attoparsec-enumerator-0.3.4.ebuild28
-rw-r--r--dev-haskell/attoparsec-enumerator/metadata.xml29
4 files changed, 87 insertions, 0 deletions
diff --git a/dev-haskell/attoparsec-enumerator/Manifest b/dev-haskell/attoparsec-enumerator/Manifest
new file mode 100644
index 000000000000..d74c6ea6a971
--- /dev/null
+++ b/dev-haskell/attoparsec-enumerator/Manifest
@@ -0,0 +1,2 @@
+DIST attoparsec-enumerator-0.3.3.tar.gz 2484 SHA256 3cf105cdc29120a5c21487708783155a35fd9d4df29f72e56c22ed93f85aa77c SHA512 f52a82c8a701a494ce7224e792c07a572c2a791bd803d7612954f5fd6a2f7913e01a19feed66347af5cf76974088cc573b3a5ee09218b150e413f7ff0618b092 WHIRLPOOL a5a61e6bbcd493f4c6bce161f8e9496c701fae3b3ab486851c18095fe502d496f68285c0904f74b705c5f9796761b63dfdf21a53ef98378052ee8ef42c1e9a22
+DIST attoparsec-enumerator-0.3.4.tar.gz 2485 SHA256 be95a763ebbec5529f486e62e49ce6709f14e688138fc36cff5590613690f588 SHA512 caf6bc858c9c0f41f3ec332cf4149bdc9233cad112579eb79a20dff1893994cee365c2863a47a72fef8d30aaab1d30b506b98c3a8b8429c461811f717c8fd31d WHIRLPOOL 00abea7cc76d77f8b94bd868276f138070d80c05ab9e837a66c74009535b413898469b82dd77d24183e7a8b6a9494494beeddf6ad854fd8bb9aa2a1df66ab21c
diff --git a/dev-haskell/attoparsec-enumerator/attoparsec-enumerator-0.3.3.ebuild b/dev-haskell/attoparsec-enumerator/attoparsec-enumerator-0.3.3.ebuild
new file mode 100644
index 000000000000..8ab7c3685276
--- /dev/null
+++ b/dev-haskell/attoparsec-enumerator/attoparsec-enumerator-0.3.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.2.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Pass input from an enumerator to an Attoparsec parser"
+HOMEPAGE="https://john-millikin.com/software/attoparsec-enumerator/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/attoparsec-0.10:=[profile?] <dev-haskell/attoparsec-0.13:=[profile?]
+ >=dev-haskell/enumerator-0.4:=[profile?] <dev-haskell/enumerator-0.5:=[profile?]
+ dev-haskell/text:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
diff --git a/dev-haskell/attoparsec-enumerator/attoparsec-enumerator-0.3.4.ebuild b/dev-haskell/attoparsec-enumerator/attoparsec-enumerator-0.3.4.ebuild
new file mode 100644
index 000000000000..935b98754a8f
--- /dev/null
+++ b/dev-haskell/attoparsec-enumerator/attoparsec-enumerator-0.3.4.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.5.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Pass input from an enumerator to an Attoparsec parser"
+HOMEPAGE="https://john-millikin.com/software/attoparsec-enumerator/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/attoparsec-0.10:=[profile?] <dev-haskell/attoparsec-0.14:=[profile?]
+ >=dev-haskell/enumerator-0.4:=[profile?] <dev-haskell/enumerator-0.5:=[profile?]
+ dev-haskell/text:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
diff --git a/dev-haskell/attoparsec-enumerator/metadata.xml b/dev-haskell/attoparsec-enumerator/metadata.xml
new file mode 100644
index 000000000000..8459a59d4c56
--- /dev/null
+++ b/dev-haskell/attoparsec-enumerator/metadata.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <longdescription>
+ This library allows an Attoparsec parser to receive input incrementally
+ from an enumerator. This could be used for parsing large files, or
+ implementing binary network protocols.
+
+ &gt; (-# LANGUAGE OverloadedStrings #-)
+ &gt;
+ &gt; import Control.Applicative
+ &gt; import Data.Attoparsec
+ &gt; import Data.Attoparsec.Enumerator
+ &gt; import Data.Enumerator
+ &gt; import Data.Enumerator.Binary (enumHandle)
+ &gt; import Data.Enumerator.List
+ &gt; import System.IO
+ &gt;
+ &gt; parser = string &quot;foo&quot; &lt;|&gt; string &quot;bar&quot;
+ &gt;
+ &gt; main = do
+ &gt; xy &lt;- run_ (enumHandle 1 stdin $$ do
+ &gt; x &lt;- iterParser parser
+ &gt; y &lt;- iterParser parser
+ &gt; return (x, y))
+ &gt; print xy
+ </longdescription>
+</pkgmetadata>