r75482 - in /trunk/libmodule-runtime-perl: ./ debian/ debian/source/ lib/Module/ t/

ghedo-guest at users.alioth.debian.org ghedo-guest at users.alioth.debian.org
Sun Jun 12 12:57:12 UTC 2011


Author: ghedo-guest
Date: Sun Jun 12 12:56:58 2011
New Revision: 75482

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=75482
Log:
* New upstream release
* Bump debhelper compat level to 8
* Bump Standards-Version to 3.9.2:
  - Drop versioned dependency on perl
* Add myself to Uploaders
* Use DEP5 in debian/copyright
* Update upstream copyright years
* Do not install upstream README anymore (it does not add useful information)
* Use short-form dh in debian/rules
* Switch to 3.0 (quilt) format

Added:
    trunk/libmodule-runtime-perl/META.json
      - copied unchanged from r75474, branches/upstream/libmodule-runtime-perl/current/META.json
    trunk/libmodule-runtime-perl/debian/source/
    trunk/libmodule-runtime-perl/debian/source/format
Modified:
    trunk/libmodule-runtime-perl/.cvsignore
    trunk/libmodule-runtime-perl/Build.PL
    trunk/libmodule-runtime-perl/Changes
    trunk/libmodule-runtime-perl/MANIFEST
    trunk/libmodule-runtime-perl/META.yml
    trunk/libmodule-runtime-perl/Makefile.PL
    trunk/libmodule-runtime-perl/README
    trunk/libmodule-runtime-perl/SIGNATURE
    trunk/libmodule-runtime-perl/debian/changelog
    trunk/libmodule-runtime-perl/debian/compat
    trunk/libmodule-runtime-perl/debian/control
    trunk/libmodule-runtime-perl/debian/copyright
    trunk/libmodule-runtime-perl/debian/rules
    trunk/libmodule-runtime-perl/lib/Module/Runtime.pm
    trunk/libmodule-runtime-perl/t/cmn.t
    trunk/libmodule-runtime-perl/t/ivmn.t
    trunk/libmodule-runtime-perl/t/ivms.t
    trunk/libmodule-runtime-perl/t/pod_cvg.t
    trunk/libmodule-runtime-perl/t/pod_syn.t
    trunk/libmodule-runtime-perl/t/rm.t
    trunk/libmodule-runtime-perl/t/um.t
    trunk/libmodule-runtime-perl/t/upo.t

Modified: trunk/libmodule-runtime-perl/.cvsignore
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/.cvsignore?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/.cvsignore (original)
+++ trunk/libmodule-runtime-perl/.cvsignore Sun Jun 12 12:56:58 2011
@@ -1,4 +1,4 @@
 Build Makefile
 _build blib
-META.yml Makefile.PL SIGNATURE
+META.json META.yml MYMETA.json MYMETA.yml Makefile.PL SIGNATURE
 Module-Runtime-*

