Update to textproc/p5-XML-SAX 0.99, hook up p5-XML-SAX-Base (split off from

the main XML::SAX distribution).  ok bluhm@
This commit is contained in:
sthen 2016-04-01 19:32:48 +00:00
parent c45c554a88
commit ccf0021f1e
7 changed files with 33 additions and 30 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.491 2016/04/01 18:46:49 sthen Exp $
# $OpenBSD: Makefile,v 1.492 2016/04/01 19:32:48 sthen Exp $
SUBDIR =
SUBDIR += TclXML
@ -281,6 +281,7 @@
SUBDIR += p5-XML-RSSLite
SUBDIR += p5-XML-RegExp
SUBDIR += p5-XML-SAX
SUBDIR += p5-XML-SAX-Base
SUBDIR += p5-XML-SAX-Expat
SUBDIR += p5-XML-SAX-Expat-Incremental
SUBDIR += p5-XML-SAX-ExpatXS

View File

@ -1,17 +1,19 @@
# $OpenBSD: Makefile,v 1.22 2016/03/20 19:57:12 naddy Exp $
# $OpenBSD: Makefile,v 1.23 2016/04/01 19:32:48 sthen Exp $
COMMENT= perl interface to the SAX2 XML parser
COMMENT = framework for the Perl SAX2 XML parsers, filters and drivers
DISTNAME = XML-SAX-0.99
CATEGORIES = textproc
# Perl (see LICENSE)
PERMIT_PACKAGE_CDROM = Yes
MODULES = cpan
PKG_ARCH = *
DISTNAME= XML-SAX-0.96
REVISION= 1
CATEGORIES= textproc
# GPL/Artistic
PERMIT_PACKAGE_CDROM= Yes
RUN_DEPENDS= textproc/p5-XML-NamespaceSupport>=0.03
RUN_DEPENDS = textproc/p5-XML-SAX-Base>=1.05 \
textproc/p5-XML-NamespaceSupport>=0.03
# Install parser template
post-install:

View File

@ -1,2 +1,2 @@
SHA256 (XML-SAX-0.96.tar.gz) = m772E6+kLEbfAI1TfezFph336S1lRj88kAdp855cjgg=
SIZE (XML-SAX-0.96.tar.gz) = 62775
SHA256 (XML-SAX-0.99.tar.gz) = MrBLjja2zEz8SG3i2FnYevU4bdkw8jg8STRwUNb1rYQ=
SIZE (XML-SAX-0.99.tar.gz) = 46703

View File

@ -1,3 +1,2 @@
[XML::SAX::PurePerl]
http://xml.org/sax/features/namespaces = 1
http://xml.org/sax/features/validation = 0

View File

@ -1,7 +1,11 @@
$OpenBSD: patch-Makefile_PL,v 1.3 2006/11/07 18:16:02 espie Exp $
--- Makefile.PL.orig Mon Apr 24 01:56:41 2006
+++ Makefile.PL Mon Nov 6 18:44:51 2006
@@ -20,6 +20,7 @@ sub MY::install {
$OpenBSD: patch-Makefile_PL,v 1.4 2016/04/01 19:32:48 sthen Exp $
comment-out this block, it uses an installed version of XML::SAX to write out
an ini file. this is provided by ${FILESDIR}/ParserDetails.ini instead.
--- Makefile.PL.orig Sun Sep 4 22:37:48 2011
+++ Makefile.PL Fri Apr 1 14:45:14 2016
@@ -21,6 +21,7 @@ sub MY::install {
my $write_ini_ok = 0;
@ -9,7 +13,7 @@ $OpenBSD: patch-Makefile_PL,v 1.3 2006/11/07 18:16:02 espie Exp $
eval { require XML::SAX };
if ($@) {
$write_ini_ok = 1;
@@ -37,6 +38,7 @@ sub MY::install {
@@ -38,6 +39,7 @@ sub MY::install {
}
}

View File

@ -1,3 +1,6 @@
XML::SAX is a SAX parser access API for Perl. It includes classes
and APIs required for implementing SAX drivers, along with a factory
class for returning any SAX parser installed on the user's system.
XML::SAX consists of several framework classes for using and building
Perl SAX2 XML parsers, filters, and drivers. It is designed around the
need to be able to "plug in" different SAX parsers to an application
without requiring programmer intervention. Those of you familiar with
the DBI will be right at home. Some of the designs come from the Java
JAXP specification (SAX part), only without the javaness.

View File

@ -1,9 +1,6 @@
@comment $OpenBSD: PLIST,v 1.9 2008/10/01 16:04:27 simon Exp $
${P5SITE}/XML/SAX/
@comment $OpenBSD: PLIST,v 1.10 2016/04/01 19:32:48 sthen Exp $
${P5SITE}/XML/SAX.pm
${P5SITE}/XML/SAX/Base.pm
${P5SITE}/XML/SAX/DocumentLocator.pm
${P5SITE}/XML/SAX/Exception.pm
${P5SITE}/XML/SAX/Intro.pod
${P5SITE}/XML/SAX/ParserDetails.ini
${P5SITE}/XML/SAX/ParserFactory.pm
@ -25,11 +22,8 @@ ${P5SITE}/XML/SAX/PurePerl/Reader/URI.pm
${P5SITE}/XML/SAX/PurePerl/Reader/UnicodeExt.pm
${P5SITE}/XML/SAX/PurePerl/UnicodeExt.pm
${P5SITE}/XML/SAX/PurePerl/XMLDecl.pm
${P5SITE}/XML/SAX/placeholder.pl
@man man/man3p/XML::SAX.3p
@man man/man3p/XML::SAX::Base.3p
@man man/man3p/XML::SAX::DocumentLocator.3p
@man man/man3p/XML::SAX::Exception.3p
@man man/man3p/XML::SAX::Intro.3p
@man man/man3p/XML::SAX::ParserFactory.3p
@man man/man3p/XML::SAX::PurePerl.3p