r39414 - in /trunk/libdevel-nytprof-perl/debian: changelog control patches/series patches/test_more.patch

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Mon Jul 6 16:06:52 UTC 2009


Author: gregoa
Date: Mon Jul  6 16:06:46 2009
New Revision: 39414

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=39414
Log:
Add patch test_more.patch by Niko Tyni: allows to build with older
versions of Test::More; remove build dependency on libtest-simple-perl 
>= 0.82; thanks to Kurt Roeckx for the bug report (closes: #535835).

Added:
    trunk/libdevel-nytprof-perl/debian/patches/test_more.patch
Modified:
    trunk/libdevel-nytprof-perl/debian/changelog
    trunk/libdevel-nytprof-perl/debian/control
    trunk/libdevel-nytprof-perl/debian/patches/series

Modified: trunk/libdevel-nytprof-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-nytprof-perl/debian/changelog?rev=39414&op=diff
==============================================================================
--- trunk/libdevel-nytprof-perl/debian/changelog (original)
+++ trunk/libdevel-nytprof-perl/debian/changelog Mon Jul  6 16:06:46 2009
@@ -1,3 +1,11 @@
+libdevel-nytprof-perl (2.10-2) UNRELEASED; urgency=low
+
+  * Add patch test_more.patch by Niko Tyni: allows to build with older
+    versions of Test::More; remove build dependency on libtest-simple-perl 
+    >= 0.82; thanks to Kurt Roeckx for the bug report (closes: #535835).
+
+ -- gregor herrmann <gregoa at debian.org>  Mon, 06 Jul 2009 17:50:29 +0200
+
 libdevel-nytprof-perl (2.10-1) unstable; urgency=low
 
   [ Jonathan Yu ]

Modified: trunk/libdevel-nytprof-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-nytprof-perl/debian/control?rev=39414&op=diff
==============================================================================
--- trunk/libdevel-nytprof-perl/debian/control (original)
+++ trunk/libdevel-nytprof-perl/debian/control Mon Jul  6 16:06:46 2009
@@ -2,7 +2,7 @@
 Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 7), perl (>= 5.6.10-12), libtest-pod-perl,
- quilt, zlib1g-dev, libtest-simple-perl (>= 0.82)
+ quilt, zlib1g-dev
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jose Luis Rivas <ghostbar38 at gmail.com>,
  Jonathan Yu <frequency at cpan.org>, gregor herrmann <gregoa at debian.org>

Modified: trunk/libdevel-nytprof-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-nytprof-perl/debian/patches/series?rev=39414&op=diff
==============================================================================
--- trunk/libdevel-nytprof-perl/debian/patches/series (original)
+++ trunk/libdevel-nytprof-perl/debian/patches/series Mon Jul  6 16:06:46 2009
@@ -1,2 +1,3 @@
 manpage-section.patch
 usr-share.patch
+test_more.patch

Added: trunk/libdevel-nytprof-perl/debian/patches/test_more.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-nytprof-perl/debian/patches/test_more.patch?rev=39414&op=file
==============================================================================
--- trunk/libdevel-nytprof-perl/debian/patches/test_more.patch (added)
+++ trunk/libdevel-nytprof-perl/debian/patches/test_more.patch Mon Jul  6 16:06:46 2009
@@ -1,0 +1,21 @@
+Author: Niko Tyni <ntyni at debian.org>
+Bug-Debian: #535835
+Description: Half of the buildds still can't cope with versioned
+             build dependencies on real packages that are also provided by
+             other packages; this patch allows building with older
+             Test::More versions, so we can drop the build dependency.
+             This patch can be removed and a versioned build dependency on
+             libtest-simple-perl can be addedd again, once all buildds use
+             an sbuild version with the fix for #395271.
+
+--- a/t/lib/NYTProfTest.pm
++++ b/t/lib/NYTProfTest.pm
+@@ -140,7 +140,7 @@
+         }
+ 
+         if ($extra_test_code) {
+-            note("running $extra_test_count extra tests...");
++            note("running $extra_test_count extra tests...") if $Test::More::VERSION >= 0.81_01;
+             my $profile = eval { Devel::NYTProf::Data->new({filename => $profile_datafile}) };
+             if ($@) {
+                 diag($@);




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