Modified: trunk/libmodule-runtime-perl/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/Build.PL?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/Build.PL (original)
+++ trunk/libmodule-runtime-perl/Build.PL Sun Jun 12 12:56:58 2011
@@ -10,6 +10,8 @@
 	configure_requires => {
 		"Module::Build" => 0,
 		"perl" => "5.006",
+		"strict" => 0,
+		"warnings" => 0,
 	},
 	build_requires => {
 		"Module::Build" => 0,

Modified: trunk/libmodule-runtime-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/Changes?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/Changes (original)
+++ trunk/libmodule-runtime-perl/Changes Sun Jun 12 12:56:58 2011
@@ -1,3 +1,18 @@
+version 0.008; 2011-05-16
+
+  * change usage of Params::Classify functions to take advantage of
+    custom ops in Params::Classify 0.012
+
+  * use full stricture in test suite
+
+  * in Build.PL, complete declaration of configure-time requirements
+
+  * explicitly state version required of Params::Classify
+
+  * include META.json in distribution
+
+  * add MYMETA.json and MYMETA.yml to .cvsignore
+
 version 0.007; 2010-03-19
 
   * add "check_" functions for argument checking

Modified: trunk/libmodule-runtime-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/MANIFEST?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/MANIFEST (original)
+++ trunk/libmodule-runtime-perl/MANIFEST Sun Jun 12 12:56:58 2011
@@ -2,6 +2,7 @@
 Build.PL
 Changes
 MANIFEST
+META.json
 META.yml
 Makefile.PL
 README

Modified: trunk/libmodule-runtime-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/META.yml?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/META.yml (original)
+++ trunk/libmodule-runtime-perl/META.yml Sun Jun 12 12:56:58 2011
@@ -11,9 +11,10 @@
 configure_requires:
   Module::Build: 0
   perl: 5.006
-distribution_type: module
+  strict: 0
+  warnings: 0
 dynamic_config: 0
-generated_by: 'Module::Build version 0.3603'
+generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version 2.110580'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -22,7 +23,7 @@
 provides:
   Module::Runtime:
     file: lib/Module/Runtime.pm
-    version: 0.007
+    version: 0.008
 requires:
   Exporter: 0
   Params::Classify: 0
@@ -32,4 +33,4 @@
   warnings: 0
 resources:
   license: http://dev.perl.org/licenses/
-version: 0.007
+version: 0.008

Modified: trunk/libmodule-runtime-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/Makefile.PL?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/Makefile.PL (original)
+++ trunk/libmodule-runtime-perl/Makefile.PL Sun Jun 12 12:56:58 2011
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.3603
+# Note: this file was auto-generated by Module::Build::Compat version 0.3800
 require 5.006;
 
     unless (eval "use Module::Build::Compat 0.02; 1" ) {

Modified: trunk/libmodule-runtime-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/README?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/README (original)
+++ trunk/libmodule-runtime-perl/README Sun Jun 12 12:56:58 2011
@@ -20,7 +20,7 @@
 
 COPYRIGHT
 
-Copyright (C) 2004, 2006, 2007, 2009, 2010
+Copyright (C) 2004, 2006, 2007, 2009, 2010, 2011
 Andrew Main (Zefram) <zefram at fysh.org>
 
 LICENSE

Modified: trunk/libmodule-runtime-perl/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/SIGNATURE?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/SIGNATURE (original)
+++ trunk/libmodule-runtime-perl/SIGNATURE Sun Jun 12 12:56:58 2011
@@ -1,5 +1,5 @@
 This file contains message digests of all files listed in MANIFEST,
-signed via the Module::Signature module, version 0.61.
+signed via the Module::Signature module, version 0.68.
 
 To verify the content in this distribution, first make sure you have
 Module::Signature installed, then type:
@@ -14,28 +14,29 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 b6d25225ba8a64214777140d46baa28efac5f182 .cvsignore
-SHA1 e909e0a1d479fd4ed3897aee5c8412951b232da4 Build.PL
-SHA1 6103e60866161c8c1513f336e4a9aced06597fa8 Changes
-SHA1 f76971807c061f8f771566271fc88b6da3602dff MANIFEST
-SHA1 cefaac62020f304df8b4d4a50ce1f0b31deceb9e META.yml
-SHA1 f8469f20cf26bafaffabb905631b945ab0f81289 Makefile.PL
-SHA1 a8fb1cf3c6b9aef90fceb32bdf029977af15cb0c README
-SHA1 e0961c44d0681ab618372d1209338b7ac0820134 lib/Module/Runtime.pm
+SHA1 ebdaab906c62ff40b3e35b320d0724e2e38cd959 .cvsignore
+SHA1 de6c2fdf1247bfd8b7eecfba4fd403d615fe5102 Build.PL
+SHA1 b0d0a3fa6efc768957588c6dac8a303e275ffa76 Changes
+SHA1 20cb1414aa8d6bbfe6e2a2f43e3c42b7842a8882 MANIFEST
+SHA1 d7af9c24061e196efbab8bd207d14009f08ffdcd META.json
+SHA1 b93fd0757cc04b30749ea580421e80355213da2a META.yml
+SHA1 a4df8e97ccd390a42212af5a9f4d0986c85e7a5f Makefile.PL
+SHA1 51e1825521428873eb7ffb3dbba5503fd71fa23d README
+SHA1 7cc4cc314d92832b5d7f8f3ac41c23511c64b2f9 lib/Module/Runtime.pm
 SHA1 15f83d769adddc47c9b7f41bfd1c8d109af030f5 t/Mod0.pm
 SHA1 c9ec963e8dc84fa17c79746429c5ca0224202dff t/Mod1.pm
-SHA1 d1daf64b7648733cfacf95e0152e94d8bcc3b8bf t/cmn.t
-SHA1 5cfcdf0696c7f54bb87f95d8926de5ec37398ef9 t/ivmn.t
-SHA1 d14755fedf4b4c07c3c615086402b0f91c960ba7 t/ivms.t
-SHA1 0e141eecf3ca4903ef38d9413b5403a9ddb0392f t/pod_cvg.t
-SHA1 74a957cd8b93f25672ecc6aa578a671d084dd343 t/pod_syn.t
-SHA1 04cb55e06d43ecda3d6325c63733c313a695d19f t/rm.t
-SHA1 b7586b4ec77aa462f1aaf87a87d4c03d75d34b97 t/um.t
-SHA1 6a69a3d943d5e800c0a913dd15335030437455ce t/upo.t
+SHA1 a0f9c0dfbe6472e81222a196a2f17554697d0d48 t/cmn.t
+SHA1 fa24ea0033e10712a16c71466d488cd3e69e3697 t/ivmn.t
+SHA1 84e207008efae1ed0ad21601d77205c2a8739fa5 t/ivms.t
+SHA1 904d9a4f76525e2303e4b0c168c68230f223c8de t/pod_cvg.t
+SHA1 65c75abdef6f01a5d1588a307f2ddfe2333dc961 t/pod_syn.t
+SHA1 483ec01b4d41aab99db4691fc2489b609b237631 t/rm.t
+SHA1 74e1799ffe612d04ef94a90dad6a2d89c610e12d t/um.t
+SHA1 f9df0edc3dff53a9f574113a32c12454c4b6c1ef t/upo.t
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.9 (GNU/Linux)
+Version: GnuPG v1.4.10 (GNU/Linux)
 
-iEYEARECAAYFAkuj8CwACgkQOV9mt2VyAVGPUQCfYIUqLgv8XofkAMNKb8IZKuD8
-zVMAoIbcwvqfEBcNvvk+g0DawFlCSpJU
-=FcY1
+iEYEARECAAYFAk3Rbk4ACgkQOV9mt2VyAVHkmgCfSnxVXJCNm/PiL9+RR/I9ol+3
+TDYAnjm+Hby5nAWHcPZl682v7kcGU0X9
+=TSAL
 -----END PGP SIGNATURE-----

Modified: trunk/libmodule-runtime-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/debian/changelog?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/debian/changelog (original)
+++ trunk/libmodule-runtime-perl/debian/changelog Sun Jun 12 12:56:58 2011
@@ -1,3 +1,18 @@
+libmodule-runtime-perl (0.008-1) UNRELEASED; urgency=low
+
+  * New upstream release
+  * Bump debhelper compat level to 8
+  * Bump Standards-Version to 3.9.2:
+    - Drop versioned dependency on perl
+  * Add myself to Uploaders
+  * Use DEP5 in debian/copyright
+  * Update upstream copyright years
+  * Do not install upstream README anymore (it does not add useful information)
+  * Use short-form dh in debian/rules
+  * Switch to 3.0 (quilt) format
+
+ -- Alessandro Ghedini <al3xbio at gmail.com>  Sun, 12 Jun 2011 14:38:20 +0200
+
 libmodule-runtime-perl (0.007-2) unstable; urgency=low
 
   * Take over for the Debian Perl Group

Modified: trunk/libmodule-runtime-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/debian/compat?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/debian/compat (original)
+++ trunk/libmodule-runtime-perl/debian/compat Sun Jun 12 12:56:58 2011
@@ -1,1 +1,1 @@
-5
+8

Modified: trunk/libmodule-runtime-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/debian/control?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/debian/control (original)
+++ trunk/libmodule-runtime-perl/debian/control Sun Jun 12 12:56:58 2011
@@ -1,18 +1,23 @@
 Source: libmodule-runtime-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5), libmodule-build-perl
-Build-Depends-Indep: perl (>= 5.8.4-8), libparams-classify-perl
-Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Ivan Kohler <ivan-debian at 420.am>
-Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 8), libmodule-build-perl
+Build-Depends-Indep: perl,
+ libparams-classify-perl,
+ perl (>= 5.10.1) | libparent-perl
+Maintainer: Alessandro Ghedini <al3xbio at gmail.com>
+Uploaders: Ivan Kohler <ivan-debian at 420.am>,
+ Alessandro Ghedini <al3xbio at gmail.com>
+Standards-Version: 3.9.2
 Homepage: http://search.cpan.org/dist/Module-Runtime/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmodule-runtime-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libmodule-runtime-perl/
 
 Package: libmodule-runtime-perl
 Architecture: all
