r22657 - in /branches/upstream/libtest-nowarnings-perl/current: CHANGES META.yml Makefile.PL lib/Test/NoWarnings.pm t/none.t

tincho at users.alioth.debian.org tincho at users.alioth.debian.org
Wed Jul 2 03:02:45 UTC 2008


Author: tincho
Date: Wed Jul  2 03:02:42 2008
New Revision: 22657

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=22657
Log:
[svn-upgrade] Integrating new upstream version, libtest-nowarnings-perl (0.084)

Modified:
    branches/upstream/libtest-nowarnings-perl/current/CHANGES
    branches/upstream/libtest-nowarnings-perl/current/META.yml
    branches/upstream/libtest-nowarnings-perl/current/Makefile.PL
    branches/upstream/libtest-nowarnings-perl/current/lib/Test/NoWarnings.pm
    branches/upstream/libtest-nowarnings-perl/current/t/none.t

Modified: branches/upstream/libtest-nowarnings-perl/current/CHANGES
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-nowarnings-perl/current/CHANGES?rev=22657&op=diff
==============================================================================
--- branches/upstream/libtest-nowarnings-perl/current/CHANGES (original)
+++ branches/upstream/libtest-nowarnings-perl/current/CHANGES Wed Jul  2 03:02:42 2008
@@ -1,3 +1,16 @@
+0.084
+
+Perl 5.005 throws a warning when accessing $Carp::VERSION and was
+causing a test to fail.
+
+0.083
+
+Finally got rid of INSTALLDIRS => 'perl' from Makefile.PL. It should
+never have been there but removing it could cause hassle because of
+Perl's weird ordering of include directories. Basically if an older
+version exists in the 'perl' installdir it could be picked up instead
+of the newer version.
+
 0.082
 
 Test::Tester now checks depth by default but depth cannot work with tests in

Modified: branches/upstream/libtest-nowarnings-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-nowarnings-perl/current/META.yml?rev=22657&op=diff
==============================================================================
--- branches/upstream/libtest-nowarnings-perl/current/META.yml (original)
+++ branches/upstream/libtest-nowarnings-perl/current/META.yml Wed Jul  2 03:02:42 2008
@@ -1,11 +1,11 @@
 # http://module-build.sourceforge.net/META-spec.html
 #XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
 name:         Test-NoWarnings
-version:      0.082
+version:      0.084
 version_from: ./lib/Test/NoWarnings.pm
-installdirs:  perl
+installdirs:  site
 requires:
     Test::Tester:                  0.103
 
 distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+generated_by: ExtUtils::MakeMaker version 6.30_01

Modified: branches/upstream/libtest-nowarnings-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-nowarnings-perl/current/Makefile.PL?rev=22657&op=diff
==============================================================================
--- branches/upstream/libtest-nowarnings-perl/current/Makefile.PL (original)
+++ branches/upstream/libtest-nowarnings-perl/current/Makefile.PL Wed Jul  2 03:02:42 2008
@@ -19,7 +19,6 @@
 	AUTHOR => 'Fergal Daly <fergal at esatclear.ie>',
 	NAME => $module,
 	VERSION_FROM => $pm_file,
-	INSTALLDIRS => 'perl',
 	PREREQ_PM => {
 		'Test::Tester' => 0.103
 	},

Modified: branches/upstream/libtest-nowarnings-perl/current/lib/Test/NoWarnings.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-nowarnings-perl/current/lib/Test/NoWarnings.pm?rev=22657&op=diff
==============================================================================
--- branches/upstream/libtest-nowarnings-perl/current/lib/Test/NoWarnings.pm (original)
+++ branches/upstream/libtest-nowarnings-perl/current/lib/Test/NoWarnings.pm Wed Jul  2 03:02:42 2008
@@ -16,7 +16,7 @@
 	$VERSION @EXPORT_OK @ISA $do_end_test
 );
 
-$VERSION = '0.082';
+$VERSION = '0.084';
 
 require Exporter;
 @ISA = qw( Exporter );

Modified: branches/upstream/libtest-nowarnings-perl/current/t/none.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-nowarnings-perl/current/t/none.t?rev=22657&op=diff
==============================================================================
--- branches/upstream/libtest-nowarnings-perl/current/t/none.t (original)
+++ branches/upstream/libtest-nowarnings-perl/current/t/none.t Wed Jul  2 03:02:42 2008
@@ -47,7 +47,11 @@
 	my ($warn) = warnings();
 
 	# 5.8.5 changed Carp's behaviour when the string ends in a \n
-	my $base = $Carp::VERSION >= 1.03; 
+  # the monkey business is because 5.005 throws a "used only
+  # once" warning for $Carp::VERSION
+  my $cv = do { no warnings; $Carp::VERSION };
+
+	my $base = $cv >= 1.03; 
 
 	my @carp = split("\n", $warn->getCarp);
 




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