pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add p5-XML-Twig version 3.52.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%uninett.no@localhost>
Pushed By:	he
Date:		Mon Jul 2 14:30:35 2018 +0200
Changeset:	cba99f57bf2d04c8ad5d1dd42a1f997e7f34f507

Added Files:
	p5-XML-Twig/DESCR
	p5-XML-Twig/Makefile
	p5-XML-Twig/distinfo

Log Message:
Add p5-XML-Twig version 3.52.

XML::Twig is (yet another!) XML transformation module.

Its strong points: can be used to process huge documents while still
being in tree mode; not bound by DOM or SAX, so it is very perlish and
offers a very comprehensive set of methods; simple to use; DWIMs as
much as possible.

What it doesn't offer: full SAX support (it can export SAX, but only
reads XML), full XPath support (unless you use XML::Twig::XPath), nor
DOM support.

Other drawbacks: it is a big module, and with over 500 methods available
it can be a bit overwhelming. A good starting point is the tutorial at
http://xmltwig.org/xmltwig/tutorial/index.html. In fact the whole
XML::Twig page at http://xmltwig.org/xmltwig/ has plenty of information
to get you started with XML::Twig.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cba99f57bf2d04c8ad5d1dd42a1f997e7f34f507

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 p5-XML-Twig/DESCR    | 16 ++++++++++++++++
 p5-XML-Twig/Makefile | 22 ++++++++++++++++++++++
 p5-XML-Twig/distinfo |  6 ++++++
 3 files changed, 44 insertions(+)

diffs:
diff --git a/p5-XML-Twig/DESCR b/p5-XML-Twig/DESCR
new file mode 100644
index 0000000000..1aa5067cc8
--- /dev/null
+++ b/p5-XML-Twig/DESCR
@@ -0,0 +1,16 @@
+XML::Twig is (yet another!) XML transformation module. 
+ 
+Its strong points: can be used to process huge documents while still
+being in tree mode; not bound by DOM or SAX, so it is very perlish and
+offers a very comprehensive set of methods; simple to use; DWIMs as
+much as possible.
+
+What it doesn't offer: full SAX support (it can export SAX, but only
+reads XML), full XPath support (unless you use XML::Twig::XPath), nor
+DOM support.
+ 
+Other drawbacks: it is a big module, and with over 500 methods available
+it can be a bit overwhelming. A good starting point is the tutorial at
+http://xmltwig.org/xmltwig/tutorial/index.html. In fact the whole
+XML::Twig page at http://xmltwig.org/xmltwig/ has plenty of information
+to get you started with XML::Twig.
diff --git a/p5-XML-Twig/Makefile b/p5-XML-Twig/Makefile
new file mode 100644
index 0000000000..896871cbd2
--- /dev/null
+++ b/p5-XML-Twig/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.4 2013/05/14 02:26:40 jgoamakf Exp $
+#
+
+DISTNAME=	XML-Twig-3.52
+PKGNAME=	p5-${DISTNAME}
+CATEGORIES=	textproc perl5
+MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=XML/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://metacpan.org/pod/XML::Twig
+COMMENT=	Perl module for processing huge XML documents
+LICENSE=	${PERL5_LICENSE}
+
+DEPENDS+=	p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser
+DEPENDS+=	p5-XML-XPathEngine-[0-9]*:../../textproc/p5-XML-XPathEngine
+DEPENDS+=	p5-Encode-[0-9]*:../../textproc/p5-Encode
+DEPENDS+=	p5-Scalar-List-Utils-[0-9]*:../../devel/p5-Scalar-List-Utils
+
+PERL5_PACKLIST=		auto/XML/Twig/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/p5-XML-Twig/distinfo b/p5-XML-Twig/distinfo
new file mode 100644
index 0000000000..9fd9ed1bb1
--- /dev/null
+++ b/p5-XML-Twig/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (XML-Twig-3.52.tar.gz) = ce4ad6f055ea677ab5526e55677faffcc6457eb8
+RMD160 (XML-Twig-3.52.tar.gz) = 532413b74b6372e32c9a1e54b0a73ffd24ad31ff
+SHA512 (XML-Twig-3.52.tar.gz) = 1594e127fb76c0e53d0bd1f0a12fe3874c9523dd2bc55675d5a6cf44d5682ddea481671f786d3a65e6b69f5307c4da1701529f318453a1f8a22685b2dae793a6
+Size (XML-Twig-3.52.tar.gz) = 407769 bytes


Home | Main Index | Thread Index | Old Index