r21567 - in /trunk/libxml-sax-writer-perl: debian/ debian/patched/ debian/patches/ t/
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sun Jun 15 16:09:20 UTC 2008
Author: gregoa
Date: Sun Jun 15 16:09:20 2008
New Revision: 21567
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=21567
Log:
[svn-inject] Applying Debian modifications to trunk
Added:
trunk/libxml-sax-writer-perl/debian/
trunk/libxml-sax-writer-perl/debian/changelog
trunk/libxml-sax-writer-perl/debian/compat
trunk/libxml-sax-writer-perl/debian/control
trunk/libxml-sax-writer-perl/debian/copyright
trunk/libxml-sax-writer-perl/debian/patched/
trunk/libxml-sax-writer-perl/debian/patched/fix_05basic_t.dpatch.failed
trunk/libxml-sax-writer-perl/debian/patches/
trunk/libxml-sax-writer-perl/debian/patches/00list
trunk/libxml-sax-writer-perl/debian/patches/consumer_newline.dpatch (with props)
trunk/libxml-sax-writer-perl/debian/patches/convert_errors.dpatch (with props)
trunk/libxml-sax-writer-perl/debian/patches/file_consumer_encoding.dpatch (with props)
trunk/libxml-sax-writer-perl/debian/patches/fix_pod.dpatch (with props)
trunk/libxml-sax-writer-perl/debian/patches/quote_xml_version.dpatch (with props)
trunk/libxml-sax-writer-perl/debian/rules (with props)
trunk/libxml-sax-writer-perl/debian/watch
Modified:
trunk/libxml-sax-writer-perl/t/05basic.t
Added: trunk/libxml-sax-writer-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-writer-perl/debian/changelog?rev=21567&op=file
==============================================================================
--- trunk/libxml-sax-writer-perl/debian/changelog (added)
+++ trunk/libxml-sax-writer-perl/debian/changelog Sun Jun 15 16:09:20 2008
@@ -1,0 +1,113 @@
+libxml-sax-writer-perl (0.50-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * debian/rules:
+ + Don't fail when perl is smart enough not to create empty dirs. (Closes:
+ #467767)
+
+ -- Marc 'HE' Brockschmidt <he at debian.org> Sat, 05 Apr 2008 17:22:58 +0200
+
+libxml-sax-writer-perl (0.50-1) unstable; urgency=low
+
+ * New upstream release.
+ + Remove dpatch against t/05basic.t - got merged upstream.
+ * Fix bogous dpatch (Closes: #413480).
+
+ -- Florian Ragwitz <rafl at debian.org> Sun, 22 Jul 2007 15:51:07 +0200
+
+libxml-sax-writer-perl (0.44-8) unstable; urgency=low
+
+ * Bump Standards-Version to 3.7.2 (no changes).
+ * Split up Build-Depends in Build-Depends and Build-Depends-Indep.
+ * Added dpatch to Build-Depends.
+ * Make dpatches out off all previous patches.
+ * Added debian/patches/convert_errors.dpatch to explain how to handle
+ encoding errors (Closes: #346474).
+ * Changed debian/rules to use dpatch.
+ * Properly clean test files generated by the testsuite.
+
+ -- Florian Ragwitz <rafl at debian.org> Thu, 15 Jun 2006 18:13:22 +0200
+
+libxml-sax-writer-perl (0.44-7) unstable; urgency=low
+
+ * New Maintainer (Closes: #300238).
+ * Don't install the README. It contains nonrelevant information.
+ * Rewritten debian/rules on top of a dh-make-perl template. Now
+ debian/libxml-sax-writer-perl.install isn't needed anymore.
+ * Removed strange chars from documentation so man(1) is happy again.
+
+ -- Florian Ragwitz <rafl at debian.org> Mon, 31 Oct 2005 14:51:18 +0100
+
+libxml-sax-writer-perl (0.44-6) unstable; urgency=medium
+
+ * QA Upload
+ * Change maintainer to QA group
+ * Bump Standards-Version to 3.6.2 (no changes)
+ * Use patch from CPAN bug tracking system to fix test failures
+ with newer Text::Iconv versions (Closes: #318550)
+
+ -- Frank Lichtenheld <djpig at debian.org> Tue, 16 Aug 2005 17:28:32 +0200
+
+libxml-sax-writer-perl (0.44-5) unstable; urgency=low
+
+ * Adds debian/watch file so uscan will work
+
+ -- Jay Bonci <jaybonci at debian.org> Wed, 27 Oct 2004 16:44:30 -0400
+
+libxml-sax-writer-perl (0.44-4) unstable; urgency=low
+
+ * Fixes dependancy problem on libtest-simple-perl (Closes: #240533)
+ * Uses Test::More, now in perl-modules
+ * Removed dependancy (leaving Build-Depends) on the test module.
+
+ -- Jay Bonci <jaybonci at debian.org> Mon, 19 Apr 2004 13:38:51 -0400
+
+libxml-sax-writer-perl (0.44-3) unstable; urgency=low
+
+ * New maintainer (Closes: Bug#210544)
+ * Added Jay Bonci as co-maintainer
+ * Add '>:encoding(EncodeTo)' line discipline to FileConsumer to defeat
+ perl's automatic charset conversion. Thanks to Michael Fowler.
+ (Closes: Bug#196373)
+ * Add trailing newline to xml declaration and to file/handle finalize()
+ * Change quote marks in xml declaration to "" to match most W3C examples
+ * debian/control: upgraded to Debian Policy 3.6.1 (no changes)
+
+ -- Michael K. Edwards <medwards-debian at sane.net> Mon, 19 Jan 2004 00:41:30 -0800
+
+libxml-sax-writer-perl (0.44-2) 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-sax-writer-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> Sat, 6 Sep 2003 10:49:29 -0500
+
+libxml-sax-writer-perl (0.44-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/control: added (build) dependency on 'libxml-filter-buffertext-perl'
+ * 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
+ (closes: Bug#157677)
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Wed, 25 Sep 2002 06:49:11 -0500
+
+libxml-sax-writer-perl (0.39-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/control: added libtest-simple-perl to build depndencies
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Thu, 21 Feb 2002 21:19:25 -0600
+
+libxml-sax-writer-perl (0.35-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Ardo van Rangelrooij <ardo at debian.org> Tue, 1 Jan 2002 09:49:19 -0600
Added: trunk/libxml-sax-writer-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-writer-perl/debian/compat?rev=21567&op=file
==============================================================================
--- trunk/libxml-sax-writer-perl/debian/compat (added)
+++ trunk/libxml-sax-writer-perl/debian/compat Sun Jun 15 16:09:20 2008
@@ -1,0 +1,1 @@
+4
Added: trunk/libxml-sax-writer-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-writer-perl/debian/control?rev=21567&op=file
==============================================================================
--- trunk/libxml-sax-writer-perl/debian/control (added)
+++ trunk/libxml-sax-writer-perl/debian/control Sun Jun 15 16:09:20 2008
@@ -1,0 +1,19 @@
+Source: libxml-sax-writer-perl
+Section: perl
+Priority: optional
+Maintainer: Florian Ragwitz <rafl at debian.org>
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 4.1), dpatch
+Build-Depends-Indep: perl (>= 5.8.2), perl-modules (>= 5.8.0-7), libtext-iconv-perl (>= 1.2), libxml-filter-buffertext-perl (>= 0.01), libxml-namespacesupport-perl (>= 0.03), libxml-sax-perl (>= 0.10)
+
+Package: libxml-sax-writer-perl
+Section: perl
+Priority: optional
+Architecture: all
+Depends: ${perl:Depends}, libtext-iconv-perl (>= 1.2), libxml-filter-buffertext-perl (>= 0.01), libxml-namespacesupport-perl (>= 0.03), libxml-sax-perl (>= 0.10)
+Description: Perl module for a SAX2 XML writer
+ This module helps serialize SAX2 representations of XML documents to
+ strings, files, and other flat representations. It handles charset
+ encodings, XML escaping conventions, and so forth. It is still
+ considered alpha, although it has been put to limited use in settings
+ such as XML::LibXML and the AxKit XML Application Server.
Added: trunk/libxml-sax-writer-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-writer-perl/debian/copyright?rev=21567&op=file
==============================================================================
--- trunk/libxml-sax-writer-perl/debian/copyright (added)
+++ trunk/libxml-sax-writer-perl/debian/copyright Sun Jun 15 16:09:20 2008
@@ -1,0 +1,19 @@
+This package was debianized by Ardo van Rangelrooij <ardo at debian.org>
+on Mon, Dec 31, 2001, 22:45:56 -0600.
+
+It was downloaded from the Comprehensive Perl Archive Network (CPAN).
+Visit <http://www.cpan.org/> to find a CPAN site near you.
+
+Upstream Author: Matt Sergeant <matt at sergeant.org>
+
+Copyright:
+
+Copyright (C) 2001 Matt Sergeant, matt at sergeant.org
+
+This is free software. You may use it and distribute it under the
+same terms as Perl itself.
+
+Perl is distributed under your choice of the GNU General Public License or
+the Artistic License. On Debian GNU/Linux systems, the complete text of the
+GNU General Public License can be found in `/usr/share/common-licenses/GPL'
+and the Artistic Licence in `/usr/share/common-licenses/Artistic'.
Added: trunk/libxml-sax-writer-perl/debian/patched/fix_05basic_t.dpatch.failed
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-writer-perl/debian/patched/fix_05basic_t.dpatch.failed?rev=21567&op=file
==============================================================================
--- trunk/libxml-sax-writer-perl/debian/patched/fix_05basic_t.dpatch.failed (added)
+++ trunk/libxml-sax-writer-perl/debian/patched/fix_05basic_t.dpatch.failed Sun Jun 15 16:09:20 2008
@@ -1,0 +1,5 @@
+patching file t/05basic.t
+Hunk #1 succeeded at 7 with fuzz 1.
+Hunk #2 FAILED at 49.
+1 out of 2 hunks FAILED -- saving rejects to file t/05basic.t.rej
+md5sum: 2aded9030d2eccb84be31e63abfcd065 /home/rafl/projects/debian/packages/libxml-sax-writer-perl/0.50/libxml-sax-writer-perl-0.50/debian/patches/fix_05basic_t.dpatch
Added: trunk/libxml-sax-writer-perl/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-writer-perl/debian/patches/00list?rev=21567&op=file
==============================================================================
--- trunk/libxml-sax-writer-perl/debian/patches/00list (added)
+++ trunk/libxml-sax-writer-perl/debian/patches/00list Sun Jun 15 16:09:20 2008
@@ -1,0 +1,5 @@
+consumer_newline.dpatch
+quote_xml_version.dpatch
+convert_errors.dpatch
+file_consumer_encoding
+fix_pod
Added: trunk/libxml-sax-writer-perl/debian/patches/consumer_newline.dpatch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-writer-perl/debian/patches/consumer_newline.dpatch?rev=21567&op=file
==============================================================================
--- trunk/libxml-sax-writer-perl/debian/patches/consumer_newline.dpatch (added)
+++ trunk/libxml-sax-writer-perl/debian/patches/consumer_newline.dpatch Sun Jun 15 16:09:20 2008
@@ -1,0 +1,58 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## consumer_newline.dpatch by Florian Ragwitz <rafl at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: trailing newline for HandleConsumer and FileConsumer
+
+ at DPATCH@
+
+--- libxml-sax-writer-perl-0.44.orig/t/10consumers.t
++++ libxml-sax-writer-perl-0.44/t/10consumers.t
+@@ -71,8 +71,8 @@
+ my $cnt2 = <FH2>;
+ close FH2;
+
+-ok($cnt1 eq 'FILE ONE FILE ONE', 'file content (1)');
+-ok($cnt2 eq 'FILE TWO FILE TWO', 'file content (2)');
++ok($cnt1 eq "FILE ONE FILE ONE\n", 'file content (1)');
++ok($cnt2 eq "FILE TWO FILE TWO\n", 'file content (2)');
+
+
+ ##
+--- libxml-sax-writer-perl-0.44.orig/Writer.pm 2006-06-15 18:30:08.211015856 +0200
++++ libxml-sax-writer-perl-0.44/Writer.pm 2006-06-15 18:32:38.669142744 +0200
+@@ -98,7 +98,7 @@
+ $ref eq 'GLOB' or
+ UNIVERSAL::isa(\$self->{Output}, 'GLOB') or
+ UNIVERSAL::isa($self->{Output}, 'IO::Handle')) {
+- $self->{Consumer} = XML::SAX::Writer::HandleConsumer->new($self->{Output});
++ $self->{Consumer} = XML::SAX::Writer::HandleConsumer->new($self->{Output}, $self);
+ }
+ elsif (not $ref) {
+ $self->{Consumer} = XML::SAX::Writer::FileConsumer->new($self->{Output});
+@@ -297,7 +297,11 @@
+ #-------------------------------------------------------------------#
+ # finalize
+ #-------------------------------------------------------------------#
+-sub finalize { return 0 }
++sub finalize {
++ my $fh = ${$_[0]};
++ print $fh "\n";
++ return 0
++}
+ #-------------------------------------------------------------------#
+
+
+--- libxml-sax-writer-perl-0.44.orig/Writer.pm 2006-06-15 18:44:37.685835592 +0200
++++ libxml-sax-writer-perl-0.44/Writer.pm 2006-06-15 18:45:43.197876248 +0200
+@@ -340,7 +340,9 @@
+ # finalize
+ #-------------------------------------------------------------------#
+ sub finalize {
+- close ${$_[0]};
++ my $fh = ${$_[0]};
++ print $fh "\n";
++ close $fh;
+ return 0;
+ }
+ #-------------------------------------------------------------------#
Propchange: trunk/libxml-sax-writer-perl/debian/patches/consumer_newline.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libxml-sax-writer-perl/debian/patches/convert_errors.dpatch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-writer-perl/debian/patches/convert_errors.dpatch?rev=21567&op=file
==============================================================================
--- trunk/libxml-sax-writer-perl/debian/patches/convert_errors.dpatch (added)
+++ trunk/libxml-sax-writer-perl/debian/patches/convert_errors.dpatch Sun Jun 15 16:09:20 2008
@@ -1,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## convert_errors.dpatch by Florian Ragwitz <rafl at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: add more documentation on encoding errors
+
+ at DPATCH@
+
+--- libxml-writer-sax-perl-0.44.orig/Writer.pm 2006-06-15 18:10:28.000000000 +0200
++++ libxml-writer-sax-perl-0.44/Writer.pm 2006-06-15 18:10:16.195229800 +0200
+@@ -563,6 +563,14 @@
+
+ =back
+
++Note that the return value of the convert method is B<not> checked. Output may
++be truncated if a character couldn't be converted correctly. To avoid problems
++the encoder should take care encoding errors itself, for example by raising an
++exception. If you use Text::Iconv as the encoder you can use the following:
++
++ my $w = XML::Sax::Writer->new;
++ $w->{Encoder}->raise_error(1);
++
+ =head1 CUSTOM OUTPUT
+
+ This module is generally used to write XML -- which it does most of the
Propchange: trunk/libxml-sax-writer-perl/debian/patches/convert_errors.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libxml-sax-writer-perl/debian/patches/file_consumer_encoding.dpatch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-writer-perl/debian/patches/file_consumer_encoding.dpatch?rev=21567&op=file
==============================================================================
--- trunk/libxml-sax-writer-perl/debian/patches/file_consumer_encoding.dpatch (added)
+++ trunk/libxml-sax-writer-perl/debian/patches/file_consumer_encoding.dpatch Sun Jun 15 16:09:20 2008
@@ -1,0 +1,36 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## file_consumer_encoding.dpatch by Florian Ragwitz <rafl at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Add '>:encoding(EncodeTo)' line discipline to FileConsumer to defeat
+## DP: perl's automatic charset conversion.
+
+ at DPATCH@
+
+--- libxml-sax-writer-perl-0.44.orig/Writer.pm 2006-06-15 18:37:59.691339952 +0200
++++ libxml-sax-writer-perl-0.44/Writer.pm 2006-06-15 18:41:40.715739136 +0200
+@@ -316,7 +316,10 @@
+ # new
+ #-------------------------------------------------------------------#
+ sub new {
+- my ( $proto, $file ) = ( shift, shift );
++ my ( $proto, $file, $opt ) = @_;
++ my $enc_to = (defined $opt and ref $opt eq 'HASH'
++ and defined $opt->{EncodeTo}) ? $opt->{EncodeTo}
++ : 'utf-8';
+
+ XML::SAX::Writer::Exception->throw(
+ Message => "No filename provided to " . ref( $proto || $proto )
+@@ -324,9 +327,10 @@
+
+ local *XFH;
+
+- open XFH, ">$file" or XML::SAX::Writer::Exception->throw(
++ open XFH, ">:encoding($enc_to)", $file
++ or XML::SAX::Writer::Exception->throw(
+ Message => "Error opening file $file: $!"
+- );
++ );
+
+ return $proto->SUPER::new( *{XFH}{IO}, @_ );
+ }
Propchange: trunk/libxml-sax-writer-perl/debian/patches/file_consumer_encoding.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libxml-sax-writer-perl/debian/patches/fix_pod.dpatch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-writer-perl/debian/patches/fix_pod.dpatch?rev=21567&op=file
==============================================================================
--- trunk/libxml-sax-writer-perl/debian/patches/fix_pod.dpatch (added)
+++ trunk/libxml-sax-writer-perl/debian/patches/fix_pod.dpatch Sun Jun 15 16:09:20 2008
@@ -1,0 +1,50 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_pod.dpatch by Florian Ragwitz <rafl at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Remove strange chars from pod, so pod2man produces sane output
+
+ at DPATCH@
+
+--- libxml-sax-writer-perl-0.44.orig/Writer.pm 2006-06-15 18:48:36.270565200 +0200
++++ libxml-sax-writer-perl-0.44/Writer.pm 2006-06-15 18:49:32.728982216 +0200
+@@ -406,16 +406,16 @@
+
+ =item * new(%hash)
+
+-This is the constructor for this object. It takes a number of
++This is the constructor for this object. It takes a number of
+ parameters, all of which are optional.
+
+ =item -- Output
+
+-This parameter can be one of several things. If it is a simple
++This parameter can be one of several things. If it is a simple
+ scalar, it is interpreted as a filename which will be opened for
+-writing. If it is a scalar reference, output will be appended to this
+-scalar. If it is an array reference, output will be pushed onto this
+-array as it is generated. If it is a filehandle, then output will be
++writing. If it is a scalar reference, output will be appended to this
++scalar. If it is an array reference, output will be pushed onto this
++array as it is generated. If it is a filehandle, then output will be
+ sent to this filehandle.
+
+ Finally, it is possible to pass an object for this parameter, in which
+@@ -429,7 +429,7 @@
+
+ This should be a hash reference where the keys are characters
+ sequences that should be escaped and the values are the escaped form
+-of the sequence. By default, this module will escape the ampersand
++of the sequence. By default, this module will escape the ampersand
+ (&), less than (<), greater than (>), double quote ("), and apostrophe
+ ('). Note that some browsers don't support the ' escape used for
+ apostrophes so that you should be careful when outputting XHTML.
+@@ -451,7 +451,7 @@
+
+ =item -- EncodeTo
+
+-The character set encoding in which output should be encoded. Again,
++The character set encoding in which output should be encoded. Again,
+ this defaults to UTF-8.
+
+ =back
Propchange: trunk/libxml-sax-writer-perl/debian/patches/fix_pod.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libxml-sax-writer-perl/debian/patches/quote_xml_version.dpatch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-writer-perl/debian/patches/quote_xml_version.dpatch?rev=21567&op=file
==============================================================================
--- trunk/libxml-sax-writer-perl/debian/patches/quote_xml_version.dpatch (added)
+++ trunk/libxml-sax-writer-perl/debian/patches/quote_xml_version.dpatch Sun Jun 15 16:09:20 2008
@@ -1,0 +1,29 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## quote_xml_version.dpatch by Florian Ragwitz <rafl at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: use double quotes in xml declarations
+
+ at DPATCH@
+
+--- libxml-sax-writer-perl-0.44.orig/lib/XML/SAX/Writer/XML.pm
++++ libxml-sax-writer-perl-0.44/lib/XML/SAX/Writer/XML.pm
+@@ -476,14 +476,14 @@
+ # also, there's order in the pseudo-attr
+ my $xd = '';
+ if ($data->{Version}) {
+- $xd .= "<?xml version='$data->{Version}'";
++ $xd .= "<?xml version=\"$data->{Version}\"";
+ if ($data->{Encoding}) {
+- $xd .= " encoding='$data->{Encoding}'";
++ $xd .= " encoding=\"$data->{Encoding}\"";
+ }
+ if ($data->{Standalone}) {
+- $xd .= " standalone='$data->{Standalone}'";
++ $xd .= " standalone=\"$data->{Standalone}\"";
+ }
+- $xd .= '?>';
++ $xd .= "?>\n";
+ }
+
+ $xd = $self->{Encoder}->convert($xd); # this may blow up
Propchange: trunk/libxml-sax-writer-perl/debian/patches/quote_xml_version.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libxml-sax-writer-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-writer-perl/debian/rules?rev=21567&op=file
==============================================================================
--- trunk/libxml-sax-writer-perl/debian/rules (added)
+++ trunk/libxml-sax-writer-perl/debian/rules Sun Jun 15 16:09:20 2008
@@ -1,0 +1,69 @@
+#!/usr/bin/make -f
+
+export PERL_MM_USE_DEFAULT=1
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP =$(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp: patch
+ dh_testdir
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
+ $(MAKE) OPTIMIZE="-Wall -O2 -g"
+ touch build-stamp
+
+clean: clean1 unpatch
+clean1:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp install-stamp test_file1 test_file2
+ [ ! -f Makefile ] || $(MAKE) realclean
+ dh_clean
+
+install: build install-stamp
+install-stamp:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ $(MAKE) test
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+ rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
+ touch install-stamp
+
+binary-arch:
+# We have nothing to do by default.
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+ dh_installchangelogs Changes
+ dh_perl
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+patch: patch-stamp
+patch-stamp:
+ dpatch apply-all
+ touch patch-stamp
+
+unpatch:
+ dpatch deapply-all
+ rm -rf patch-stamp
+
+source diff:
+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary patch unpatch clean1
Propchange: trunk/libxml-sax-writer-perl/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libxml-sax-writer-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-writer-perl/debian/watch?rev=21567&op=file
==============================================================================
--- trunk/libxml-sax-writer-perl/debian/watch (added)
+++ trunk/libxml-sax-writer-perl/debian/watch Sun Jun 15 16:09:20 2008
@@ -1,0 +1,2 @@
+version=2
+http://www.cpan.org/modules/by-module/XML/XML-SAX-Writer-([0-9].*)\.tar.gz
Modified: trunk/libxml-sax-writer-perl/t/05basic.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-writer-perl/t/05basic.t?rev=21567&op=diff
==============================================================================
--- trunk/libxml-sax-writer-perl/t/05basic.t (original)
+++ trunk/libxml-sax-writer-perl/t/05basic.t Sun Jun 15 16:09:20 2008
@@ -7,6 +7,7 @@
use strict;
use Test::More tests => 27;
+use Text::Iconv;
BEGIN { use_ok('XML::SAX::Writer'); }
# VMS has different names for codepages
More information about the Pkg-perl-cvs-commits
mailing list