-Depends: ${perl:Depends}, ${misc:Depends}, libparams-classify-perl
+Depends: ${misc:Depends}, ${perl:Depends},
+ libparams-classify-perl,
+ perl (>= 5.10.1) | libparent-perl
 Description: Perl module for runtime module handling
  The functions exported by this module deal with runtime handling of Perl
  modules, which are normally handled at compile time.

Modified: trunk/libmodule-runtime-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/debian/copyright?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/debian/copyright (original)
+++ trunk/libmodule-runtime-perl/debian/copyright Sun Jun 12 12:56:58 2011
@@ -1,16 +1,29 @@
-This is the debian package for the Module-Runtime module.
-It was created by Ivan Kohler <ivan-debian at 420.am> using dh-make-perl.
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Maintainer: Andrew Main (Zefram) <zefram at fysh.org>
+Source: http://search.cpan.org/dist/Module-Runtime/
+Name: Module-Runtime
 
-The upstream author is: 
+Files: *
+Copyright: 2004-2011, Andrew Main (Zefram) <zefram at fysh.org>
+License: Artistic or GPL-1+
 
-Andrew Main (Zefram) <zefram at fysh.org>.
+Files: debian/*
+Copyright: 2007, 2008, 2010, Ivan Kohler <ivan-debian at 420.am>
+ 2011, Alessandro Ghedini <al3xbio at gmail.com>
+License: Artistic or GPL-1+
 
-Copyright (C) 2004, 2006, 2007 Andrew Main (Zefram) <zefram at fysh.org>
+License: Artistic
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the Artistic License, which comes with Perl.
+ .
+ On Debian systems, the complete text of the Artistic License can be
+ found in `/usr/share/common-licenses/Artistic'.
 
-This module is free software; you can redistribute it and/or modify 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'.
+License: GPL-1+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ .
+ On Debian systems, the complete text of version 1 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-1'.

Modified: trunk/libmodule-runtime-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/debian/rules?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/debian/rules (original)
+++ trunk/libmodule-runtime-perl/debian/rules Sun Jun 12 12:56:58 2011
@@ -1,77 +1,4 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
-#
-# It was later modified by Jason Kohles <email at jasonkohles.com>
-# http://www.jasonkohles.com/ to support Module::Build installed modules
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-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:
-	dh_testdir
-
-	# Add commands to compile the package here
-	$(PERL) Build.PL installdirs=vendor
-	$(PERL) Build
-	$(PERL) Build test
-
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	dh_clean build-stamp install-stamp
-
-	# Add commands to clean up after the build process here
-	[ ! -f Build ] || $(PERL) Build distclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	# Add commands to install the package into $(TMP) here
-	$(PERL) Build install destdir=$(TMP) create_packlist=0
-
-	touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installexamples
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-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
+%:
+	dh $@

Added: trunk/libmodule-runtime-perl/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/debian/source/format?rev=75482&op=file
==============================================================================
--- trunk/libmodule-runtime-perl/debian/source/format (added)
+++ trunk/libmodule-runtime-perl/debian/source/format Sun Jun 12 12:56:58 2011
@@ -1,0 +1,1 @@
+3.0 (quilt)

Modified: trunk/libmodule-runtime-perl/lib/Module/Runtime.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/lib/Module/Runtime.pm?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/lib/Module/Runtime.pm (original)
+++ trunk/libmodule-runtime-perl/lib/Module/Runtime.pm Sun Jun 12 12:56:58 2011
@@ -47,9 +47,9 @@
 use warnings;
 use strict;
 
-use Params::Classify qw(is_string);
-
-our $VERSION = "0.007";
+use Params::Classify 0.000 qw(is_string);
+
+our $VERSION = "0.008";
 
 use parent "Exporter";
 our @EXPORT_OK = qw(
@@ -127,7 +127,7 @@
 
 =cut
 
-sub is_module_name($) { &is_string && $_[0] =~ /\A$module_name_rx\z/o }
+sub is_module_name($) { is_string($_[0]) && $_[0] =~ /\A$module_name_rx\z/o }
 
 =item is_valid_module_name(ARG)
 
@@ -147,7 +147,7 @@
 
 sub check_module_name($) {
 	unless(&is_module_name) {
-		die +(&is_string ? "`$_[0]'" : "argument").
+		die +(is_string($_[0]) ? "`$_[0]'" : "argument").
 			" is not a module name\n";
 	}
 }
@@ -364,7 +364,7 @@
 
 =head1 COPYRIGHT
 
-Copyright (C) 2004, 2006, 2007, 2009, 2010
+Copyright (C) 2004, 2006, 2007, 2009, 2010, 2011
 Andrew Main (Zefram) <zefram at fysh.org>
 
 =head1 LICENSE

Modified: trunk/libmodule-runtime-perl/t/cmn.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/t/cmn.t?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/t/cmn.t (original)
+++ trunk/libmodule-runtime-perl/t/cmn.t Sun Jun 12 12:56:58 2011
@@ -1,3 +1,6 @@
+use warnings;
+use strict;
+
 use Test::More tests => 17;
 
 BEGIN { use_ok "Module::Runtime", qw(compose_module_name); }
@@ -18,3 +21,5 @@
 is(compose_module_name("a::b", "/foo::bar"), "foo::bar");
 is(compose_module_name("a::b", "::foo/bar"), "foo::bar");
 is(compose_module_name("a::b", "::foo/bar/baz"), "foo::bar::baz");
+
+1;

Modified: trunk/libmodule-runtime-perl/t/ivmn.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/t/ivmn.t?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/t/ivmn.t (original)
+++ trunk/libmodule-runtime-perl/t/ivmn.t Sun Jun 12 12:56:58 2011
@@ -1,3 +1,6 @@
+use warnings;
+use strict;
+
 use Test::More tests => 47;
 
 BEGIN { use_ok "Module::Runtime", qw(
@@ -42,3 +45,5 @@
 	eval { check_module_name($name) }; isnt $@, "";
 	ok($name !~ /\A$module_name_rx\z/, "`$name' is bad (regexp)");
 }
+
+1;

Modified: trunk/libmodule-runtime-perl/t/ivms.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/t/ivms.t?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/t/ivms.t (original)
+++ trunk/libmodule-runtime-perl/t/ivms.t Sun Jun 12 12:56:58 2011
@@ -1,3 +1,6 @@
+use warnings;
+use strict;
+
 use Test::More tests => 140;
 
 BEGIN { use_ok "Module::Runtime", qw(
@@ -75,3 +78,5 @@
 	ok($spec =~ qr/\A$sub_module_spec_rx\z/,
 		"`$spec' needs a prefix (regexp)");
 }
+
+1;

Modified: trunk/libmodule-runtime-perl/t/pod_cvg.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/t/pod_cvg.t?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/t/pod_cvg.t (original)
+++ trunk/libmodule-runtime-perl/t/pod_cvg.t Sun Jun 12 12:56:58 2011
@@ -1,4 +1,9 @@
+use warnings;
+use strict;
+
 use Test::More;
 plan skip_all => "Test::Pod::Coverage not available"
 	unless eval "use Test::Pod::Coverage; 1";
 Test::Pod::Coverage::all_pod_coverage_ok();
+
+1;

Modified: trunk/libmodule-runtime-perl/t/pod_syn.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/t/pod_syn.t?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/t/pod_syn.t (original)
+++ trunk/libmodule-runtime-perl/t/pod_syn.t Sun Jun 12 12:56:58 2011
@@ -1,3 +1,8 @@
+use warnings;
+use strict;
+
 use Test::More;
 plan skip_all => "Test::Pod not available" unless eval "use Test::Pod 1.00; 1";
 Test::Pod::all_pod_files_ok();
+
+1;

Modified: trunk/libmodule-runtime-perl/t/rm.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/t/rm.t?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/t/rm.t (original)
+++ trunk/libmodule-runtime-perl/t/rm.t Sun Jun 12 12:56:58 2011
@@ -1,3 +1,6 @@
+use warnings;
+use strict;
+
 use Test::More tests => 8;
 
 BEGIN { use_ok "Module::Runtime", qw(require_module); }
@@ -28,3 +31,5 @@
 test_require_module("t::Mod0");
 is($err, "");
 is($result, 1);
+
+1;

Modified: trunk/libmodule-runtime-perl/t/um.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/t/um.t?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/t/um.t (original)
+++ trunk/libmodule-runtime-perl/t/um.t Sun Jun 12 12:56:58 2011
@@ -1,3 +1,6 @@
+use warnings;
+use strict;
+
 use Test::More tests => 9;
 
 BEGIN { use_ok "Module::Runtime", qw(use_module); }
@@ -32,3 +35,5 @@
 # failing version check
 test_use_module("Module::Runtime", 999);
 like($err, qr/^Module::Runtime version /);
+
+1;

Modified: trunk/libmodule-runtime-perl/t/upo.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-runtime-perl/t/upo.t?rev=75482&op=diff
==============================================================================
--- trunk/libmodule-runtime-perl/t/upo.t (original)
+++ trunk/libmodule-runtime-perl/t/upo.t Sun Jun 12 12:56:58 2011
@@ -1,3 +1,6 @@
+use warnings;
+use strict;
+
 use Test::More tests => 15;
 
 BEGIN { use_ok "Module::Runtime", qw(use_package_optimistically); }
@@ -24,6 +27,7 @@
 test_use_package_optimistically("t::Mod0");
 is $err, "";
 is $result, "t::Mod0";
+no strict "refs";
 ok defined(${"t::Mod0::VERSION"});
 
 # successful version check
@@ -43,3 +47,5 @@
 ok !defined($t::Mod1::VERSION);
 require t::Mod1;
 ok defined($t::Mod1::VERSION);
+
+1;




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