r10531 - in /trunk/libxml-perl: debian/ debian/changelog debian/compat debian/control debian/copyright debian/libxml-perl.docs debian/libxml-perl.examples debian/rules debian/watch lib/XML/PatAct/ToObjects.pm

vdanjean at users.alioth.debian.org vdanjean at users.alioth.debian.org
Sat Dec 1 12:35:15 UTC 2007


Author: vdanjean
Date: Sat Dec  1 12:35:15 2007
New Revision: 10531

URL: http://svn.debian.org/wsvn/?sc=1&rev=10531
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libxml-perl/debian/
    trunk/libxml-perl/debian/changelog
    trunk/libxml-perl/debian/compat
    trunk/libxml-perl/debian/control
    trunk/libxml-perl/debian/copyright
    trunk/libxml-perl/debian/libxml-perl.docs
    trunk/libxml-perl/debian/libxml-perl.examples
    trunk/libxml-perl/debian/rules   (with props)
    trunk/libxml-perl/debian/watch
Modified:
    trunk/libxml-perl/lib/XML/PatAct/ToObjects.pm

Added: trunk/libxml-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libxml-perl/debian/changelog?rev=10531&op=file
==============================================================================
--- trunk/libxml-perl/debian/changelog (added)
+++ trunk/libxml-perl/debian/changelog Sat Dec  1 12:35:15 2007
@@ -1,0 +1,121 @@
+libxml-perl (0.08-1) unstable; urgency=low
+
+  * New upstream version
+  * Adds debian/watch file so uscan will work
+
+ -- Jay Bonci <jaybonci at debian.org>  Wed, 27 Oct 2004 12:13:31 -0400
+
+libxml-perl (0.07-11) unstable; urgency=low
+
+  * New Maintainer (Closes: #210538)
+  * Bumped policy-version to 3.6.1.0 (No other changes)
+  * Moved over to my standard rules template
+  * Removed .install file, as it isn't necessary
+  * Fixed test file for Unicode-aware perl
+
+ -- Jay Bonci <jaybonci at debian.org>  Wed, 10 Mar 2004 21:39:53 -0500
+
+libxml-perl (0.07-10) unstable; urgency=low
+
+  * debian/rules: moved debhelper compatibility level setting to
+    'debian/compat' per latest debhelper best practices
+  * debian/control: updated sections according to latest archive changes:
+    - 'libxml-perl' from 'interpreters' to 'perl'
+  * debian/control: upgraded build dependency on 'debhelper' to '>= 4.1'
+  * debian/control: upgraded to Debian Policy 3.6.0 (no changes)
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Thu,  4 Sep 2003 19:54:56 -0500
+
+libxml-perl (0.07-9) unstable; urgency=low
+
+  * lib/XML/PatAct/ToObjects.pm: applied another patch from Adam Heath
+    which is needed for the new version of 'debbugs'
+    (closes: Bug#174434)
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Fri, 27 Dec 2002 18:49:34 -0600
+
+libxml-perl (0.07-8) unstable; urgency=low
+
+  * debian/control: upgraded to Debian Policy 3.5.8 (no changes)
+  * lib/XML/PatAct/ToObjects.pm: applied two patches by Adam Heath which are
+    needed for a rewrite of 'debbugs' 
+    (closes: Bug#174315)
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Wed, 25 Dec 2002 21:27:47 -0600
+
+libxml-perl (0.07-7) unstable; urgency=low
+
+  * debian/rules: added erroneously removed 'dh_testroot' to 'binary-indep'
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Sun,  4 Aug 2002 14:48:15 -0500
+
+libxml-perl (0.07-6) unstable; urgency=low
+
+  * debian/rules: upgraded to debhelper v4
+  * debian/control: changed build dependency on debhelper accordingly
+  * debian/rules: migrated from 'dh_movefiles' to 'dh_install'
+  * debian/rules: split off 'install' target from 'binary-indep' target
+  * debian/copyright: added pointer to license
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Sat,  3 Aug 2002 19:24:00 -0500
+
+libxml-perl (0.07-5) unstable; urgency=low
+
+  * debian/control: upgraded to Debian Policy 3.5.6
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Sun, 23 Dec 2001 20:45:52 -0600
+
+libxml-perl (0.07-4) unstable; urgency=low
+
+  * debian/control: upgraded to Debian Policy 3.5.5
+  * debian/control: upgraded to Debian Perl Policy 1.20
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Sun,  2 Sep 2001 17:35:04 -0500
+
+libxml-perl (0.07-3) unstable; urgency=low
+
+  * debian/control: updated debhelper dependency to remove dh_testversion
+    (closes: Bug#93256)
+  * debian/control: upgraded to Debian Policy 3.5.2
+  * debian/control: upgraded to Debian Perl Policy 1.17
+  * debian/rules: upgraded to Debian Perl Policy 1.17
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Sun, 15 Apr 2001 13:51:03 -0500
+
+libxml-perl (0.07-2) unstable; urgency=low
+
+  * debian/control: upgraded to Debian Policy 3.2.1
+  * debian/rules: upgraded to debhelper v3
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Wed, 17 Jan 2001 13:36:03 -0600
+
+libxml-perl (0.07-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: upgraded to Debian Policy 3.1.1
+  * debian/copyright: updated
+  * debian/rules: added missing $(MAKE) test
+  * debian/rules: added missng build-stamp stuff
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Sat, 17 Jun 2000 15:16:56 +0200
+
+libxml-perl (0.05-1) unstable; urgency=low
+
+  * New upstream release
+  * Upgraded to Debian Policy 3.0.1
+  * Upgraded to Debian Perl Policy 1.1
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Sun, 17 Oct 1999 12:39:01 +0200
+
+libxml-perl (0.03-2) unstable; urgency=low
+
+  * Made almost lintian-free (except for /usr/doc): moved man manpages to
+    /usr/share/man, fixed various file/directory permissions
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Wed, 11 Aug 1999 21:20:24 -0500
+
+libxml-perl (0.03-1) unstable; urgency=low
+
+  * Initial Release
+
+ -- Ardo van Rangelrooij <ardo at debian.org>  Mon, 19 Jul 1999 22:08:02 -0500

Added: trunk/libxml-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libxml-perl/debian/compat?rev=10531&op=file
==============================================================================
--- trunk/libxml-perl/debian/compat (added)
+++ trunk/libxml-perl/debian/compat Sat Dec  1 12:35:15 2007
@@ -1,0 +1,1 @@
+4

Added: trunk/libxml-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libxml-perl/debian/control?rev=10531&op=file
==============================================================================
--- trunk/libxml-perl/debian/control (added)
+++ trunk/libxml-perl/debian/control Sat Dec  1 12:35:15 2007
@@ -1,0 +1,17 @@
+Source: libxml-perl
+Section: perl
+Priority: optional
+Maintainer: Jay Bonci <jaybonci at debian.org>
+Standards-Version: 3.6.1.0
+Build-Depends-Indep: debhelper (>= 4.1), perl, libxml-parser-perl
+
+Package: libxml-perl
+Section: perl
+Priority: optional
+Architecture: all
+Depends: ${perl:Depends}, libxml-parser-perl
+Description: Perl modules for working with XML
+ libxml-perl is a collection of smaller Perl modules, scripts, and
+ documents for working with XML in Perl.  libxml-perl software
+ works in combination with XML::Parser, PerlSAX, XML::DOM,
+ XML::Grove and others.

Added: trunk/libxml-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libxml-perl/debian/copyright?rev=10531&op=file
==============================================================================
--- trunk/libxml-perl/debian/copyright (added)
+++ trunk/libxml-perl/debian/copyright Sat Dec  1 12:35:15 2007
@@ -1,0 +1,16 @@
+This package was debianized by Ardo van Rangelrooij <ardo at debian.org>
+on Mon, Jul 19, 1999, 21:50:41 -0500.
+
+It was downloaded from the Comprehensive Perl Archive Network (CPAN).
+Visit <http://www.cpan.org/> to find a CPAN site near you.
+
+Upstream Author: Ken MacLeod <ken at bitsko.slc.ut.us>
+
+Copyright:
+
+Copyright (C) 1998 Ken MacLeod
+This library is free software; you can redistribute it and/or
+modify it under the same terms as Perl itself.
+
+On a Debian system a copy of the Perl license can be found in the file
+'/usr/share/common-licenses/Artistic'.

Added: trunk/libxml-perl/debian/libxml-perl.docs
URL: http://svn.debian.org/wsvn/trunk/libxml-perl/debian/libxml-perl.docs?rev=10531&op=file
==============================================================================
--- trunk/libxml-perl/debian/libxml-perl.docs (added)
+++ trunk/libxml-perl/debian/libxml-perl.docs Sat Dec  1 12:35:15 2007
@@ -1,0 +1,3 @@
+README
+Changes
+doc/*

Added: trunk/libxml-perl/debian/libxml-perl.examples
URL: http://svn.debian.org/wsvn/trunk/libxml-perl/debian/libxml-perl.examples?rev=10531&op=file
==============================================================================
--- trunk/libxml-perl/debian/libxml-perl.examples (added)
+++ trunk/libxml-perl/debian/libxml-perl.examples Sat Dec  1 12:35:15 2007
@@ -1,0 +1,1 @@
+examples/*

Added: trunk/libxml-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libxml-perl/debian/rules?rev=10531&op=file
==============================================================================
--- trunk/libxml-perl/debian/rules (added)
+++ trunk/libxml-perl/debian/rules Sat Dec  1 12:35:15 2007
@@ -1,0 +1,54 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+# export DH_COMPAT=4
+
+PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
+
+
+build:
+	dh_testdir
+	# Add here commands to compile the package.
+	perl Makefile.PL verbose INSTALLDIRS=vendor
+clean:
+	dh_testdir
+	dh_testroot
+
+	-$(MAKE) clean
+	rm -f Makefile.old
+	dh_clean
+
+install:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) PREFIX=$(CURDIR)/debian/$(PACKAGE)/usr OPTIMIZE="-O2 -g -Wall" test install
+	-find $(CURDIR)/debian -type d | xargs rmdir -p --ignore-fail-on-non-empty
+
+binary-arch:;
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples
+	dh_installman
+	dh_installchangelogs ChangeLog
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_perl
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure

Propchange: trunk/libxml-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libxml-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libxml-perl/debian/watch?rev=10531&op=file
==============================================================================
--- trunk/libxml-perl/debian/watch (added)
+++ trunk/libxml-perl/debian/watch Sat Dec  1 12:35:15 2007
@@ -1,0 +1,2 @@
+version=2
+http://www.cpan.org/modules/by-module/XML/libxml-perl-([0-9].*)\.tar.gz

Modified: trunk/libxml-perl/lib/XML/PatAct/ToObjects.pm
URL: http://svn.debian.org/wsvn/trunk/libxml-perl/lib/XML/PatAct/ToObjects.pm?rev=10531&op=diff
==============================================================================
--- trunk/libxml-perl/lib/XML/PatAct/ToObjects.pm (original)
+++ trunk/libxml-perl/lib/XML/PatAct/ToObjects.pm Sat Dec  1 12:35:15 2007
@@ -176,6 +176,8 @@
 
 	if ($action->{Make} eq 'HASH') {
 	    push @{$self->{Parents}}, { @args };
+	} elsif ($action->{Make} eq 'ARRAY') {
+	    push @{$self->{Parents}}, [ @args ];
 	} else {
 	    my $is_defined = 0;
 	    #eval "\$is_defined = defined %{$action->{Make}" . "::}";
@@ -253,9 +255,16 @@
     if ($action->{FieldIsArray}) {
 	push @{$self->{Parents}[-1]{$action->{Field}}}, $value;
     } elsif (defined $action->{Field}) {
-	$self->{Parents}[-1]{$action->{Field}} = $value;
+	my $field = $action->{Field};
+	$field =~ s/%\{($name_re)\}/$element->{Attributes}{$1}/ge;
+	$self->{Parents}[-1]{$field} = $value;
     } else {
-	push @{$self->{Parents}[-1]{Contents}}, $value;
+	my $ref = ref($self->{Parents}[-1]);
+	if ($ref eq 'ARRAY') {
+	    push @{$self->{Parents}[-1]}, $value;
+	} else {
+	    push @{$self->{Parents}[-1]{Contents}}, $value;
+	}
     }
 }
 
@@ -293,7 +302,7 @@
 	    $action->{Make} = shift @$source;
 	} elsif ($option eq '-args') {
 	    my $args = shift @$source;
-	    $args =~ s/%\{($name_re)\}/(\$element->{Attributes}{'$1'})/g;
+	    $args =~ s/%\{($name_re)\}/\$element->{Attributes}{'$1'}/g;
 	    $action->{Args} = $args;
 	} elsif ($option eq '-field') {
 	    $action->{Field} = shift @$source;




More information about the Pkg-perl-cvs-commits mailing list