r50592 - in /trunk/libhttp-body-perl/debian: changelog control patches/ patches/series patches/yaml-utf8.patch rules source/ source/format
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sat Jan 9 19:55:35 UTC 2010
Author: gregoa
Date: Sat Jan 9 19:55:15 2010
New Revision: 50592
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=50592
Log:
* Add patch yaml-utf8.patch from CPAN RT to deal with changed YAML
(closes: #564358).
* Convert to source format 3.0 (quilt).
* Modernize debian/rules, adjust debian/control.
Added:
trunk/libhttp-body-perl/debian/patches/
trunk/libhttp-body-perl/debian/patches/series
trunk/libhttp-body-perl/debian/patches/yaml-utf8.patch
trunk/libhttp-body-perl/debian/source/
trunk/libhttp-body-perl/debian/source/format
Modified:
trunk/libhttp-body-perl/debian/changelog
trunk/libhttp-body-perl/debian/control
trunk/libhttp-body-perl/debian/rules
Modified: trunk/libhttp-body-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-body-perl/debian/changelog?rev=50592&op=diff
==============================================================================
--- trunk/libhttp-body-perl/debian/changelog (original)
+++ trunk/libhttp-body-perl/debian/changelog Sat Jan 9 19:55:15 2010
@@ -1,6 +1,13 @@
libhttp-body-perl (1.05-2) UNRELEASED; urgency=low
+ [ Nathan Handler ]
* debian/watch: Update to ignore development releases.
+
+ [ gregor herrmann ]
+ * Add patch yaml-utf8.patch from CPAN RT to deal with changed YAML
+ (closes: #564358).
+ * Convert to source format 3.0 (quilt).
+ * Modernize debian/rules, adjust debian/control.
-- Nathan Handler <nhandler at ubuntu.com> Sat, 06 Jun 2009 01:34:31 +0000
Modified: trunk/libhttp-body-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-body-perl/debian/control?rev=50592&op=diff
==============================================================================
--- trunk/libhttp-body-perl/debian/control (original)
+++ trunk/libhttp-body-perl/debian/control Sat Jan 9 19:55:15 2010
@@ -1,7 +1,7 @@
Source: libhttp-body-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7.0.50)
Build-Depends-Indep: perl (>= 5.8.0-7), libyaml-perl, libpath-class-perl,
libtest-pod-perl, libtest-pod-coverage-perl, libwww-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Added: trunk/libhttp-body-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-body-perl/debian/patches/series?rev=50592&op=file
==============================================================================
--- trunk/libhttp-body-perl/debian/patches/series (added)
+++ trunk/libhttp-body-perl/debian/patches/series Sat Jan 9 19:55:15 2010
@@ -1,0 +1,1 @@
+yaml-utf8.patch
Added: trunk/libhttp-body-perl/debian/patches/yaml-utf8.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-body-perl/debian/patches/yaml-utf8.patch?rev=50592&op=file
==============================================================================
--- trunk/libhttp-body-perl/debian/patches/yaml-utf8.patch (added)
+++ trunk/libhttp-body-perl/debian/patches/yaml-utf8.patch Sat Jan 9 19:55:15 2010
@@ -1,0 +1,30 @@
+Author: Andreas Koenig
+Description: use YAML::Load instead of YAML::LoadFile, the latter has
+ encoding problems since a new YAML release
+Bugs: http://rt.cpan.org/Public/Bug/Display.html?id=53424
+Bugs-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564358
+Origin: ftp://cpan.cpantesters.org/CPAN/authors/id/A/AN/ANDK/patches/HTTP-Body-1.05-ANDK-01.patch.gz
+Forwarded: no
+Reviewed-By: gregor herrmann <gregoa at debian.org>
+Last-Update: 2010-01-09
+
+--- a/t/05urlencoded.t
++++ b/t/05urlencoded.t
+@@ -14,11 +14,15 @@
+
+ my $path = catdir( getcwd(), 't', 'data', 'urlencoded' );
+
++sub slurp ($) {
++ return scalar do { open my $fh, shift or die; local $/; <$fh> };
++}
++
+ for ( my $i = 1; $i <= 6; $i++ ) {
+
+ my $test = sprintf( "%.3d", $i );
+- my $headers = YAML::LoadFile( catfile( $path, "$test-headers.yml" ) );
+- my $results = YAML::LoadFile( catfile( $path, "$test-results.yml" ) );
++ my $headers = YAML::Load( slurp catfile( $path, "$test-headers.yml" ) );
++ my $results = YAML::Load( slurp catfile( $path, "$test-results.yml" ) );
+ my $content = IO::File->new( catfile( $path, "$test-content.dat" ) );
+ my $body = HTTP::Body->new( $headers->{'Content-Type'}, $headers->{'Content-Length'} );
+
Modified: trunk/libhttp-body-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-body-perl/debian/rules?rev=50592&op=diff
==============================================================================
--- trunk/libhttp-body-perl/debian/rules (original)
+++ trunk/libhttp-body-perl/debian/rules Sat Jan 9 19:55:15 2010
@@ -1,23 +1,7 @@
#!/usr/bin/make -f
-build: build-stamp
-build-stamp:
- TEST_POD=1 dh build
- touch $@
-
-clean:
+%:
dh $@
-install: install-stamp
-install-stamp: build-stamp
- dh install
- touch $@
-
-binary-arch:
-
-binary-indep: install
- dh $@
-
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build
+override_dh_auto_test:
+ TEST_POD=1 dh_auto_test
Added: trunk/libhttp-body-perl/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-body-perl/debian/source/format?rev=50592&op=file
==============================================================================
--- trunk/libhttp-body-perl/debian/source/format (added)
+++ trunk/libhttp-body-perl/debian/source/format Sat Jan 9 19:55:15 2010
@@ -1,0 +1,1 @@
+3.0 (quilt)
More information about the Pkg-perl-cvs-commits
mailing list