1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

This package provides parsing and rendering functions for XML. It is

based on the datatypes found in the xml-types package.  This package is
broken up into the following modules:

 * Text.XML: DOM-based parsing and rendering.  This is the most commonly
   used module.

 * Text.XML.Cursor: A wrapper around Text.XML which allows bidirectional
   traversing of the DOM, similar to XPath.

 * Text.XML.Unresolved: A slight modification to Text.XML which does not
   require all entities to be resolved at parsing.  The datatypes are
   slightly more complicated here, and therefore this module is only
   recommended when you need to deal directly with raw entities.

 * Text.XML.Stream.Parse: Streaming parser, including some streaming
   parser combinators.

 * Text.XML.Stream.Render: Streaming renderer.

WWW:	http://github.com/snoyberg/xml

Obtained from:	FreeBSD Haskell
This commit is contained in:
Gabor Pali 2012-06-03 19:28:57 +00:00
parent 30cbd53fc9
commit 7fc3040584
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298144
4 changed files with 48 additions and 0 deletions

View File

@ -315,6 +315,7 @@ X11_port= x11/hs-X11 # lib_depends
X11-xft_port= x11/hs-X11-xft
xhtml_port= textproc/hs-xhtml
xml_port= textproc/hs-xml
xml-conduit_port= textproc/hs-xml-conduit
xml-enumerator_port= textproc/hs-xml-enumerator
xml-types_port= textproc/hs-xml-types
xmlhtml_port= textproc/hs-xmlhtml

View File

@ -0,0 +1,24 @@
# New ports collection makefile for: hs-xml-conduit
# Date created: December 30, 2011
# Whom: haskell@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= xml-conduit
PORTVERSION= 0.7.0.3
CATEGORIES= textproc haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Pure-Haskell utilities for dealing with XML with the conduit package
LICENSE= BSD
USE_CABAL= attoparsec>=0.10 attoparsec-conduit>=0.4 blaze-builder>=0.2 \
blaze-builder-conduit>=0.4 conduit>=0.4 data-default>=0.2 \
failure>=0.1 monad-control>=0.3 resourcet>=0.3 \
system-filepath>=0.4 text>=0.7 transformers>=0.2 \
xml-types>=0.3.1
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (cabal/xml-conduit-0.7.0.3.tar.gz) = 7bef1e2a5e5b1c2dcc994b0c6eaf4f88e73b8cadec88a13eb573b22e2b6a6c90
SIZE (cabal/xml-conduit-0.7.0.3.tar.gz) = 26522

View File

@ -0,0 +1,21 @@
This package provides parsing and rendering functions for XML. It is
based on the datatypes found in the xml-types package. This package is
broken up into the following modules:
* Text.XML: DOM-based parsing and rendering. This is the most commonly
used module.
* Text.XML.Cursor: A wrapper around Text.XML which allows bidirectional
traversing of the DOM, similar to XPath.
* Text.XML.Unresolved: A slight modification to Text.XML which does not
require all entities to be resolved at parsing. The datatypes are
slightly more complicated here, and therefore this module is only
recommended when you need to deal directly with raw entities.
* Text.XML.Stream.Parse: Streaming parser, including some streaming
parser combinators.
* Text.XML.Stream.Render: Streaming renderer.
WWW: http://github.com/snoyberg/xml