r76011 - in /trunk/libfile-ncopy-perl: Changes Contributing.txt MANIFEST META.yml Makefile.PL debian/changelog lib/File/NCopy.pm t/ test.pl
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sat Jun 18 20:22:42 UTC 2011
Author: gregoa
Date: Sat Jun 18 20:22:40 2011
New Revision: 76011
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=76011
Log:
New upstream release.
Added:
trunk/libfile-ncopy-perl/Contributing.txt
- copied unchanged from r76010, branches/upstream/libfile-ncopy-perl/current/Contributing.txt
trunk/libfile-ncopy-perl/META.yml
- copied unchanged from r76010, branches/upstream/libfile-ncopy-perl/current/META.yml
trunk/libfile-ncopy-perl/t/
- copied from r76010, branches/upstream/libfile-ncopy-perl/current/t/
Removed:
trunk/libfile-ncopy-perl/test.pl
Modified:
trunk/libfile-ncopy-perl/Changes
trunk/libfile-ncopy-perl/MANIFEST
trunk/libfile-ncopy-perl/Makefile.PL
trunk/libfile-ncopy-perl/debian/changelog
trunk/libfile-ncopy-perl/lib/File/NCopy.pm
Modified: trunk/libfile-ncopy-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-ncopy-perl/Changes?rev=76011&op=diff
==============================================================================
--- trunk/libfile-ncopy-perl/Changes (original)
+++ trunk/libfile-ncopy-perl/Changes Sat Jun 18 20:22:40 2011
@@ -1,15 +1,30 @@
Revision history for Perl extension File::NCopy.
-0.34 Thur Apr 24 15:33:00 2003
- - MZSANFORD Added more File::Spec usage
- - MZSANFORD Added a note in BUGS from Ken Healy
- - MZSANFORD Fixed "preserve" option (thanks again Ken)
+0.36 Nov 26 2007 by Alexandr Ciornii
+ - perl 5.5 compatibility in tests
-0.33 Mon May 20 00:00:00 2002
- - MZSANFORD Added version that uses File::Spec to make portable.
- - MZSANFORD Added some basic tests
- - MZSANFORD Added additional debug statements
- - MZSANFORD tested code on Win32
+0.35 Apr 14 2007 by Alexandr Ciornii
+ - Marked distribution as deprecated
+ - Added Readme
+
+0.34_01 Apr 01 2007 by Alexandr Ciornii
+ - better distribution
+ - some small fixes
+ - Added file 'Contributing.txt'
+ - Request in Makefile.PL
+ - test moved to t/, use strict
+ - pod.t
+
+0.34 Thu Apr 24 15:33:00 2003 by MZSANFORD
+ - Added more File::Spec usage
+ - Added a note in BUGS from Ken Healy
+ - Fixed "preserve" option (thanks again Ken)
+
+0.33 Mon May 20 00:00:00 2002 by MZSANFORD
+ - Added version that uses File::Spec to make portable.
+ - Added some basic tests
+ - Added additional debug statements
+ - tested code on Win32
0.32 Thu Jun 25 17:45:04 1998
- Added force-write option. Fixed a bug which kept the module
Modified: trunk/libfile-ncopy-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-ncopy-perl/MANIFEST?rev=76011&op=diff
==============================================================================
--- trunk/libfile-ncopy-perl/MANIFEST (original)
+++ trunk/libfile-ncopy-perl/MANIFEST Sat Jun 18 20:22:40 2011
@@ -1,5 +1,8 @@
Changes
lib/File/NCopy.pm
-MANIFEST
Makefile.PL
-test.pl
+MANIFEST This list of files
+META.yml
+t/test.t
+t/pod.t
+Contributing.txt
Modified: trunk/libfile-ncopy-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-ncopy-perl/Makefile.PL?rev=76011&op=diff
==============================================================================
--- trunk/libfile-ncopy-perl/Makefile.PL (original)
+++ trunk/libfile-ncopy-perl/Makefile.PL Sat Jun 18 20:22:40 2011
@@ -1,8 +1,25 @@
+use 5.004;
use ExtUtils::MakeMaker;
-# See lib/ExtUtils/MakeMaker.pm for details of how to influence
-# the contents of the Makefile that is written.
+
+print << 'EOT';
+
+*** WARNING ***
+Deprecated module. Use only if required by other module.
+You can use File::Copy::Recursive instead.
+
+*** REQUEST ***
+Please use Test::Reporter to report test results - it's the only way to measure
+popularity of distribution.
+
+EOT
+
WriteMakefile(
'NAME' => 'File::NCopy',
- 'VERSION_FROM' => './lib/File/NCopy.pm',
- 'PREREQ_PM' => { 'File::Spec' => 0 },
+ 'VERSION_FROM' => 'lib/File/NCopy.pm',
+ 'PREREQ_PM' => { 'File::Spec' => 0, 'Test::More'=>0},
+ ($ExtUtils::MakeMaker::VERSION gt '6.30'?
+ ('LICENSE' => 'perl', ) : ()),
+ ($] >= 5.005 ? ## Add these new keywords supported since 5.005
+ (ABSTRACT_FROM => './lib/File/NCopy.pm', # retrieve abstract from module
+ AUTHOR => 'Alexandr Ciornii <alexchorny@'.'gmail.com>') : ()),
);
Modified: trunk/libfile-ncopy-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-ncopy-perl/debian/changelog?rev=76011&op=diff
==============================================================================
--- trunk/libfile-ncopy-perl/debian/changelog (original)
+++ trunk/libfile-ncopy-perl/debian/changelog Sat Jun 18 20:22:40 2011
@@ -1,4 +1,4 @@
-libfile-ncopy-perl (0.34-2) UNRELEASED; urgency=low
+libfile-ncopy-perl (0.36-1) UNRELEASED; urgency=low
* Take over for the Debian Perl Group; Closes: #628936 -- RFA/ITA
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field
@@ -10,7 +10,9 @@
Debian Policy 3.8.3).
* Add debian/watch.
- -- gregor herrmann <gregoa at debian.org> Sat, 18 Jun 2011 22:19:53 +0200
+ * New upstream release.
+
+ -- gregor herrmann <gregoa at debian.org> Sat, 18 Jun 2011 22:22:26 +0200
libfile-ncopy-perl (0.34-1) unstable; urgency=low
Modified: trunk/libfile-ncopy-perl/lib/File/NCopy.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-ncopy-perl/lib/File/NCopy.pm?rev=76011&op=diff
==============================================================================
--- trunk/libfile-ncopy-perl/lib/File/NCopy.pm (original)
+++ trunk/libfile-ncopy-perl/lib/File/NCopy.pm Sat Jun 18 20:22:40 2011
@@ -1,10 +1,9 @@
package File::NCopy;
-require 5.004; # just because I think you should upgrade :)
+use 5.004; # just because I think you should upgrade :)
=head1 NAME
-B<File::NCopy> - Copy file, file
- Copy file[s] | dir[s], dir
+File::NCopy - Deprecated module. Use File::Copy::Recursive instead. Copy file, file. Copy file[s] | dir[s], dir
=head1 SYNOPSIS
@@ -165,7 +164,7 @@
=head1 AUTHOR
-Gabor Egressy B<gabor at vmunix.com>
+Gabor Egressy B<gabor AT vmunix.com>
Copyright (c) 1998 Gabor Egressy. All rights reserved. All wrongs
reversed. This program is free software; you can redistribute and/or
@@ -175,6 +174,8 @@
but the code was written from scratch.
Patch at versions 0.33, and 0.34 added by MZSANFORD.
+
+0.35, 0.36 - Alexandr Ciornii (alexchorny AT gmail.com)
=cut
@@ -186,7 +187,7 @@
# we export nothing by default :)
@EXPORT_OK = qw(copy cp);
-$VERSION = '0.34';
+$VERSION = '0.36';
# this works on Unix
sub u_chmod($$)
@@ -354,7 +355,7 @@
$dir = Cwd::cwd;
chdir $save_dir;
- $dir;
+ return $dir;
}
sub _recurse_from_dir($$$);
@@ -440,7 +441,7 @@
delete $this->{'_links'}->{$save_link};
}
- $retval;
+ return $retval;
}
sub _docopy_dir_dir($$$)
@@ -538,7 +539,7 @@
@args;
}
-sub new(@);
+sub new(@); #prototype
# this just redirects calls
sub copy(@)
@@ -561,7 +562,7 @@
my @copies;
my @args = expand @_;
- print "passed args ==> @args\n"
+ print "passed args ==> ".join(',',map {"'$_'"} @args)."\n"
if $this->{'_debug'};
# one or more files/directories to a directory
More information about the Pkg-perl-cvs-commits
mailing list