module-build-checkins Mailing List for Module::Build (Page 32)
Status: Beta
Brought to you by:
kwilliams
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(82) |
Dec
(58) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(49) |
Feb
(57) |
Mar
(49) |
Apr
(49) |
May
(2) |
Jun
(147) |
Jul
(60) |
Aug
(55) |
Sep
(51) |
Oct
(68) |
Nov
(61) |
Dec
(44) |
2006 |
Jan
(27) |
Feb
(38) |
Mar
(89) |
Apr
(31) |
May
(17) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Ken W. <kwi...@us...> - 2005-03-17 04:19:28
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17266 Modified Files: Tag: release-0_26_branch Changes Log Message: Index: Changes =================================================================== RCS file: /cvsroot/module-build/Module-Build/Changes,v retrieving revision 1.299.2.40 retrieving revision 1.299.2.41 diff -u -d -r1.299.2.40 -r1.299.2.41 --- Changes 10 Mar 2005 04:50:12 -0000 1.299.2.40 +++ Changes 17 Mar 2005 04:18:53 -0000 1.299.2.41 @@ -1,6 +1,6 @@ Revision history for Perl extension Module::Build. -0.2609 +0.2609 Wed Mar 16 22:18:35 CST 2005 - The html docs that were created during the first invokation of './Build' were being found and treated as pod that needed to be |
From: Ken W. <kwi...@us...> - 2005-03-17 04:17:50
|
Update of /cvsroot/module-build/Module-Build/lib/Module In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16986/lib/Module Modified Files: Tag: release-0_26_branch Build.pm Log Message: version bump Index: Build.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build.pm,v retrieving revision 1.164.2.12 retrieving revision 1.164.2.13 diff -u -d -r1.164.2.12 -r1.164.2.13 --- Build.pm 4 Mar 2005 03:25:37 -0000 1.164.2.12 +++ Build.pm 17 Mar 2005 04:17:32 -0000 1.164.2.13 @@ -15,7 +15,7 @@ use vars qw($VERSION @ISA); @ISA = qw(Module::Build::Base); -$VERSION = '0.2608'; +$VERSION = '0.2609'; $VERSION = eval $VERSION; # Okay, this is the brute-force method of finding out what kind of |
From: Ken W. <kwi...@us...> - 2005-03-16 16:52:40
|
Update of /cvsroot/module-build/Module-Build/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32179/t Modified Files: install.t Log Message: Integrate from branch Index: install.t =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/install.t,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- install.t 10 Mar 2005 05:03:15 -0000 1.15 +++ install.t 16 Mar 2005 16:52:29 -0000 1.16 @@ -43,7 +43,8 @@ # Make sure there's a packlist installed my $archdir = $build->install_destination('arch'); - my $packlist = File::Spec->catdir($destdir, $archdir, 'auto', 'Sample', '.packlist'); + my ($v, $d) = File::Spec->splitpath($archdir, 1); + my $packlist = File::Spec->catdir($destdir, $d, 'auto', 'Sample', '.packlist'); ok -e $packlist, 1, "$packlist should be written"; } |
From: Ken W. <kwi...@us...> - 2005-03-16 16:51:55
|
Update of /cvsroot/module-build/Module-Build/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32057/t Modified Files: Tag: release-0_26_branch install.t Log Message: Fix a File::Spec usage issue in the tests Index: install.t =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/install.t,v retrieving revision 1.12.2.2 retrieving revision 1.12.2.3 diff -u -d -r1.12.2.2 -r1.12.2.3 --- install.t 28 Feb 2005 22:41:54 -0000 1.12.2.2 +++ install.t 16 Mar 2005 16:51:42 -0000 1.12.2.3 @@ -42,7 +42,8 @@ # Make sure there's a packlist installed my $archdir = $build->install_destination('arch'); - my $packlist = File::Spec->catdir($destdir, $archdir, 'auto', 'Sample', '.packlist'); + my ($v, $d) = File::Spec->splitpath($archdir, 1); + my $packlist = File::Spec->catdir($destdir, $d, 'auto', 'Sample', '.packlist'); ok -e $packlist, 1, "$packlist should be written"; } |
From: Ken W. <kwi...@us...> - 2005-03-10 05:03:26
|
Update of /cvsroot/module-build/Module-Build/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4034/t Modified Files: install.t Log Message: Integrate packlist stuff from branch Index: install.t =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/install.t,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- install.t 7 Jan 2005 10:15:53 -0000 1.14 +++ install.t 10 Mar 2005 05:03:15 -0000 1.15 @@ -1,7 +1,7 @@ use strict; use Test; -BEGIN { plan tests => 30 } +BEGIN { plan tests => 31 } use Module::Build; use File::Spec; @@ -40,6 +40,11 @@ local @INC = (@INC, File::Spec->catdir($destdir, $libdir)); eval {require Sample}; ok $@, ''; + + # Make sure there's a packlist installed + my $archdir = $build->install_destination('arch'); + my $packlist = File::Spec->catdir($destdir, $archdir, 'auto', 'Sample', '.packlist'); + ok -e $packlist, 1, "$packlist should be written"; } { |
From: Ken W. <kwi...@us...> - 2005-03-10 05:03:25
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4034/lib/Module/Build Modified Files: Base.pm Log Message: Integrate packlist stuff from branch Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.396 retrieving revision 1.397 diff -u -d -r1.396 -r1.397 --- Base.pm 10 Mar 2005 04:53:13 -0000 1.396 +++ Base.pm 10 Mar 2005 05:03:14 -0000 1.397 @@ -2540,7 +2540,12 @@ unless $type =~ /^(lib|bin)doc$/; } } - + + # Write the packlist into the same place as ExtUtils::MakeMaker. + my $archdir = $self->install_destination('arch'); + my @ext = split /::/, $self->module_name; + $map{write} = File::Spec->catdir($archdir, 'auto', @ext, '.packlist'); + if (length(my $destdir = $self->{properties}{destdir} || '')) { foreach (keys %map) { # Need to remove volume from $map{$_} using splitpath, or else |
From: Ken W. <kwi...@us...> - 2005-03-10 04:53:22
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1896/lib/Module/Build Modified Files: Base.pm Log Message: Integrate from branch Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.395 retrieving revision 1.396 diff -u -d -r1.395 -r1.396 --- Base.pm 23 Feb 2005 11:51:43 -0000 1.395 +++ Base.pm 10 Mar 2005 04:53:13 -0000 1.396 @@ -2177,6 +2177,7 @@ my $self = shift; require Module::Build::Compat; Module::Build::Compat->create_makefile_pl($self->create_makefile_pl, $self, @_); + $self->_add_to_manifest('MANIFEST', 'Makefile.PL'); } sub do_create_readme { @@ -2184,6 +2185,7 @@ require Pod::Text; my $parser = Pod::Text->new; $parser->parse_from_file($self->dist_version_from, 'README', @_); + $self->_add_to_manifest('MANIFEST', 'README'); } sub ACTION_distdir { |
From: Ken W. <kwi...@us...> - 2005-03-10 04:50:25
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1079/lib/Module/Build Modified Files: Tag: release-0_26_branch Base.pm Log Message: Add README & Makefile.PL to MANIFEST when they're autogenerated Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.340.2.26 retrieving revision 1.340.2.27 diff -u -d -r1.340.2.26 -r1.340.2.27 --- Base.pm 2 Mar 2005 23:11:50 -0000 1.340.2.26 +++ Base.pm 10 Mar 2005 04:50:13 -0000 1.340.2.27 @@ -2047,6 +2047,7 @@ my $self = shift; require Module::Build::Compat; Module::Build::Compat->create_makefile_pl($self->create_makefile_pl, $self, @_); + $self->_add_to_manifest('MANIFEST', 'Makefile.PL'); } sub do_create_readme { @@ -2054,6 +2055,7 @@ require Pod::Text; my $parser = Pod::Text->new; $parser->parse_from_file($self->dist_version_from, 'README', @_); + $self->_add_to_manifest('MANIFEST', 'README'); } sub ACTION_distdir { |
From: Ken W. <kwi...@us...> - 2005-03-10 04:50:24
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1079 Modified Files: Tag: release-0_26_branch Changes Log Message: Add README & Makefile.PL to MANIFEST when they're autogenerated Index: Changes =================================================================== RCS file: /cvsroot/module-build/Module-Build/Changes,v retrieving revision 1.299.2.39 retrieving revision 1.299.2.40 diff -u -d -r1.299.2.39 -r1.299.2.40 --- Changes 4 Mar 2005 03:25:36 -0000 1.299.2.39 +++ Changes 10 Mar 2005 04:50:12 -0000 1.299.2.40 @@ -26,6 +26,11 @@ - The 'distcheck' action will now die() if it finds an error in the MANIFEST, rather than just printing on STDOUT. [David Golden] + - When the README and/or Makefile.PL are autogenerated using + create_readme or create_makefile_pl, we now automatically make sure + they're also listed in the MANIFEST file. [Suggested by Michael + Schwern] + - Got rid of the t/MANIFEST file - it's superfluous, and it had zero-length, which some versions of Tar don't like. [William Underwood] |
From: Ken W. <kwi...@us...> - 2005-03-04 03:26:03
|
Update of /cvsroot/module-build/Module-Build/lib/Module In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19662/lib/Module Modified Files: Tag: release-0_26_branch Build.pm Log Message: Add mention of autogenerated accessors to the docs Index: Build.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build.pm,v retrieving revision 1.164.2.11 retrieving revision 1.164.2.12 diff -u -d -r1.164.2.11 -r1.164.2.12 --- Build.pm 2 Mar 2005 23:11:49 -0000 1.164.2.11 +++ Build.pm 4 Mar 2005 03:25:37 -0000 1.164.2.12 @@ -218,7 +218,9 @@ =item new() Creates a new Module::Build object. Arguments to the new() method are -listed below. Most arguments are optional, but you must provide +listed below. Unless otherwise documented, there's also a +corresponding get/set method on the C<Module::Build> object to access +their values. Most arguments are optional, but you must provide either the C<module_name> argument, or C<dist_name> and one of C<dist_version> or C<dist_version_from>. In other words, you must provide enough information to determine both a distribution name and |
From: Ken W. <kwi...@us...> - 2005-03-04 03:25:45
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19662 Modified Files: Tag: release-0_26_branch Changes Log Message: Add mention of autogenerated accessors to the docs Index: Changes =================================================================== RCS file: /cvsroot/module-build/Module-Build/Changes,v retrieving revision 1.299.2.38 retrieving revision 1.299.2.39 diff -u -d -r1.299.2.38 -r1.299.2.39 --- Changes 28 Feb 2005 22:41:49 -0000 1.299.2.38 +++ Changes 4 Mar 2005 03:25:36 -0000 1.299.2.39 @@ -30,6 +30,11 @@ zero-length, which some versions of Tar don't like. [William Underwood] + - Added a mention in the documentation that each property that new() + accepts also has a corresponding get/set accessor. (In the version + 0.27_0x series each accessor method is mentioned explicitly in the + docs.) [Omission spotted by Ian Langworth] + 0.2608 Wed Jan 26 19:46:09 CST 2005 - Add workaround for test files because Devel::Cover causes |
From: Ken W. <kwi...@us...> - 2005-03-02 23:12:00
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28542/lib/Module/Build Modified Files: Tag: release-0_26_branch Base.pm Log Message: Add a create_packlist property, default true, that lets users avoid creating packlists Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.340.2.25 retrieving revision 1.340.2.26 diff -u -d -r1.340.2.25 -r1.340.2.26 --- Base.pm 28 Feb 2005 22:54:07 -0000 1.340.2.25 +++ Base.pm 2 Mar 2005 23:11:50 -0000 1.340.2.26 @@ -96,6 +96,7 @@ installdirs => 'site', install_path => {}, include_dirs => [], + create_packlist => 1, %input, }, }, $package; @@ -460,6 +461,7 @@ bindoc_dirs libdoc_dirs get_options + create_packlist ); sub valid_property { exists $valid_properties{$_[1]} } @@ -2386,10 +2388,12 @@ } } - # Write the packlist into the same place as ExtUtils::MakeMaker. - my $archdir = $self->install_destination('arch'); - my @ext = split /::/, $self->module_name; - $map{write} = File::Spec->catdir($archdir, 'auto', @ext, '.packlist'); + if ($self->create_packlist) { + # Write the packlist into the same place as ExtUtils::MakeMaker. + my $archdir = $self->install_destination('arch'); + my @ext = split /::/, $self->module_name; + $map{write} = File::Spec->catdir($archdir, 'auto', @ext, '.packlist'); + } if (length(my $destdir = $self->{properties}{destdir} || '')) { foreach (keys %map) { |
From: Ken W. <kwi...@us...> - 2005-03-02 23:11:58
|
Update of /cvsroot/module-build/Module-Build/lib/Module In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28542/lib/Module Modified Files: Tag: release-0_26_branch Build.pm Log Message: Add a create_packlist property, default true, that lets users avoid creating packlists Index: Build.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build.pm,v retrieving revision 1.164.2.10 retrieving revision 1.164.2.11 diff -u -d -r1.164.2.10 -r1.164.2.11 --- Build.pm 6 Jan 2005 01:03:38 -0000 1.164.2.10 +++ Build.pm 2 Mar 2005 23:11:49 -0000 1.164.2.11 @@ -427,6 +427,18 @@ recommended style for writing a README, but it seems to be one common one used on the CPAN. +=item create_packlist + +If true, this parameter tells Module::Build to create a F<.packlist> +file during the C<install> action, just like ExtUtils::MakeMaker does. +The file is created in a subdirectory of the C<arch> installation +location. It is used by some other tools (CPAN, CPANPLUS, etc.) for +determining what files are part of an install. + +The default value is true. This parameter was introduced in +Module::Build version 0.2609; previously no packlists were ever +created by Module::Build. + =item c_source An optional C<c_source> argument specifies a directory which contains |
From: Ken W. <kwi...@us...> - 2005-02-28 22:54:20
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12726/lib/Module/Build Modified Files: Tag: release-0_26_branch Base.pm Log Message: Simplify a File::Spec-ism Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.340.2.24 retrieving revision 1.340.2.25 diff -u -d -r1.340.2.24 -r1.340.2.25 --- Base.pm 28 Feb 2005 22:41:52 -0000 1.340.2.24 +++ Base.pm 28 Feb 2005 22:54:07 -0000 1.340.2.25 @@ -2388,8 +2388,8 @@ # Write the packlist into the same place as ExtUtils::MakeMaker. my $archdir = $self->install_destination('arch'); - my $ext = File::Spec->catdir(split /::/, $self->module_name); - $map{write} = File::Spec->catdir($archdir, 'auto', $ext, '.packlist'); + my @ext = split /::/, $self->module_name; + $map{write} = File::Spec->catdir($archdir, 'auto', @ext, '.packlist'); if (length(my $destdir = $self->{properties}{destdir} || '')) { foreach (keys %map) { |
From: Ken W. <kwi...@us...> - 2005-02-28 22:42:06
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8763 Modified Files: Tag: release-0_26_branch Changes Log Message: Write a .packlist file Index: Changes =================================================================== RCS file: /cvsroot/module-build/Module-Build/Changes,v retrieving revision 1.299.2.37 retrieving revision 1.299.2.38 diff -u -d -r1.299.2.37 -r1.299.2.38 --- Changes 23 Feb 2005 02:44:23 -0000 1.299.2.37 +++ Changes 28 Feb 2005 22:41:49 -0000 1.299.2.38 @@ -11,6 +11,9 @@ - If Pod::Man is not available, we now skip building man pages (rather than dying) and tell the user why. + - We now write a .packlist file upon installation, in the same place + that ExtUtils::MakeMaker does. [Johnny Lam] + - On some Unix platforms (BSD derivatives, mostly) perl's $^X variable isn't set to the full path of the perl executable, just 'perl', when the 'Build' script is run as './Build' and not 'perl |
From: Ken W. <kwi...@us...> - 2005-02-28 22:42:03
|
Update of /cvsroot/module-build/Module-Build/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8763/t Modified Files: Tag: release-0_26_branch install.t Log Message: Write a .packlist file Index: install.t =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/install.t,v retrieving revision 1.12.2.1 retrieving revision 1.12.2.2 diff -u -d -r1.12.2.1 -r1.12.2.2 --- install.t 7 Jan 2005 02:17:42 -0000 1.12.2.1 +++ install.t 28 Feb 2005 22:41:54 -0000 1.12.2.2 @@ -1,7 +1,7 @@ use strict; use Test; -BEGIN { plan tests => 28 } +BEGIN { plan tests => 29 } use Module::Build; use File::Spec; use File::Path; @@ -39,6 +39,11 @@ local @INC = (@INC, File::Spec->catdir($destdir, $libdir)); eval {require Sample}; ok $@, ''; + + # Make sure there's a packlist installed + my $archdir = $build->install_destination('arch'); + my $packlist = File::Spec->catdir($destdir, $archdir, 'auto', 'Sample', '.packlist'); + ok -e $packlist, 1, "$packlist should be written"; } { |
From: Ken W. <kwi...@us...> - 2005-02-28 22:42:03
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8763/lib/Module/Build Modified Files: Tag: release-0_26_branch Base.pm Log Message: Write a .packlist file Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.340.2.23 retrieving revision 1.340.2.24 diff -u -d -r1.340.2.23 -r1.340.2.24 --- Base.pm 23 Feb 2005 04:05:03 -0000 1.340.2.23 +++ Base.pm 28 Feb 2005 22:41:52 -0000 1.340.2.24 @@ -2386,6 +2386,11 @@ } } + # Write the packlist into the same place as ExtUtils::MakeMaker. + my $archdir = $self->install_destination('arch'); + my $ext = File::Spec->catdir(split /::/, $self->module_name); + $map{write} = File::Spec->catdir($archdir, 'auto', $ext, '.packlist'); + if (length(my $destdir = $self->{properties}{destdir} || '')) { foreach (keys %map) { # Need to remove volume from $map{$_} using splitpath, or else |
From: Ken W. <kwi...@us...> - 2005-02-27 14:45:28
|
Update of /cvsroot/module-build/Module-Build/lib/Module In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12969 Modified Files: Build.pm Log Message: Add a comment about _interpose_module() Index: Build.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build.pm,v retrieving revision 1.173 retrieving revision 1.174 diff -u -d -r1.173 -r1.174 --- Build.pm 18 Dec 2004 20:57:04 -0000 1.173 +++ Build.pm 27 Feb 2005 14:45:17 -0000 1.174 @@ -63,6 +63,8 @@ mpeix MPEiX ); +# Inserts the given module into the @ISA hierarchy between +# Module::Build and its immediate parent sub _interpose_module { my ($self, $mod) = @_; eval "use $mod"; |
From: Randy W. S. <si...@us...> - 2005-02-27 14:19:56
|
Update of /cvsroot/module-build/Module-Build/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5558/t Modified Files: manifypods.t Log Message: Add workaround for test files because older versions of Devel::Cover causes require to fail when the argument to require is an expression involving File::Spec. We now assign the result of the File::Spec call to a variable and then call require with that variable. Index: manifypods.t =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/manifypods.t,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- manifypods.t 28 Nov 2004 02:36:04 -0000 1.9 +++ manifypods.t 27 Feb 2005 14:19:30 -0000 1.10 @@ -7,8 +7,9 @@ use Test; use Module::Build; -BEGIN { - require File::Spec->catfile('t', 'common.pl'); +BEGIN { + my $common_pl = File::Spec->catfile('t', 'common.pl'); + require $common_pl; skip_test("manpage_support feature is not enabled") unless Module::Build->current->feature('manpage_support'); plan tests => 21; |
From: Randy W. S. <si...@us...> - 2005-02-23 11:59:21
|
Update of /cvsroot/module-build/Module-Build/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30982/t Modified Files: ext.t Log Message: read_args() creates an ARGV entry in the hash it returns. Fix test to expect the added entry. Index: ext.t =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/ext.t,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- ext.t 23 Feb 2005 11:52:18 -0000 1.13 +++ ext.t 23 Feb 2005 11:59:13 -0000 1.14 @@ -93,7 +93,7 @@ { # Make sure data can make a round-trip through unparse_args() and read_args() - my %args = (foo => 'bar', food => 'bard', config => {a => 1, b => 2}); + my %args = (foo => 'bar', food => 'bard', config => {a => 1, b => 2}, ARGV => []); my ($args) = Module::Build->read_args( Module::Build->unparse_args(\%args) ); is_deeply($args, \%args); } |
From: Randy W. S. <si...@us...> - 2005-02-23 11:52:27
|
Update of /cvsroot/module-build/Module-Build/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29332/t Modified Files: ext.t Log Message: Revert change 1.12 Index: ext.t =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/ext.t,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- ext.t 20 Feb 2005 10:56:16 -0000 1.12 +++ ext.t 23 Feb 2005 11:52:18 -0000 1.13 @@ -88,7 +88,7 @@ # Make sure read_args() functions properly as a class method my @args = qw(foo=bar --food bard); my ($args) = Module::Build->read_args(@args); - is_deeply($args, {foo => 'bar', food => 'bard'}); + is_deeply($args, {foo => 'bar', food => 'bard', ARGV => []}); } { |
From: Randy W. S. <si...@us...> - 2005-02-23 11:51:52
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29198/lib/Module/Build Modified Files: Base.pm Log Message: Revert change 1.393 Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.394 retrieving revision 1.395 diff -u -d -r1.394 -r1.395 --- Base.pm 23 Feb 2005 04:06:43 -0000 1.394 +++ Base.pm 23 Feb 2005 11:51:43 -0000 1.395 @@ -1272,7 +1272,7 @@ push @argv, $_; } } - $args{ARGV} = \@argv if @argv; + $args{ARGV} = \@argv; # Hashify these parameters for ($self->hash_properties) { |
From: Ken W. <kwi...@us...> - 2005-02-23 04:06:56
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12609/lib/Module/Build Modified Files: Base.pm Log Message: Remove the unused stdout_to_file() method Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.393 retrieving revision 1.394 diff -u -d -r1.393 -r1.394 --- Base.pm 20 Feb 2005 10:56:14 -0000 1.393 +++ Base.pm 23 Feb 2005 04:06:43 -0000 1.394 @@ -2707,22 +2707,6 @@ return Text::ParseWords::shellwords($string); } -sub stdout_to_file { - my ($self, $coderef, $redirect) = @_; - local *SAVE; - if ($redirect) { - open SAVE, ">&STDOUT" or die "Can't save STDOUT handle: $!"; - open STDOUT, "> $redirect" or die "Can't create '$redirect': $!"; - } - - $coderef->(); - - if ($redirect) { - close STDOUT; - open STDOUT, ">&SAVE" or die "Can't restore STDOUT: $!"; - } -} - sub run_perl_script { my ($self, $script, $preargs, $postargs) = @_; foreach ($preargs, $postargs) { |
From: Ken W. <kwi...@us...> - 2005-02-23 04:05:12
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12043/lib/Module/Build Modified Files: Tag: release-0_26_branch Base.pm Log Message: Remove the unused stdout_to_file() method Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.340.2.22 retrieving revision 1.340.2.23 diff -u -d -r1.340.2.22 -r1.340.2.23 --- Base.pm 23 Feb 2005 02:44:23 -0000 1.340.2.22 +++ Base.pm 23 Feb 2005 04:05:03 -0000 1.340.2.23 @@ -2590,22 +2590,6 @@ return Text::ParseWords::shellwords($string); } -sub stdout_to_file { - my ($self, $coderef, $redirect) = @_; - local *SAVE; - if ($redirect) { - open SAVE, ">&STDOUT" or die "Can't save STDOUT handle: $!"; - open STDOUT, "> $redirect" or die "Can't create '$redirect': $!"; - } - - $coderef->(); - - if ($redirect) { - close STDOUT; - open STDOUT, ">&SAVE" or die "Can't restore STDOUT: $!"; - } -} - sub run_perl_script { my ($self, $script, $preargs, $postargs) = @_; foreach ($preargs, $postargs) { |
From: Ken W. <kwi...@us...> - 2005-02-23 02:44:32
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20868/lib/Module/Build Modified Files: Tag: release-0_26_branch Base.pm Log Message: Handle the absence of Pod::Man more gracefully Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.340.2.21 retrieving revision 1.340.2.22 diff -u -d -r1.340.2.21 -r1.340.2.22 --- Base.pm 9 Feb 2005 10:12:00 -0000 1.340.2.21 +++ Base.pm 23 Feb 2005 02:44:23 -0000 1.340.2.22 @@ -1657,7 +1657,10 @@ sub ACTION_docs { my $self = shift; $self->depends_on('code'); - require Pod::Man; + unless (eval {require Pod::Man; 1}) { + warn " *** Pod::Man is not available, skipped building man pages\n"; + return; + } $self->manify_bin_pods() if $self->install_destination('bindoc'); $self->manify_lib_pods() if $self->install_destination('libdoc'); $self->htmlify_pods() if $self->install_destination('html'); |