r40159 - in /trunk/libipc-run-perl: ./ debian/ lib/IPC/ lib/IPC/Run/ t/
gwolf at users.alioth.debian.org
gwolf at users.alioth.debian.org
Sun Jul 19 00:56:40 UTC 2009
Author: gwolf
Date: Sun Jul 19 00:56:34 2009
New Revision: 40159
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=40159
Log:
Updating for new upstream release
Added:
trunk/libipc-run-perl/t/97_meta.t
- copied unchanged from r40158, branches/upstream/libipc-run-perl/current/t/97_meta.t
trunk/libipc-run-perl/t/98_pod.t
- copied unchanged from r40158, branches/upstream/libipc-run-perl/current/t/98_pod.t
trunk/libipc-run-perl/t/99_pmv.t
- copied unchanged from r40158, branches/upstream/libipc-run-perl/current/t/99_pmv.t
Modified:
trunk/libipc-run-perl/Changes
trunk/libipc-run-perl/MANIFEST
trunk/libipc-run-perl/META.yml
trunk/libipc-run-perl/Makefile.PL
trunk/libipc-run-perl/README
trunk/libipc-run-perl/debian/changelog
trunk/libipc-run-perl/debian/control
trunk/libipc-run-perl/lib/IPC/Run.pm
trunk/libipc-run-perl/lib/IPC/Run/Debug.pm
trunk/libipc-run-perl/lib/IPC/Run/IO.pm
trunk/libipc-run-perl/lib/IPC/Run/Timer.pm
trunk/libipc-run-perl/lib/IPC/Run/Win32Helper.pm
trunk/libipc-run-perl/lib/IPC/Run/Win32IO.pm
trunk/libipc-run-perl/lib/IPC/Run/Win32Pump.pm
trunk/libipc-run-perl/t/pty.t
trunk/libipc-run-perl/t/run.t
Modified: trunk/libipc-run-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libipc-run-perl/Changes?rev=40159&op=diff
==============================================================================
--- trunk/libipc-run-perl/Changes (original)
+++ trunk/libipc-run-perl/Changes Sun Jul 19 00:56:34 2009
@@ -1,4 +1,10 @@
Revision history for Perl extension IPC::Run
+
+0.84 Mon 13 Jul 2009
+ - Add darwin to the list of known-bad platforms
+
+0.83 Fri 10 Jul 2009
+ - Switch from command.com to cmd.exe so we work on 2008 or newer.
0.82 Thu 18 Dec 2008
- Moving changes in 0.81_01 to a production release
Modified: trunk/libipc-run-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libipc-run-perl/MANIFEST?rev=40159&op=diff
==============================================================================
--- trunk/libipc-run-perl/MANIFEST (original)
+++ trunk/libipc-run-perl/MANIFEST Sun Jul 19 00:56:34 2009
@@ -21,6 +21,9 @@
Makefile.PL
MANIFEST This list of files
README
+t/97_meta.t
+t/98_pod.t
+t/99_pmv.t
t/adopt.t
t/binmode.t
t/bogus.t
Modified: trunk/libipc-run-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libipc-run-perl/META.yml?rev=40159&op=diff
==============================================================================
--- trunk/libipc-run-perl/META.yml (original)
+++ trunk/libipc-run-perl/META.yml Sun Jul 19 00:56:34 2009
@@ -1,20 +1,22 @@
--- #YAML:1.0
name: IPC-Run
-version: 0.82
-abstract: ~
+version: 0.84
+abstract: system() and background procs w/ piping, redirs, ptys (Unix, Win32)
author: []
license: unknown
distribution_type: module
configure_requires:
ExtUtils::MakeMaker: 0
+build_requires:
+ ExtUtils::MakeMaker: 0
requires:
- IO::Pty: 1.00
+ IO::Pty: 1.08
Test::More: 0.47
no_index:
directory:
- t
- inc
-generated_by: ExtUtils::MakeMaker version 6.48
+generated_by: ExtUtils::MakeMaker version 6.50
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
Modified: trunk/libipc-run-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libipc-run-perl/Makefile.PL?rev=40159&op=diff
==============================================================================
--- trunk/libipc-run-perl/Makefile.PL (original)
+++ trunk/libipc-run-perl/Makefile.PL Sun Jul 19 00:56:34 2009
@@ -9,10 +9,10 @@
warn("WARNING: \"IO::Pty not found\".\nWARNING: '<pty<', '>pty>' will not work.\n\n");
last;
}
- $PREREQ_PM{'IO::Pty'} = '1.00';
+ $PREREQ_PM{'IO::Pty'} = '1.08';
}
} else {
- $PREREQ_PM{'Win32::Process'} = 0;
+ $PREREQ_PM{'Win32::Process'} = '0.14';
if ( ! eval "use Socket qw( IPPROTO_TCP TCP_NODELAY ); 1" ) {
warn <<"TOHERE";
$@
@@ -41,6 +41,7 @@
WriteMakefile(
NAME => 'IPC::Run',
+ ABSTRACT => 'system() and background procs w/ piping, redirs, ptys (Unix, Win32)',
VERSION_FROM => 'lib/IPC/Run.pm',
PREREQ_PM => {
Test::More => '0.47',
Modified: trunk/libipc-run-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libipc-run-perl/README?rev=40159&op=diff
==============================================================================
--- trunk/libipc-run-perl/README (original)
+++ trunk/libipc-run-perl/README Sun Jul 19 00:56:34 2009
@@ -14,6 +14,7 @@
# Can do I/O to sub refs and filenames, too:
run \@cmd, '<', "in.txt", \&out, \&err or die "cat: $?"
run \@cat, '<', "in.txt", '>>', "out.txt", '2>>', "err.txt";
+
# Redirecting using psuedo-terminals instad of pipes.
run \@cat, '<pty<', \$in, '>pty>', \$out_and_err;
@@ -409,7 +410,7 @@
processes are also specified:
run io( "infile", ">", \$in ), io( "outfile", "<", \$in );
-
+
as can IPC::Run::Timer objects:
run \@cmd, io( "outfile", "<", \$in ), timeout( 10 );
@@ -485,7 +486,7 @@
leading '|' consumes descriptor 0, so this works as expected.
run \@cmd1, \$in, '|', \@cmd2, \$out;
-
+
The parameter following a redirection operator can be a scalar ref, a
subroutine ref, a file name, an open filehandle, or a closed filehandle.
@@ -666,7 +667,7 @@
<pipe, N<pipe P Pipe opens H for caller to read, write, close.
>pipe, N>pipe P Pipe opens H for caller to read, write, close.
-
+
'N' and 'M' are placeholders for integer file descriptor numbers. The
terms 'input' and 'output' are from the child process's perspective.
@@ -714,7 +715,7 @@
run \@a, *IN; ## INVALID
run \@a, '<', *IN; ## BUGGY: Reads file named like "*main::A"
-
+
because perl passes a scalar containing a string that looks like
"*main::A" to &run, and &run can't tell the difference between that
and a redirection operator or a file name. &run guarantees that any
@@ -1185,6 +1186,7 @@
kill all the children. Call "<$h-"kill_kill>> in this case if you
care. This differs from the behavior of "run".
+ result
$h->result;
Returns the first non-zero result code (ie $? >> 8). See
@@ -1700,7 +1702,7 @@
Barrie Slaymaker <barries at slaysys.com>
COPYRIGHT
- Some parts copyright 2008 Adam Kennedy.
+ Some parts copyright 2008 - 2009 Adam Kennedy.
Copyright 1999 Barrie Slaymaker.
Modified: trunk/libipc-run-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libipc-run-perl/debian/changelog?rev=40159&op=diff
==============================================================================
--- trunk/libipc-run-perl/debian/changelog (original)
+++ trunk/libipc-run-perl/debian/changelog Sun Jul 19 00:56:34 2009
@@ -1,8 +1,14 @@
-libipc-run-perl (0.82-2) UNRELEASED; urgency=low
+libipc-run-perl (0.84-1) unstable; urgency=low
+ [ Nathan Handler ]
* debian/watch: Update to ignore development releases.
- -- Nathan Handler <nhandler at ubuntu.com> Sat, 06 Jun 2009 01:34:38 +0000
+ [ Gunnar Wolf ]
+ * New upstream release
+ * Added myself as an uploader
+ * Standards version â 3.8.2 (no changes needed)
+
+ -- Gunnar Wolf <gwolf at debian.org> Sun, 19 Jul 2009 02:54:36 +0200
libipc-run-perl (0.82-1) unstable; urgency=low
Modified: trunk/libipc-run-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libipc-run-perl/debian/control?rev=40159&op=diff
==============================================================================
--- trunk/libipc-run-perl/debian/control (original)
+++ trunk/libipc-run-perl/debian/control Sun Jul 19 00:56:34 2009
@@ -3,8 +3,9 @@
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Jay Bonci <jaybonci at debian.org>,
- gregor herrmann <gregoa at debian.org>
-Standards-Version: 3.8.0
+ gregor herrmann <gregoa at debian.org>,
+ Gunnar Wolf <gwolf at debian.org>
+Standards-Version: 3.8.2
Homepage: http://search.cpan.org/dist/IPC-Run/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libipc-run-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libipc-run-perl/
Modified: trunk/libipc-run-perl/lib/IPC/Run.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libipc-run-perl/lib/IPC/Run.pm?rev=40159&op=diff
==============================================================================
--- trunk/libipc-run-perl/lib/IPC/Run.pm (original)
+++ trunk/libipc-run-perl/lib/IPC/Run.pm Sun Jul 19 00:56:34 2009
@@ -1005,15 +1005,13 @@
=head1 ROUTINES
-=over
-
=cut
use strict;
use Exporter ();
use vars qw{$VERSION @ISA @FILTER_IMP @FILTERS @API @EXPORT_OK %EXPORT_TAGS};
BEGIN {
- $VERSION = '0.82';
+ $VERSION = '0.84';
@ISA = qw{ Exporter };
## We use @EXPORT for the end user's convenience: there's only one function
@@ -1403,6 +1401,8 @@
=pod
+=over
+
=item run
Run takes a harness or harness specification and runs it, pumping
@@ -1648,10 +1648,10 @@
# if $options && defined $options->{debug};
my @args;
-
if ( @_ == 1 && ! ref $_[0] ) {
if ( Win32_MODE ) {
- @args = ( [ qw( command /c ), win32_parse_cmd_line $_[0] ] );
+ my $command = $ENV{ComSpec} || 'cmd';
+ @args = ( [ $command, '/c', win32_parse_cmd_line $_[0] ] );
}
else {
@args = ( [ qw( sh -c ), @_ ] );
@@ -3459,6 +3459,7 @@
}
=pod
+
=item result
$h->result;
@@ -4353,7 +4354,7 @@
=head1 COPYRIGHT
-Some parts copyright 2008 Adam Kennedy.
+Some parts copyright 2008 - 2009 Adam Kennedy.
Copyright 1999 Barrie Slaymaker.
Modified: trunk/libipc-run-perl/lib/IPC/Run/Debug.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libipc-run-perl/lib/IPC/Run/Debug.pm?rev=40159&op=diff
==============================================================================
--- trunk/libipc-run-perl/lib/IPC/Run/Debug.pm (original)
+++ trunk/libipc-run-perl/lib/IPC/Run/Debug.pm Sun Jul 19 00:56:34 2009
@@ -70,7 +70,7 @@
use Exporter;
use vars qw{$VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS};
BEGIN {
- $VERSION = '0.82';
+ $VERSION = '0.84';
@ISA = qw( Exporter );
@EXPORT = qw(
_debug
Modified: trunk/libipc-run-perl/lib/IPC/Run/IO.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libipc-run-perl/lib/IPC/Run/IO.pm?rev=40159&op=diff
==============================================================================
--- trunk/libipc-run-perl/lib/IPC/Run/IO.pm (original)
+++ trunk/libipc-run-perl/lib/IPC/Run/IO.pm Sun Jul 19 00:56:34 2009
@@ -83,7 +83,7 @@
use vars qw{$VERSION};
BEGIN {
- $VERSION = '0.82';
+ $VERSION = '0.84';
if ( Win32_MODE ) {
eval "use IPC::Run::Win32Helper; require IPC::Run::Win32IO; 1"
or ( $@ && die ) or die "$!";
@@ -220,6 +220,10 @@
return $self;
}
+=pod
+
+=over
+
=item filename
Gets/sets the filename. Returns the value after the name change, if
@@ -232,6 +236,8 @@
$self->{FILENAME} = shift if @_;
return $self->{FILENAME};
}
+
+=pod
=item init
Modified: trunk/libipc-run-perl/lib/IPC/Run/Timer.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libipc-run-perl/lib/IPC/Run/Timer.pm?rev=40159&op=diff
==============================================================================
--- trunk/libipc-run-perl/lib/IPC/Run/Timer.pm (original)
+++ trunk/libipc-run-perl/lib/IPC/Run/Timer.pm Sun Jul 19 00:56:34 2009
@@ -163,7 +163,7 @@
use Exporter;
use vars qw( $VERSION @ISA @EXPORT_OK %EXPORT_TAGS );
BEGIN {
- $VERSION = '0.82';
+ $VERSION = '0.84';
@ISA = qw( Exporter );
@EXPORT_OK = qw(
check
@@ -675,6 +675,8 @@
=pod
+=back
+
=head1 TODO
use Time::HiRes; if it's present.
Modified: trunk/libipc-run-perl/lib/IPC/Run/Win32Helper.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libipc-run-perl/lib/IPC/Run/Win32Helper.pm?rev=40159&op=diff
==============================================================================
--- trunk/libipc-run-perl/lib/IPC/Run/Win32Helper.pm (original)
+++ trunk/libipc-run-perl/lib/IPC/Run/Win32Helper.pm Sun Jul 19 00:56:34 2009
@@ -24,7 +24,7 @@
use IO::Handle;
use vars qw{ $VERSION @ISA @EXPORT };
BEGIN {
- $VERSION = '0.82';
+ $VERSION = '0.84';
@ISA = qw( Exporter );
@EXPORT = qw(
win32_spawn
Modified: trunk/libipc-run-perl/lib/IPC/Run/Win32IO.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libipc-run-perl/lib/IPC/Run/Win32IO.pm?rev=40159&op=diff
==============================================================================
--- trunk/libipc-run-perl/lib/IPC/Run/Win32IO.pm (original)
+++ trunk/libipc-run-perl/lib/IPC/Run/Win32IO.pm Sun Jul 19 00:56:34 2009
@@ -31,7 +31,7 @@
use vars qw{$VERSION};
BEGIN {
- $VERSION = '0.82';
+ $VERSION = '0.84';
}
use Socket qw( IPPROTO_TCP TCP_NODELAY );
Modified: trunk/libipc-run-perl/lib/IPC/Run/Win32Pump.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libipc-run-perl/lib/IPC/Run/Win32Pump.pm?rev=40159&op=diff
==============================================================================
--- trunk/libipc-run-perl/lib/IPC/Run/Win32Pump.pm (original)
+++ trunk/libipc-run-perl/lib/IPC/Run/Win32Pump.pm Sun Jul 19 00:56:34 2009
@@ -29,7 +29,7 @@
use strict;
use vars qw{$VERSION};
BEGIN {
- $VERSION = '0.82';
+ $VERSION = '0.84';
}
use Win32API::File qw(
Modified: trunk/libipc-run-perl/t/pty.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libipc-run-perl/t/pty.t?rev=40159&op=diff
==============================================================================
--- trunk/libipc-run-perl/t/pty.t (original)
+++ trunk/libipc-run-perl/t/pty.t Sun Jul 19 00:56:34 2009
@@ -99,7 +99,7 @@
## Older Perls can't ok( a, qr// ), so I manually do that here.
my $exp;
-my $platform_skip = $^O =~ /(?:aix|freebsd|openbsd)/ ? "$^O deadlocks on this test" : "";
+my $platform_skip = $^O =~ /(?:aix|freebsd|openbsd|darwin)/ ? "$^O deadlocks on this test" : "";
##
## stdin only
Modified: trunk/libipc-run-perl/t/run.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libipc-run-perl/t/run.t?rev=40159&op=diff
==============================================================================
--- trunk/libipc-run-perl/t/run.t (original)
+++ trunk/libipc-run-perl/t/run.t Sun Jul 19 00:56:34 2009
@@ -787,8 +787,8 @@
ok( $r );
ok( ! $? );
is( _map_fds, $fd_map );
-ok( $out =~ qr/^(?:HELLO World\n|Hello world\n){2}$/s );
-ok( $err =~ qr/^(?:[12]:Hello World.*){2}$/s );
+ok( $out =~ qr/^(?:HELLO World\n|Hello world\n){2}\z/s );
+ok( $err =~ qr/^(?:[12]:Hello World.*){2}\z/s );
##
## A few error cases...
More information about the Pkg-perl-cvs-commits
mailing list