diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2013-11-14 09:18:46 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2013-11-14 09:18:46 +0000 |
commit | b6255d24a7f6f00a143d22bf1b5e34c2183f3e56 (patch) | |
tree | 5c3c2acb9968490b672c747a4ccdcaa46bd7c835 /dev-haskell/attoparsec-enumerator | |
parent | Initial commit. Partial OpenSSL binding for Haskell. (diff) | |
download | gentoo-2-b6255d24a7f6f00a143d22bf1b5e34c2183f3e56.tar.gz gentoo-2-b6255d24a7f6f00a143d22bf1b5e34c2183f3e56.tar.bz2 gentoo-2-b6255d24a7f6f00a143d22bf1b5e34c2183f3e56.zip |
Initial commit. Pass input from an enumerator to an Attoparsec parser.
(Portage version: 2.2.7_p18/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
Diffstat (limited to 'dev-haskell/attoparsec-enumerator')
4 files changed, 72 insertions, 0 deletions
diff --git a/dev-haskell/attoparsec-enumerator/ChangeLog b/dev-haskell/attoparsec-enumerator/ChangeLog new file mode 100644 index 000000000000..81452956b3e2 --- /dev/null +++ b/dev-haskell/attoparsec-enumerator/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-haskell/attoparsec-enumerator +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/attoparsec-enumerator/ChangeLog,v 1.1 2013/11/14 09:18:46 slyfox Exp $ + +*attoparsec-enumerator-0.3.1-r1 (14 Nov 2013) + + 14 Nov 2013; Sergei Trofimovich <slyfox@gentoo.org> + +attoparsec-enumerator-0.3.1-r1.ebuild, +metadata.xml: + Initial commit. Pass input from an enumerator to an Attoparsec parser. diff --git a/dev-haskell/attoparsec-enumerator/Manifest b/dev-haskell/attoparsec-enumerator/Manifest new file mode 100644 index 000000000000..bb5e2ba8dc32 --- /dev/null +++ b/dev-haskell/attoparsec-enumerator/Manifest @@ -0,0 +1,3 @@ +DIST attoparsec-enumerator-0.3.1.tar.gz 2498 SHA256 a78a9f6ade2ae43659243b1a9e925a8c1bc2c05d94e894ca853a32b887880682 SHA512 99cf4050cd5d553398c9b28dd1530f2922e1c27abc7b8b5d7572a4926ebc33e31d146e35847e655152699418e327c998cee33e6f74e10c9a4137512bfeecb888 WHIRLPOOL 7ae815af0f2e8c1f2451370f44551a81a37bb4ce5262960e99ca41d8a5ad70340102b4f7b3bdda66d18dc8e3a5f1d95a5e8f1e322a3056acc726ca84f03c9bb8 +EBUILD attoparsec-enumerator-0.3.1-r1.ebuild 797 SHA256 b401f2386dd049f58f9a116a735b52bccf16835323abc7ecdea5c593e55da6a2 SHA512 8e2b0188485f8b88d1bd824a5c13b1015febbeedb07b84ce775c51dff6262d0988438f4e60128ea77c0c33a818a242da3c67b3775f0c962bcc6ed6e1db570088 WHIRLPOOL a61e64b7333e868abc9b2e9b764f28763ffbf65e6d74b52d5ad7f63941476a319c813d34f0cd588a9f79191b45cab219b9fd97aad4625ea49bd5b215bb08d87f +MISC metadata.xml 1031 SHA256 540059870b6c7dd6afb83e2ced4ae19320f4352f21cad8230edc80ea30342782 SHA512 f6ad82dda7ed7d426f1322ce91a29290a4d8a5895070637730e34e2c69a8cd1afa4b234ae84e68d7e1ceca636cf33992060ad4cf5e69fcd4266677b1fb71f3ee WHIRLPOOL c00f7f264f34df3d963956aa43da41fbf8e427207e33e5f5c964da46adbe408e918dd813104d0d290bdc269addb07601c6f7be83fb9aa1388ea0b6470bf7c2bb diff --git a/dev-haskell/attoparsec-enumerator/attoparsec-enumerator-0.3.1-r1.ebuild b/dev-haskell/attoparsec-enumerator/attoparsec-enumerator-0.3.1-r1.ebuild new file mode 100644 index 000000000000..7ab559017c39 --- /dev/null +++ b/dev-haskell/attoparsec-enumerator/attoparsec-enumerator-0.3.1-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/attoparsec-enumerator/attoparsec-enumerator-0.3.1-r1.ebuild,v 1.1 2013/11/14 09:18:46 slyfox Exp $ + +EAPI=5 + +# ebuild generated by hackport 0.3.4.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.11:=[profile?] + >=dev-haskell/enumerator-0.4:=[profile?] <dev-haskell/enumerator-0.5:=[profile?] + dev-haskell/text:=[profile?] + >=dev-lang/ghc-6.10.4:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6.0.3 +" diff --git a/dev-haskell/attoparsec-enumerator/metadata.xml b/dev-haskell/attoparsec-enumerator/metadata.xml new file mode 100644 index 000000000000..65262ed90ebc --- /dev/null +++ b/dev-haskell/attoparsec-enumerator/metadata.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>haskell</herd> + <maintainer> + <email>haskell@gentoo.org</email> + </maintainer> + <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. + + > (-# LANGUAGE OverloadedStrings #-) + > + > import Control.Applicative + > import Data.Attoparsec + > import Data.Attoparsec.Enumerator + > import Data.Enumerator + > import Data.Enumerator.Binary (enumHandle) + > import Data.Enumerator.List + > import System.IO + > + > parser = string "foo" <|> string "bar" + > + > main = do + > xy <- run_ (enumHandle 1 stdin $$ do + > x <- iterParser parser + > y <- iterParser parser + > return (x, y)) + > print xy + </longdescription> +</pkgmetadata> |