[csw-devel] SF.net SVN: gar:[18645] csw/mgar/pkg/cpan/XML-SAX/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Jul 5 14:47:59 CEST 2012


Revision: 18645
          http://gar.svn.sourceforge.net/gar/?rev=18645&view=rev
Author:   dmichelsen
Date:     2012-07-05 12:47:58 +0000 (Thu, 05 Jul 2012)
Log Message:
-----------
cpan/XML-SAX/trunk: Update to 0.99 and new deps

Modified Paths:
--------------
    csw/mgar/pkg/cpan/XML-SAX/trunk/Makefile
    csw/mgar/pkg/cpan/XML-SAX/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/cpan/XML-SAX/trunk/files/0001-Remove-stuff-that-ignores-DESTDIR.patch

Removed Paths:
-------------
    csw/mgar/pkg/cpan/XML-SAX/trunk/files/parser.diff
    csw/mgar/pkg/cpan/XML-SAX/trunk/files/pure.diff

Modified: csw/mgar/pkg/cpan/XML-SAX/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cpan/XML-SAX/trunk/Makefile	2012-07-05 12:03:25 UTC (rev 18644)
+++ csw/mgar/pkg/cpan/XML-SAX/trunk/Makefile	2012-07-05 12:47:58 UTC (rev 18645)
@@ -1,23 +1,24 @@
 NAME = XML-SAX
-VERSION = 0.96
+VERSION = 0.99
 CATEGORIES = cpan
 GARTYPE = v2
 AUTHOR = GRANTM
 
-DESCRIPTION = Simple API for XML
+DESCRIPTION = 
 define BLURB
-  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.
 endef
 
-DEP_PKGS = CSWpmxmlnssupp
+PATCHFILES += 0001-Remove-stuff-that-ignores-DESTDIR.patch
 
-PACKAGES = CSWpmxmlsax
-CATALOGNAME = pm_xmlsax
+CATALOG_RELEASE = unstable
 
 LICENSE = LICENSE
 
-ARCHALL = 1
+PACKAGES += CSWpm-xml-sax
+CATALOGNAME_CSWpm-xml-sax = pm_xml_sax
+SPKG_DESC_CSWpm-xml-sax = Simple API for XML
+ARCHALL_CSWpm-xml-sax = 1
+RUNTIME_DEP_PKGS_CSWpm-xml-sax += CSWpm-xml-namespacesupport
+RUNTIME_DEP_PKGS_CSWpm-xml-sax += CSWpm-xml-sax-base
 
 include gar/category.mk

Modified: csw/mgar/pkg/cpan/XML-SAX/trunk/checksums
===================================================================
--- csw/mgar/pkg/cpan/XML-SAX/trunk/checksums	2012-07-05 12:03:25 UTC (rev 18644)
+++ csw/mgar/pkg/cpan/XML-SAX/trunk/checksums	2012-07-05 12:47:58 UTC (rev 18645)
@@ -1 +1 @@
-bdcd4119a62505184e211e9dfaef0ab1  XML-SAX-0.96.tar.gz
+290f5375ae87fdebfdb5bc3854019f24  XML-SAX-0.99.tar.gz

