1 |
commit: c7f54bc735ea4bc7276caaf84b6ab98ee6399507 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 29 20:52:54 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 29 20:57:47 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7f54bc7 |
7 |
|
8 |
dev-haskell/parsec1: new package, a depend onf xmobar-0.32 |
9 |
|
10 |
Portable monadic parser combinators |
11 |
|
12 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
13 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
14 |
|
15 |
dev-haskell/parsec1/Manifest | 1 + |
16 |
dev-haskell/parsec1/metadata.xml | 34 ++++++++++++++++++++++++++++++ |
17 |
dev-haskell/parsec1/parsec1-1.0.0.6.ebuild | 24 +++++++++++++++++++++ |
18 |
3 files changed, 59 insertions(+) |
19 |
|
20 |
diff --git a/dev-haskell/parsec1/Manifest b/dev-haskell/parsec1/Manifest |
21 |
new file mode 100644 |
22 |
index 00000000000..34fd3d3d613 |
23 |
--- /dev/null |
24 |
+++ b/dev-haskell/parsec1/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST parsec1-1.0.0.6.tar.gz 13871 BLAKE2B 4159797292ee8a5a64ec53c324fab116aad1c3974183c978b6e43a124e58e897b5115ff36349218b8c57fd2a69c54b592322dfa7c0cfc20761490d7f0c205d82 SHA512 1372007edd048aa5cca20f44fe70041b238c0b5aa36ed2c189124072f5d7671d3d164cbad58c8ce3f5c7bff01096fc9deec80cd21edc5475eecae12d2c4c6c38 |
27 |
|
28 |
diff --git a/dev-haskell/parsec1/metadata.xml b/dev-haskell/parsec1/metadata.xml |
29 |
new file mode 100644 |
30 |
index 00000000000..b0ea7c4648b |
31 |
--- /dev/null |
32 |
+++ b/dev-haskell/parsec1/metadata.xml |
33 |
@@ -0,0 +1,34 @@ |
34 |
+<?xml version="1.0" encoding="UTF-8"?> |
35 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
36 |
+<pkgmetadata> |
37 |
+ <maintainer type="project"> |
38 |
+ <email>haskell@g.o</email> |
39 |
+ <name>Gentoo Haskell</name> |
40 |
+ </maintainer> |
41 |
+ <longdescription> |
42 |
+ Parsec is designed from scratch as an industrial-strength parser |
43 |
+ library. It is simple, safe, well documented (on the package |
44 |
+ homepage), has extensive libraries and good error messages, |
45 |
+ and is also fast. |
46 |
+ |
47 |
+ This package is the core haskell98 part of the parsec2 |
48 |
+ package, intended to preserve its simplicity and portability. |
49 |
+ |
50 |
+ Note, that the module names overlap with those of parsec from the Haskell |
51 |
+ Platform, therefore I do not recommend to unconditionally use parsec1 (or |
52 |
+ parsec2 and parsec3) as dependency in cabal files of packages for hackage. |
53 |
+ But you may want to develop your code using these limited and portable |
54 |
+ parsec1 functions and finally change the dependency from parsec1 to parsec |
55 |
+ in order to avoid module ambiguities for users just installing your package. |
56 |
+ Your own module ambiguities are best avoided by hiding packages. |
57 |
+ |
58 |
+ This version only differs from the pervious one by improved error messages |
59 |
+ for try (positions are not reset), tokens and thus string (longer |
60 |
+ unexpected strings are now reported to match the error position). |
61 |
+ The notFollowedBy-parser was generalized (as in parsec-3) so |
62 |
+ characters in messages are now shown in single instead of double |
63 |
+ quotes. |
64 |
+ Also (as since parsec-3.1.2) lookAhead no longer consumes tokens on success |
65 |
+ (so that the many-parser can detect this). |
66 |
+ </longdescription> |
67 |
+</pkgmetadata> |
68 |
|
69 |
diff --git a/dev-haskell/parsec1/parsec1-1.0.0.6.ebuild b/dev-haskell/parsec1/parsec1-1.0.0.6.ebuild |
70 |
new file mode 100644 |
71 |
index 00000000000..6af89318f95 |
72 |
--- /dev/null |
73 |
+++ b/dev-haskell/parsec1/parsec1-1.0.0.6.ebuild |
74 |
@@ -0,0 +1,24 @@ |
75 |
+# Copyright 1999-2020 Gentoo Authors |
76 |
+# Distributed under the terms of the GNU General Public License v2 |
77 |
+ |
78 |
+EAPI=6 |
79 |
+ |
80 |
+# ebuild generated by hackport 0.5.6.9999 |
81 |
+ |
82 |
+CABAL_FEATURES="lib profile haddock hoogle hscolour" |
83 |
+inherit haskell-cabal |
84 |
+ |
85 |
+DESCRIPTION="Portable monadic parser combinators" |
86 |
+HOMEPAGE="http://www.cs.uu.nl/~daan/parsec.html" |
87 |
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" |
88 |
+ |
89 |
+LICENSE="BSD" |
90 |
+SLOT="0/${PV}" |
91 |
+KEYWORDS="~amd64 ~x86" |
92 |
+IUSE="" |
93 |
+ |
94 |
+RDEPEND=">=dev-lang/ghc-7.4.1:= |
95 |
+" |
96 |
+DEPEND="${RDEPEND} |
97 |
+ >=dev-haskell/cabal-1.6 |
98 |
+" |