r28052 - in /trunk/dh-make-perl: Build.PL lib/App/DhMakePerl.pm lib/DhMakePerl.pm t/00-load.t t/debian-version.t

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Thu Dec 11 08:09:54 UTC 2008


Author: dmn
Date: Thu Dec 11 08:09:51 2008
New Revision: 28052

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=28052
Log:
Drop App:: before DhMakePerl

Added:
    trunk/dh-make-perl/lib/DhMakePerl.pm
      - copied, changed from r28051, trunk/dh-make-perl/lib/App/DhMakePerl.pm
Removed:
    trunk/dh-make-perl/lib/App/DhMakePerl.pm
Modified:
    trunk/dh-make-perl/Build.PL
    trunk/dh-make-perl/t/00-load.t
    trunk/dh-make-perl/t/debian-version.t

Modified: trunk/dh-make-perl/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/Build.PL?rev=28052&op=diff
==============================================================================
--- trunk/dh-make-perl/Build.PL (original)
+++ trunk/dh-make-perl/Build.PL Thu Dec 11 08:09:51 2008
@@ -3,12 +3,12 @@
 use Module::Build;
 
 my $builder = Module::Build->new(
-    module_name         => 'App::DhMakePerl',
+    module_name         => 'DhMakePerl',
     license             => 'gpl2',
     build_requires => {
         'Test::More' => 0,
     },
-    add_to_cleanup      => [ 'App-DhMakePerl-*' ],
+    add_to_cleanup      => [ 'DhMakePerl-*' ],
     create_makefile_pl => 'traditional',
     script_files    => [ 'dh-make-perl' ],
     install_path    => {

Copied: trunk/dh-make-perl/lib/DhMakePerl.pm (from r28051, trunk/dh-make-perl/lib/App/DhMakePerl.pm)
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl.pm?rev=28052&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/App/DhMakePerl.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl.pm Thu Dec 11 08:09:51 2008
@@ -1,11 +1,11 @@
-package App::DhMakePerl;
+package DhMakePerl;
 
 use warnings;
 use strict;
 
 =head1 NAME
 
-App::DhMakePerl - create Debian source package from CPAN dist
+DhMakePerl - create Debian source package from CPAN dist
 
 =head1 VERSION
 
@@ -20,9 +20,9 @@
 
 TO BE FILLED
 
-    use App::DhMakePerl;
+    use DhMakePerl;
 
-    my $foo = App::DhMakePerl->new();
+    my $foo = DhMakePerl->new();
     ...
 
 =head1 METHODS
@@ -62,7 +62,7 @@
 
 You can find documentation for this module with the perldoc command.
 
-    perldoc App::DhMakePerl
+    perldoc DhMakePerl
 
 You can also look for information at:
 
@@ -110,4 +110,4 @@
 
 =cut
 
-1; # End of App::DhMakePerl
+1; # End of DhMakePerl

Modified: trunk/dh-make-perl/t/00-load.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/t/00-load.t?rev=28052&op=diff
==============================================================================
--- trunk/dh-make-perl/t/00-load.t (original)
+++ trunk/dh-make-perl/t/00-load.t Thu Dec 11 08:09:51 2008
@@ -3,7 +3,7 @@
 use Test::More tests => 1;
 
 BEGIN {
-	use_ok( 'App::DhMakePerl' );
+	use_ok( 'DhMakePerl' );
 }
 
-diag( "Testing App::DhMakePerl $App::DhMakePerl::VERSION, Perl $], $^X" );
+diag( "Testing DhMakePerl $DhMakePerl::VERSION, Perl $], $^X" );

Modified: trunk/dh-make-perl/t/debian-version.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/t/debian-version.t?rev=28052&op=diff
==============================================================================
--- trunk/dh-make-perl/t/debian-version.t (original)
+++ trunk/dh-make-perl/t/debian-version.t Thu Dec 11 08:09:51 2008
@@ -2,7 +2,7 @@
 
 use Test::More tests => 1;
 
-use App::DhMakePerl;
+use DhMakePerl;
 
 use FindBin qw($Bin);
 use Parse::DebianChangelog;
@@ -12,4 +12,4 @@
 
 my $cl = Parse::DebianChangelog->init->parse( { infile => "$Bin/../debian/changelog" } );
 
-is( $cl->data( { count => 1   } )->[0]->{Version}, $App::DhMakePerl::VERSION, 'Debian package version matches module version' );
+is( $cl->data( { count => 1   } )->[0]->{Version}, $DhMakePerl::VERSION, 'Debian package version matches module version' );




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