Added: csw/mgar/pkg/cpan/XML-SAX/trunk/files/0001-Remove-stuff-that-ignores-DESTDIR.patch
===================================================================
--- csw/mgar/pkg/cpan/XML-SAX/trunk/files/0001-Remove-stuff-that-ignores-DESTDIR.patch	                        (rev 0)
+++ csw/mgar/pkg/cpan/XML-SAX/trunk/files/0001-Remove-stuff-that-ignores-DESTDIR.patch	2012-07-05 12:47:58 UTC (rev 18645)
@@ -0,0 +1,59 @@
+From d3fa8a62ca71efc752a54c4db96cd79022878222 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Thu, 5 Jul 2012 14:38:12 +0200
+Subject: [PATCH] Remove stuff that ignores DESTDIR
+
+---
+ Makefile.PL |   39 ---------------------------------------
+ 1 file changed, 39 deletions(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 3a78a4b..bbbca2e 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -13,42 +13,3 @@ WriteMakefile(
+     },    
+ );
+ 
+-sub MY::install {
+-    package MY;
+-    my $script = shift->SUPER::install(@_);
+-
+-    # Only modify existing ParserDetails.ini if user agrees
+-
+-    my $write_ini_ok = 0;
+-
+-    eval { require XML::SAX };
+-    if ($@) {
+-        $write_ini_ok = 1;
+-    }
+-    else {
+-        my $dir = File::Basename::dirname($INC{'XML/SAX.pm'});
+-        if (-e File::Spec->catfile($dir, 'SAX', 'ParserDetails.ini')) {
+-            $write_ini_ok =
+-                ExtUtils::MakeMaker::prompt(
+-                    "Do you want XML::SAX to alter ParserDetails.ini?", "Y"
+-                ) =~ /^y/i;
+-        }
+-        else {
+-            $write_ini_ok = 1;
+-        }
+-    }
+-    
+-    if ($write_ini_ok) {
+-        $script =~ s/install :: (.*)$/install :: $1 install_sax_pureperl/m;
+-        $script .= <<"INSTALL";
+-
+-install_sax_pureperl :
+-\t\@\$(PERL) -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()"
+-
+-INSTALL
+-
+-    }
+-
+-    return $script;
+-}
+-
+-- 
+1.7.10.3
+

Deleted: csw/mgar/pkg/cpan/XML-SAX/trunk/files/parser.diff
===================================================================
--- csw/mgar/pkg/cpan/XML-SAX/trunk/files/parser.diff	2012-07-05 12:03:25 UTC (rev 18644)
+++ csw/mgar/pkg/cpan/XML-SAX/trunk/files/parser.diff	2012-07-05 12:47:58 UTC (rev 18645)
@@ -1,21 +0,0 @@
-diff --speed-large-files --minimal -Nru XML-SAX-0.12.orig/Makefile.PL XML-SAX-0.12/Makefile.PL
---- XML-SAX-0.12.orig/Makefile.PL	2002-01-21 13:32:59.000000000 -0800
-+++ XML-SAX-0.12/Makefile.PL	2003-07-29 14:34:30.816558000 -0700
-@@ -12,7 +12,7 @@
- sub MY::install {
-     package MY;
-     my $script = shift->SUPER::install(@_);
--    if (ExtUtils::MakeMaker::prompt("Do you want XML::SAX to alter ParserDetails.ini?", "Y") =~ /^y/i) {
-+#    if (ExtUtils::MakeMaker::prompt("Do you want XML::SAX to alter ParserDetails.ini?", "Y") =~ /^y/i) {
-         $script =~ s/install :: (.*)$/install :: $1 install_sax_pureperl/m;
-         $script .= <<"INSTALL";
- 
-@@ -21,7 +21,7 @@
- 
- INSTALL
- 
--    }
-+#    }
- 
-     return $script;
- }

Deleted: csw/mgar/pkg/cpan/XML-SAX/trunk/files/pure.diff
===================================================================
--- csw/mgar/pkg/cpan/XML-SAX/trunk/files/pure.diff	2012-07-05 12:03:25 UTC (rev 18644)
+++ csw/mgar/pkg/cpan/XML-SAX/trunk/files/pure.diff	2012-07-05 12:47:58 UTC (rev 18645)
@@ -1,27 +0,0 @@
---- XML-SAX-0.12.orig/Makefile.PL	2002-01-21 13:32:59.000000000 -0800
-+++ XML-SAX-0.12/Makefile.PL	2004-01-03 17:30:20.185124000 -0800
-@@ -9,20 +9,17 @@
-     },    
- );
- 
--sub MY::install {
-+sub MY::pure_install {
-     package MY;
--    my $script = shift->SUPER::install(@_);
--    if (ExtUtils::MakeMaker::prompt("Do you want XML::SAX to alter ParserDetails.ini?", "Y") =~ /^y/i) {
--        $script =~ s/install :: (.*)$/install :: $1 install_sax_pureperl/m;
--        $script .= <<"INSTALL";
-+    my $script = shift->SUPER::pure_install(@_);
-+       $script =~ s/pure_install :: (.*)$/pure_install :: $1 install_sax_pureperl/m;
-+       $script .= <<"INSTALL";
- 
- install_sax_pureperl :
- \t\@\$(PERL) -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()"
- 
- INSTALL
- 
--    }
--
-     return $script;
- }
- 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list