dev-haskell/attoparsec-enumerator: switch to EAPI=7

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
Sergei Trofimovich
2020-09-27 10:08:12 +01:00
parent df97e16c15
commit 5c21ea265f
2 changed files with 3 additions and 27 deletions

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=7
# ebuild generated by hackport 0.4.5.9999
# ebuild generated by hackport 0.6.6.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal

View File

@@ -5,28 +5,4 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</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.
&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 "foo" &lt;|&gt; string "bar"
&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>