Gentoo Archives: gentoo-commits

From: "Mark Wright (gienah)" <gienah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-haskell/hexpat: metadata.xml hexpat-0.20.3.ebuild ChangeLog
Date: Sun, 25 Nov 2012 06:18:08
Message-Id: 20121125060141.381ED21505@flycatcher.gentoo.org
1 gienah 12/11/25 06:01:41
2
3 Added: metadata.xml hexpat-0.20.3.ebuild ChangeLog
4 Log:
5 Add hexpat
6
7 (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
8
9 Revision Changes Path
10 1.1 dev-haskell/hexpat/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hexpat/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hexpat/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>haskell</herd>
21 <maintainer>
22 <email>haskell@g.o</email>
23 </maintainer>
24 <longdescription>
25 This package provides a general purpose Haskell XML library using Expat to
26 do its parsing (&lt;http://expat.sourceforge.net/&gt; - a fast stream-oriented XML
27 parser written in C). It is extensible to any string type, with @String@,
28 @ByteString@ and @Text@ provided out of the box.
29
30 Basic usage: Parsing a tree (/Tree/), formatting a tree (/Format/).
31 Other features: Helpers for processing XML trees (/Proc/), trees annotated with
32 XML source location (/Annotated/), extended XML trees with comments,
33 processing instructions, etc (/Extended/), XML cursors (/Cursor/),
34 SAX-style parse (/SAX/), and access to the low-level interface in case speed
35 is paramount (/Internal.IO/).
36
37 The design goals are speed, speed, speed, interface simplicity and modularity.
38
39 For introduction and examples, see the /Text.XML.Expat.Tree/ module. For benchmarks,
40 &lt;http://haskell.org/haskellwiki/Hexpat/&gt;
41
42 If you want to do interactive I\/O, an obvious option is to use lazy parsing
43 with one of the lazy I\/O functions such as hGetContents. However, this can be
44 problematic in some applications because it doesn&#39;t handle I\/O errors properly
45 and can give no guarantee of timely resource cleanup. In these cases, chunked
46 I\/O is a better approach: Take a look at the /hexpat-enumerator/ package.
47
48 /IO/ is filed under /Internal/ because it&#39;s low-level and most users won&#39;t want
49 it. The other /Internal/ modules are re-exported by /Annotated/, /Tree/ and /Extended/,
50 so you won&#39;t need to import them directly.
51
52 Credits to Iavor Diatchki and the @xml@ (XML.Light) package for /Proc/ and /Cursor/.
53 Thanks to the many contributors.
54
55 BOUND VS. UNBOUND THREADS: GHC (at least versions 6.12.X) will spawn threads
56 if you call a safe FFI callback from an unbound thread. This can get out of
57 control in a busy application. To avoid this, from version 0.19.1 we now delegate
58 processing to a single worker thread if the calling thread is not bound.
59 This essentially means that hexpat currently won&#39;t exploit multicores very well.
60 It also means that hexpat may be more efficient on threads spawned with forkOS
61 (to give you a bound thread) rather than forkIO.
62
63 ChangeLog: 0.15 changes intended to fix a (rare) \&quot;error: a C finalizer called back into Haskell.\&quot;
64 that seemed only to happen only on ghc6.12.X; 0.15.1 Fix broken Annotated parse;
65 0.16 switch from mtl to transformers; 0.17 fix mapNodeContainer &amp; rename some things.;
66 0.18 rename defaultEncoding to overrideEncoding. 0.18.3 formatG and indent were demanding list
67 items more than once (inefficient in chunked processing); 0.19 add Extended.hs;
68 0.19.1 fix a memory leak introduced in 0.19, delegate parsing to bound thread
69 if unbound (see note above); 0.19.2 include expat source code so \&#39;cabal install\&#39; just works
70 on Linux, Mac and Windows (thanks Jacob Stanley); 0.19.3 fix misconfiguration of expat
71 which broke entity parsing; 0.19.4 bump version constraint for text; 0.19.5 bump text
72 to &lt; 0.12 and fix text-0.10.0.1 breakage; 0.19.6 dependency breakage with List;
73 0.19.7 ghc-7.2.1 compatibility; 0.19.8 fix space leak on lazy parse under ghc-7.2.1
74 </longdescription>
75 </pkgmetadata>
76
77
78
79 1.1 dev-haskell/hexpat/hexpat-0.20.3.ebuild
80
81 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hexpat/hexpat-0.20.3.ebuild?rev=1.1&view=markup
82 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hexpat/hexpat-0.20.3.ebuild?rev=1.1&content-type=text/plain
83
84 Index: hexpat-0.20.3.ebuild
85 ===================================================================
86 # Copyright 1999-2012 Gentoo Foundation
87 # Distributed under the terms of the GNU General Public License v2
88 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/hexpat/hexpat-0.20.3.ebuild,v 1.1 2012/11/25 06:01:41 gienah Exp $
89
90 EAPI=5
91
92 # ebuild generated by hackport 0.3.9999
93
94 CABAL_FEATURES="lib profile haddock hoogle hscolour"
95 inherit haskell-cabal
96
97 DESCRIPTION="XML parser/formatter based on expat"
98 HOMEPAGE="http://haskell.org/haskellwiki/Hexpat/"
99 SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
100
101 LICENSE="BSD"
102 SLOT="0/${PV}"
103 KEYWORDS="~amd64 ~x86"
104 IUSE=""
105
106 RDEPEND=">=dev-haskell/deepseq-1.1.0.0:=[profile?]
107 <dev-haskell/deepseq-1.4.0.0:=[profile?]
108 =dev-haskell/extensible-exceptions-0.1*:=[profile?]
109 >=dev-haskell/list-0.4.2:=[profile?]
110 <dev-haskell/list-0.6:=[profile?]
111 >=dev-haskell/text-0.5:=[profile?]
112 <dev-haskell/text-0.12:=[profile?]
113 dev-haskell/transformers:=[profile?]
114 =dev-haskell/utf8-string-0.3*:=[profile?]
115 >=dev-lang/ghc-6.10.4:="
116 DEPEND="${RDEPEND}
117 >=dev-haskell/cabal-1.6"
118
119
120
121 1.1 dev-haskell/hexpat/ChangeLog
122
123 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hexpat/ChangeLog?rev=1.1&view=markup
124 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hexpat/ChangeLog?rev=1.1&content-type=text/plain
125
126 Index: ChangeLog
127 ===================================================================
128 # ChangeLog for dev-haskell/hexpat
129 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
130 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/hexpat/ChangeLog,v 1.1 2012/11/25 06:01:41 gienah Exp $
131
132 *hexpat-0.20.3 (25 Nov 2012)
133
134 25 Nov 2012; Mark Wright <gienah@g.o> +hexpat-0.20.3.ebuild,
135 +metadata.xml:
136 Add hexpat