[arch-commits] Commit in perl-xml-sax/repos/extra-any (6 files)

Giovanni Scafora giovanni at archlinux.org
Fri Oct 7 12:37:40 EDT 2011


    Date: Friday, October 7, 2011 @ 12:37:40
  Author: giovanni
Revision: 140132

archrelease: copy trunk to extra-any

Added:
  perl-xml-sax/repos/extra-any/PKGBUILD
    (from rev 140131, perl-xml-sax/trunk/PKGBUILD)
  perl-xml-sax/repos/extra-any/perl-xml-sax.install
    (from rev 140131, perl-xml-sax/trunk/perl-xml-sax.install)
  perl-xml-sax/repos/extra-any/perl-xml-sax.patch
    (from rev 140131, perl-xml-sax/trunk/perl-xml-sax.patch)
Deleted:
  perl-xml-sax/repos/extra-any/PKGBUILD
  perl-xml-sax/repos/extra-any/perl-xml-sax.install
  perl-xml-sax/repos/extra-any/perl-xml-sax.patch

----------------------+
 PKGBUILD             |   73 ++++++++++++++++++++-------------------
 perl-xml-sax.install |   26 +++++---------
 perl-xml-sax.patch   |   91 ++++++++++++++++++++++++-------------------------
 3 files changed, 95 insertions(+), 95 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2011-10-07 16:37:08 UTC (rev 140131)
+++ PKGBUILD	2011-10-07 16:37:40 UTC (rev 140132)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: François Charette <firmicus ατ gmx δοτ net>
-
-pkgname=perl-xml-sax
-pkgver=0.96
-pkgrel=3
-pkgdesc="Simple API for XML"
-arch=('any')
-url="http://search.cpan.org/dist/XML-SAX"
-license=('GPL' 'PerlArtistic')
-depends=('perl>=5.10.0' 'perl-xml-namespacesupport>=0.03')
-options=('!emptydirs')
-install=perl-xml-sax.install
-source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-$pkgver.tar.gz" 'perl-xml-sax.patch') 
-md5sums=('bdcd4119a62505184e211e9dfaef0ab1'
-         'b8ad2da4195ac0eede28dfaed4d874c3')
-
-build() {
-  cd  $srcdir
-  patch -p0 < perl-xml-sax.patch
-
-  cd  $srcdir/XML-SAX-$pkgver
-  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
-  make
-  make test
-}
-
-package() {
-  cd  $srcdir/XML-SAX-$pkgver
-  make install DESTDIR=$pkgdir
-
-  find $pkgdir -name '.packlist' -delete
-  find $pkgdir -name '*.pod' -delete
-}

Copied: perl-xml-sax/repos/extra-any/PKGBUILD (from rev 140131, perl-xml-sax/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2011-10-07 16:37:40 UTC (rev 140132)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-xml-sax
+pkgver=0.99
+pkgrel=1
+pkgdesc="Simple API for XML"
+arch=('any')
+url="http://search.cpan.org/dist/XML-SAX"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0' 'perl-xml-namespacesupport>=0.03')
+options=('!emptydirs')
+install=perl-xml-sax.install
+source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-$pkgver.tar.gz"
+        'perl-xml-sax.patch') 
+md5sums=('290f5375ae87fdebfdb5bc3854019f24'
+         'f114c4aad3221d3e7d8314d13b84a869')
+
+build() {
+  cd  $srcdir/XML-SAX-$pkgver
+  patch -Np1 -i "${srcdir}/perl-xml-sax.patch"
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd  $srcdir/XML-SAX-$pkgver
+  make test
+}
+
+package() {
+  cd  $srcdir/XML-SAX-$pkgver
+  make install DESTDIR=$pkgdir
+
+  find $pkgdir -name '.packlist' -delete
+  find $pkgdir -name '*.pod' -delete
+}

Deleted: perl-xml-sax.install
===================================================================
--- perl-xml-sax.install	2011-10-07 16:37:08 UTC (rev 140131)
+++ perl-xml-sax.install	2011-10-07 16:37:40 UTC (rev 140132)
@@ -1,15 +0,0 @@
-post_install() {
-if [ ! -r /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini ]; then 
-    perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" &>/dev/null
-fi
-}
-
-post_upgrade() {
-if [ ! -r /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini ]; then 
-    perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" &>/dev/null
-fi
-}
-
-op=$1
-shift
-$op $*

Copied: perl-xml-sax/repos/extra-any/perl-xml-sax.install (from rev 140131, perl-xml-sax/trunk/perl-xml-sax.install)
===================================================================
--- perl-xml-sax.install	                        (rev 0)
+++ perl-xml-sax.install	2011-10-07 16:37:40 UTC (rev 140132)
@@ -0,0 +1,11 @@
+post_install() {
+if [ ! -r /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini ]; then 
+    perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" &>/dev/null
+fi
+}
+
+post_upgrade() {
+if [ ! -r /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini ]; then 
+    perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" &>/dev/null
+fi
+}

Deleted: perl-xml-sax.patch
===================================================================
--- perl-xml-sax.patch	2011-10-07 16:37:08 UTC (rev 140131)
+++ perl-xml-sax.patch	2011-10-07 16:37:40 UTC (rev 140132)
@@ -1,45 +0,0 @@
---- XML-SAX-0.96/Makefile.PL.orig	2008-08-04 23:07:21.000000000 +0200
-+++ XML-SAX-0.96/Makefile.PL	2008-12-09 11:52:24.806540909 +0100
-@@ -12,42 +12,3 @@
-     },    
- );
- 
--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;
--}
--

Copied: perl-xml-sax/repos/extra-any/perl-xml-sax.patch (from rev 140131, perl-xml-sax/trunk/perl-xml-sax.patch)
===================================================================
--- perl-xml-sax.patch	                        (rev 0)
+++ perl-xml-sax.patch	2011-10-07 16:37:40 UTC (rev 140132)
@@ -0,0 +1,46 @@
+--- a/Makefile.PL	2011-09-04 23:37:48.000000000 +0200
++++ b/Makefile.PL	2011-10-07 18:12:50.000000000 +0200
+@@ -12,43 +12,3 @@
+         'XML::NamespaceSupport' => 0.03,
+     },    
+ );
+-
+-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;
+-}
+-



More information about the arch-commits mailing list