Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/attoparsec-enumerator/
Date: Sun, 27 Sep 2020 09:08:26
Message-Id: 1601197692.5c21ea265f6d9efd01f5aff2e2ce3a5c55046572.slyfox@gentoo
1 commit: 5c21ea265f6d9efd01f5aff2e2ce3a5c55046572
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 27 09:08:12 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 27 09:08:12 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c21ea26
7
8 dev-haskell/attoparsec-enumerator: switch to EAPI=7
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 .../attoparsec-enumerator-0.3.4.ebuild | 6 +++---
14 dev-haskell/attoparsec-enumerator/metadata.xml | 24 ----------------------
15 2 files changed, 3 insertions(+), 27 deletions(-)
16
17 diff --git a/dev-haskell/attoparsec-enumerator/attoparsec-enumerator-0.3.4.ebuild b/dev-haskell/attoparsec-enumerator/attoparsec-enumerator-0.3.4.ebuild
18 index 27b6b385987..566c5d2c8ee 100644
19 --- a/dev-haskell/attoparsec-enumerator/attoparsec-enumerator-0.3.4.ebuild
20 +++ b/dev-haskell/attoparsec-enumerator/attoparsec-enumerator-0.3.4.ebuild
21 @@ -1,9 +1,9 @@
22 -# Copyright 1999-2019 Gentoo Authors
23 +# Copyright 1999-2020 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=5
27 +EAPI=7
28
29 -# ebuild generated by hackport 0.4.5.9999
30 +# ebuild generated by hackport 0.6.6.9999
31
32 CABAL_FEATURES="lib profile haddock hoogle hscolour"
33 inherit haskell-cabal
34
35 diff --git a/dev-haskell/attoparsec-enumerator/metadata.xml b/dev-haskell/attoparsec-enumerator/metadata.xml
36 index 4f48a5c05d4..b7878815d80 100644
37 --- a/dev-haskell/attoparsec-enumerator/metadata.xml
38 +++ b/dev-haskell/attoparsec-enumerator/metadata.xml
39 @@ -5,28 +5,4 @@
40 <email>haskell@g.o</email>
41 <name>Gentoo Haskell</name>
42 </maintainer>
43 - <longdescription>
44 - This library allows an Attoparsec parser to receive input incrementally
45 - from an enumerator. This could be used for parsing large files, or
46 - implementing binary network protocols.
47 -
48 - &gt; (-# LANGUAGE OverloadedStrings #-)
49 - &gt;
50 - &gt; import Control.Applicative
51 - &gt; import Data.Attoparsec
52 - &gt; import Data.Attoparsec.Enumerator
53 - &gt; import Data.Enumerator
54 - &gt; import Data.Enumerator.Binary (enumHandle)
55 - &gt; import Data.Enumerator.List
56 - &gt; import System.IO
57 - &gt;
58 - &gt; parser = string "foo" &lt;|&gt; string "bar"
59 - &gt;
60 - &gt; main = do
61 - &gt; xy &lt;- run_ (enumHandle 1 stdin $$ do
62 - &gt; x &lt;- iterParser parser
63 - &gt; y &lt;- iterParser parser
64 - &gt; return (x, y))
65 - &gt; print xy
66 - </longdescription>
67 </pkgmetadata>