module-build-checkins Mailing List for Module::Build (Page 29)
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-04-16 02:18:09
|
Update of /cvsroot/module-build/Module-Build/t/Sample In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6142/t/Sample Modified Files: META.yml Log Message: Index: META.yml =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/Sample/META.yml,v retrieving revision 1.42 retrieving revision 1.43 diff -u -d -r1.42 -r1.43 --- META.yml 7 Jan 2005 11:09:10 -0000 1.42 +++ META.yml 16 Apr 2005 02:17:58 -0000 1.43 @@ -17,4 +17,4 @@ Sample::NoPod: file: lib/Sample/NoPod.pm version: ~ -generated_by: Module::Build version 0.26 +generated_by: Module::Build version 0.2701 |
|
From: Ken W. <kwi...@us...> - 2005-04-16 02:13:37
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3902 Modified Files: Changes Log Message: Get this ready for first release Index: Changes =================================================================== RCS file: /cvsroot/module-build/Module-Build/Changes,v retrieving revision 1.338 retrieving revision 1.339 diff -u -d -r1.338 -r1.339 --- Changes 16 Apr 2005 01:21:11 -0000 1.338 +++ Changes 16 Apr 2005 02:13:28 -0000 1.339 @@ -1,7 +1,21 @@ Revision history for Perl extension Module::Build. -0.27_01 (Beta for 0.28) +0.27_01 (Beta for 0.28) Fri Apr 15 21:12:57 CDT 2005 + + Backward-incompatible (but better) changes: + + * When using the 'install_base' option to choose a directory for + installing everything, perl modules now go into lib/perl5/ instead + of just lib/. It seems this is more consistent with people's + expectations, and the way I had it before was a bit peculiar to the + way I like things in my own home directory. [Michael Schwern] + + * When the user is using the 'install_base' option, scripts will now + be installed by default in $install_base/bin/ rather than + $install_base/script/ . [Jan Hudec and Michael Schwern] + + Major changes: - The auto_features mechanism will now re-evaluate dependencies every time feature() is called for an auto-feature, rather than freezing @@ -14,15 +28,34 @@ author add/merge arbitrary entries into the META.yml file. - Now reads per-action default options from '$ENV{HOME}/.modulebuildrc' - if it exists. Commandline options override anything set in the rc file. + if it exists. Command line options override anything set in the rc file. - Extend prerequisite specifications to apply to all actions. It is now a fatal error if 'requires' or 'conflicts' for a given action are not satisfied, except where necessary for backwards compatability. - Also, added options to ignore the fatal errors. + Also, added '--force' options to ignore the fatal errors. (NOTE: + this is a somewhat experimental feature, we may morph this around a + bit before final release!) + + - The creation of Unix man pages is no longer a strict necessity - it + has now been turned into an 'auto-feature' contingent on the + presence of Pod::Man and a location specified for man pages to go. + + - A user-specified 'install_path' setting will now take precedence + over an 'install_base' setting. This allows the user to use + 'install_base' to set the base for all elements in one go, and then + use 'install_path' to override specific paths or add paths for + additional kinds of targets. + + - Split the main documentation from 'Module/Build.pm' into two + sections. The user level documentation and overview remains in + 'Module/Build.pm', while a new document, + 'Module/Build/Authoring.pod', has been created for module authors. + + Minor changes: - new_from_context() was losing its arguments in some cases (and not - because of inadequate training in debate) - we now pass its + because of inadequate training in forensic debate) - we now pass its arguments directly to the Build.PL script rather than merging them in afterwards. @@ -32,29 +65,18 @@ to behave more like factory methods returning objects of the correct class based on context. [Ray Zimmerman] - - M::B::ModuleInfo would not read the $VERSION in the assumed package - 'main' of a script unless the $VERSION line was the first non-empty - line in the script. [David Wheeler] + - Refactored methods relating to parsing perl module files for + package, version, and pod data into a new class: + Module::Build::ModuleInfo. It should not be considered part of + Module::Build's API, because we may split it out entirely as a + separate CPAN module that we depend on. - Added new method Module::Build::prepare_metadata() for authors to override in order to add custom fields to META.yml. - - Refactored methods relating to parsing perl module files for package, - version, and pod data into a new class: Module::Build::ModuleInfo. - - We now use Test::More for our regression tests. If the user doesn't have it installed, we include a copy in t/lib/ that we can - use during testing (it won't be installed). - - - Split documentation into two sections. The user level documentation - and overview remains in 'Module/Build.pm', while a new document, - 'Module/Build/Authoring.pod', has been created for module authors. - - - The creation of Unix man pages is no longer a strict necessity - it - has now been turned into an 'auto-feature' contingent on the - presence of Pod::Man, and when distributions are being built we - skip building man pages when there's no location specified for them - to go. + use during testing. - When copying files in the 'distdir' action, set permissions to match the original files. [Julian Mehnle] @@ -68,21 +90,9 @@ (or in whatever paradigm the user originally invoked Module::Build from). [David Wheeler] - - A user-specified 'install_path' setting will now take precedence - over an 'install_base' setting. This allows the user to use - 'install_base' to set the base for all elements in one go, and then - use 'install_path' to override specific paths or add paths for - additional kinds of targets. - - Added the current_action() method, which, surprisingly, returns the name of the currently running action. [David Wheeler] - * When using the 'install_base' option to choose a directory for - installing everything, perl modules now go into lib/perl5/ instead - of just lib/. It seems this is more consistent with people's - expectations, and the way I had it before was a bit peculiar to the - way I like things in my own home directory. [Michael Schwern] - - Added docs for run_perl_script(). - Added some stuff to the docs about why PREFIX is unsupported, and @@ -128,10 +138,6 @@ version, but it's safer to make sure we're using the same perl everywhere. - - When the user is using the 'install_base' option, scripts will now - be installed by default in $install_base/bin/ rather than - $install_base/script/ . [Jan Hudec and Michael Schwern] - 0.2610 Fri Apr 15 08:25:01 CDT 2005 - new_from_context() was losing its arguments in some cases (and not |
|
From: Ken W. <kwi...@us...> - 2005-04-16 02:01:39
|
Update of /cvsroot/module-build/Module-Build/lib/Module In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30690/lib/Module Modified Files: Build.pm Log Message: Some minor text editing Index: Build.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build.pm,v retrieving revision 1.180 retrieving revision 1.181 diff -u -d -r1.180 -r1.181 --- Build.pm 14 Apr 2005 15:35:21 -0000 1.180 +++ Build.pm 16 Apr 2005 02:01:29 -0000 1.181 @@ -491,25 +491,25 @@ =head2 Default Commandline Options (F<.modulebuildrc>) -When Module::Build starts up it will look for a file, -F<$ENV{HOME}/.modulebuildrc>. If the file exists it will use the -options specified there as defaults, as if they were typed on the -commandline. The defaults can be overridden by specifying new values -on the commandline. +When Module::Build starts up, it will look for a file, +F<$ENV{HOME}/.modulebuildrc>. If the file exists, the options +specified there will be used as defaults, as if they were typed on the +command line. The defaults can be overridden by specifying new values +on the command line. -The action name must come at the beginning of the line followed by any +The action name must come at the beginning of the line, followed by any amount of whitespace and then the options. Options are given the same -as they would be on the commandline. They can be seperated by any -amount of whitespace, including newlines as long there is a space at -the beginning of the continued line. Any thing following a hash mark +as they would be on the commandline. They can be separated by any +amount of whitespace, including newlines, as long there is whitespace at +the beginning of each continued line. Anything following a hash mark (C<#>) is considered a comment, and is stripped before parsing. If more than one line begins with the same action name, those lines are merged into -one commandline. +one set of options. -Besides the regular actions, there are two special options. You can -use the action name '*' (asterisk) for any global options that should -be applied to all actions. And there is the 'Build_PL' action which -specifies options to be applied when you invoke C<perl Build.PL>. +Besides the regular actions, there are two special pseudo-actions: the +key C<*> (asterisk) denotes any global options that should be applied +to all actions, and the key 'Build_PL' specifies options to be applied +when you invoke C<perl Build.PL>. * verbose=1 # global options diff flags=-u |
|
From: Ken W. <kwi...@us...> - 2005-04-16 01:21:27
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11577 Modified Files: Changes Log Message: Integrate change descriptions from bugfix branch Index: Changes =================================================================== RCS file: /cvsroot/module-build/Module-Build/Changes,v retrieving revision 1.337 retrieving revision 1.338 diff -u -d -r1.337 -r1.338 --- Changes 14 Apr 2005 00:43:40 -0000 1.337 +++ Changes 16 Apr 2005 01:21:11 -0000 1.338 @@ -132,7 +132,111 @@ be installed by default in $install_base/bin/ rather than $install_base/script/ . [Jan Hudec and Michael Schwern] -0.2605 +0.2610 Fri Apr 15 08:25:01 CDT 2005 + + - new_from_context() was losing its arguments in some cases (and not + because of inadequate training in debate) - we now pass its + arguments directly to the Build.PL script rather than merging them + in afterwards. [Ray Zimmerman] + + - Fixed a bug in which config_data and feature data were being + forgotten and no ConfigData.pm module would get written. [Ray + Zimmerman] + + - Added a recipe to the cookbook showing how to run a single test + file from the command line. [William McKee] + + - For command-line arguments, we now accept the syntax "--foo=bar" in + addition to "--foo bar" and "foo=bar". This seems to fit well with + what GNU getopt and Getopt::Long do, and with people's + expectations. [Adam Spiers] + +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 + converted to html during subsequent invokations. We now are more + specific about the directories we scan for pod that needs to be + converted, effectively avoiding blib/html. [Ray Zimmerman] + + - 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 + ./Build'. This can lead to some other modules (maybe + Test::Harness, maybe IO::File, I dunno...) getting very confused + about where they are, and they try to load stuff from the wrong + perl lib, and big trouble ensues. To fix this, we now set $^X to + the value of Module::Build->find_perl_interpreter(). + + - 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] + + - 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 + 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. + + - Tilde-expansion is now performed on arguments passed to a + compatibility-Makefile.PL [Spotted by Sam Vilain] + + - We now run the 'gzip' and 'tar' values through split_like_shell() + when running the 'dist' action, so that e.g. the 'gzip' value can + be set to something like "gzip -f --best" and it'll work + correctly. [Spotted by Chris Dolan] + + - Work around some bad mojo between Fedora Core [with its very long + @INC] and old versions of Test::Harness [with its propensity to + compound the number of @INC entries] that produced an "argument + list too long" error during testing. [assisted by Ville Skytta, + David Golden, & Randy Sims] + + - Killed an infinite loop that would happen in y_n() in interactive + mode if the author provided no default value. [Max Maischein] + +0.2607 (Bug fix release in 0.26 series) Sat Dec 18 14:14:09 CST 2004 + + - Instead of freezing @INC in the 'Build' script to the value it had + when Build.PL was run, we now just add those additional values that + aren't part of the default compiled-in @INC. [Michael Schwern] + + - The run_perl_script() method will now propagate any extra entries + in @INC (such as those added by "use lib" or the -I command-line + switch) to the subprocess. This helps situations in which you want + to tell the subprocess where to find a certain module, for + instance. [Michael Schwern] + +0.2606 (Bug fix release in 0.26 series) Tue Dec 7 22:33:11 CST 2004 + + - Fixed a linking bug on Win32, in which compiled C code object files + never got linked in with the modules being built. [Dominic + Mitchell] + + - Fixed a bug in the new_from_context() method in which any arguments + passed made us die. [Spotted by Jos Boumans] + +0.2605 (Bug fix release in 0.26 series) Tue Nov 30 07:16:13 CST 2004 - Fixed a bug in which zero-length arguments for hash-valued parameters (e.g. " --config foo= ") weren't being allowed. @@ -140,7 +244,9 @@ - The tests now play better with environments in which version.pm is pre-loaded, like in bleadperl. [John Peacock & Michael Schwern] -0.2604 Wed Nov 17 14:32:42 CST 2004 + - Fixed a syntax error in one of the tests under perl 5.005. + +0.2604 (Bug fix release in 0.26 series) Wed Nov 17 14:32:42 CST 2004 - Fixed a split_like_shell() bug introduced in 0.2603 for Windows, in which an array reference passed as an argument was returned as an @@ -154,14 +260,14 @@ which sometimes gets automatically created on Mac systems) when 'recursive_test_files' is in effect. [Tom Insam] -0.2603 (Bug fix for 0.26) Mon Nov 15 10:28:00 CST 2004 +0.2603 (Bug fix release in 0.26 series) Mon Nov 15 10:28:00 CST 2004 - Added documentation for the new_from_context() method. - Completely rewrote the split_like_shell() method for the Windows platform so it works like the command.com shell. [Randy Sims] -0.2602 (Bug fix for 0.26) Thu Nov 4 11:19:29 CST 2004 +0.2602 (Bug fix release in 0.26 series) Thu Nov 4 11:19:29 CST 2004 - The two bug fixes in 0.2601 gnashed against each other incorrectly, resulting in a Win32 bug in split_like_shell(). Fixed. [Spotted @@ -171,7 +277,7 @@ were causing compile failures on 5.005_04, where warnings.pm isn't available. [Blair Zajac] -0.2601 (Bug fix for 0.26) Wed Nov 3 20:09:27 CST 2004 +0.2601 (Bug fix release in 0.26 series) Wed Nov 3 20:09:27 CST 2004 - Fixed some backslash problems with split_like_shell() on Win32. [Steve Hay] |
|
From: Ken W. <kwi...@us...> - 2005-04-15 23:28:55
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23772 Modified Files: MANIFEST MANIFEST.SKIP Log Message: Remove unwanted file Index: MANIFEST =================================================================== RCS file: /cvsroot/module-build/Module-Build/MANIFEST,v retrieving revision 1.41 retrieving revision 1.42 diff -u -d -r1.41 -r1.42 --- MANIFEST 14 Apr 2005 15:35:11 -0000 1.41 +++ MANIFEST 15 Apr 2005 23:28:46 -0000 1.42 @@ -49,7 +49,6 @@ t/pod_parser.t t/runthrough.t t/Sample/bin/sample.pl -t/Sample/Build t/Sample/Build.PL t/Sample/lib/Sample.pm t/Sample/lib/Sample/Docs.pod Index: MANIFEST.SKIP =================================================================== RCS file: /cvsroot/module-build/Module-Build/MANIFEST.SKIP,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- MANIFEST.SKIP 14 Apr 2005 15:35:11 -0000 1.18 +++ MANIFEST.SKIP 15 Apr 2005 23:28:47 -0000 1.19 @@ -12,9 +12,8 @@ ^patch ^Module- ^t/_ -^t/Sample/save_out$ +^t/Sample/(save_out|SIGNATURE|Build)$ ^t/Sample/_build -^t/Sample/SIGNATURE (^|/)\. Makefile$ /cover_db/ |
|
From: Ken W. <kwi...@us...> - 2005-04-15 22:59:14
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9042/lib/Module/Build Modified Files: Base.pm Notes.pm Log Message: Fix a weird error with ConfigNotes under perl 5.005 Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.413 retrieving revision 1.414 diff -u -d -r1.413 -r1.414 --- Base.pm 14 Apr 2005 02:49:02 -0000 1.413 +++ Base.pm 15 Apr 2005 22:59:00 -0000 1.414 @@ -1774,7 +1774,6 @@ } else { require Module::Build::ConfigData; } - if (Module::Build::ConfigData->feature('manpage_support')) { $self->manify_bin_pods() if $self->install_destination('bindoc'); $self->manify_lib_pods() if $self->install_destination('libdoc'); Index: Notes.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Notes.pm,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Notes.pm 13 Apr 2005 01:46:59 -0000 1.5 +++ Notes.pm 15 Apr 2005 22:59:05 -0000 1.6 @@ -152,14 +152,22 @@ sub feature { my ($package, $key) = @_; return $features->{$key} if exists $features->{$key}; - - my $info = $auto_features->{$key} or return; + + my $info = $auto_features->{$key} or return 0; + + # Under perl 5.005, each(%%$foo) isn't working correctly when $foo + # was reanimated with Data::Dumper and eval(). Not sure why, but + # copying to a new hash seems to solve it. + my %%info = %%$info; + require Module::Build; # XXX should get rid of this - while (my ($type, $prereqs) = each %%$info) { + while (my ($type, $prereqs) = each %%info) { next if $type eq 'description'; - while (my ($modname, $spec) = each %%$prereqs) { + + my %%p = %%$prereqs; # Ditto here. + while (my ($modname, $spec) = each %%p) { my $status = Module::Build->check_installed_status($modname, $spec); - if (!$status->{ok} xor $type =~ /conflicts$/) { return 0; } + if ((!$status->{ok}) xor ($type =~ /conflicts$/)) { return 0; } } } return 1; |
|
From: Ken W. <kwi...@us...> - 2005-04-15 13:25:43
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23431 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.45 retrieving revision 1.299.2.46 diff -u -d -r1.299.2.45 -r1.299.2.46 --- Changes 14 Apr 2005 03:08:28 -0000 1.299.2.45 +++ Changes 15 Apr 2005 13:25:34 -0000 1.299.2.46 @@ -1,6 +1,6 @@ Revision history for Perl extension Module::Build. -0.2610 Wed Apr 13 22:05:50 CDT 2005 +0.2610 Fri Apr 15 08:25:01 CDT 2005 - new_from_context() was losing its arguments in some cases (and not because of inadequate training in debate) - we now pass its |
|
From: Ken W. <kwi...@us...> - 2005-04-15 03:11:08
|
Update of /cvsroot/module-build/Module-Build/t/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2919/t/lib Modified Files: DistGen.pm Log Message: remove our() constructs for 5.005 compatibility Index: DistGen.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/lib/DistGen.pm,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- DistGen.pm 14 Apr 2005 16:09:11 -0000 1.2 +++ DistGen.pm 15 Apr 2005 03:10:54 -0000 1.3 @@ -59,7 +59,7 @@ $self->add_file( $module_filename, <<"---" ) unless $self->{filedata}{$module_filename}; package $self->{name}; -our \$VERSION = '0.01'; +\$VERSION = '0.01'; use strict; use warnings; |
|
From: Ken W. <kwi...@us...> - 2005-04-15 03:11:04
|
Update of /cvsroot/module-build/Module-Build/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2919/t Modified Files: moduleinfo.t Log Message: remove our() constructs for 5.005 compatibility Index: moduleinfo.t =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/moduleinfo.t,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- moduleinfo.t 14 Apr 2005 17:07:29 -0000 1.4 +++ moduleinfo.t 15 Apr 2005 03:10:53 -0000 1.5 @@ -76,15 +76,15 @@ --- <<'---', # choose the right default package based on package/file name package Simple::_private; -our $VERSION = '0'; +$VERSION = '0'; 1; package Simple; -our $VERSION = '1.23'; # this should be chosen for version +$VERSION = '1.23'; # this should be chosen for version 1; --- <<'---', # just read the first $VERSION line package Simple; -our $VERSION = '1.23'; # we should see this line +$VERSION = '1.23'; # we should see this line $VERSION = eval $VERSION; # and ignore this one 1; --- @@ -92,11 +92,15 @@ $dist = DistGen->new(); foreach my $module ( @modules ) { - $dist->change_file( 'lib/Simple.pm', $module ); - $dist->regen( clean => 1 ); - $file = File::Spec->catfile( $dist->dirname, 'lib', 'Simple.pm' ); - my $pm_info = Module::Build::ModuleInfo->new_from_file( $file ); - is( $pm_info->version, '1.23' ); + SKIP: { + skip "No our() support until perl 5.6", 1 if $] < 5.006 && $module =~ /\bour\b/; + + $dist->change_file( 'lib/Simple.pm', $module ); + $dist->regen( clean => 1 ); + $file = File::Spec->catfile( $dist->dirname, 'lib', 'Simple.pm' ); + my $pm_info = Module::Build::ModuleInfo->new_from_file( $file ); + is( $pm_info->version, '1.23' ); + } } $dist->remove(); @@ -106,42 +110,42 @@ <<'---', # package main declared #!perl -w package main; -our $VERSION = '0.01'; +$VERSION = '0.01'; --- <<'---', # on first non-comment line, non declared package main #!perl -w -our $VERSION = '0.01'; +$VERSION = '0.01'; --- <<'---', # after non-comment line #!perl -w use strict; -our $VERSION = '0.01'; +$VERSION = '0.01'; --- <<'---', # 1st declared package #!perl -w package main; -our $VERSION = '0.01'; +$VERSION = '0.01'; package _private; -our $VERSION = '999'; +$VERSION = '999'; 1; --- <<'---', # 2nd declared package #!perl -w package _private; -our $VERSION = '999'; +$VERSION = '999'; 1; package main; -our $VERSION = '0.01'; +$VERSION = '0.01'; --- <<'---', # split package #!perl -w package main; 1; package _private; -our $VERSION = '999'; +$VERSION = '999'; 1; package main; -our $VERSION = '0.01'; +$VERSION = '0.01'; 1; --- ); @@ -159,10 +163,10 @@ # examine properties of a module: name, pod, etc $dist->change_file( 'lib/Simple.pm', <<'---' ); package Simple; -our $VERSION = '0.01'; +$VERSION = '0.01'; 1; package Simple::Ex; -our $VERSION = '0.02'; +$VERSION = '0.02'; 1; =head1 NAME |
|
From: Ken W. <kwi...@us...> - 2005-04-15 02:36:39
|
Update of /cvsroot/module-build/Module-Build/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16479/t Modified Files: Tag: release-0_26_branch runthrough.t Log Message: Eliminate some undef-var warnings that happen under old Test.pm's Index: runthrough.t =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/runthrough.t,v retrieving revision 1.45.2.4 retrieving revision 1.45.2.5 diff -u -d -r1.45.2.4 -r1.45.2.5 --- runthrough.t 7 Jan 2005 02:17:42 -0000 1.45.2.4 +++ runthrough.t 15 Apr 2005 02:36:28 -0000 1.45.2.5 @@ -140,6 +140,6 @@ eval {$build->dispatch('realclean')}; ok $@, ''; -ok -e $build->build_script, undef; -ok -e $build->config_dir, undef; -ok -e $build->dist_dir, undef; +ok !-e $build->build_script, 1; +ok !-e $build->config_dir, 1; +ok !-e $build->dist_dir, 1; |
|
From: Ken W. <kwi...@us...> - 2005-04-15 02:34:15
|
Update of /cvsroot/module-build/Module-Build/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14722 Modified Files: Tag: release-0_26_branch compat.t Log Message: Eliminate some undef-var warnings that happen under old Test.pm's Index: compat.t =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/compat.t,v retrieving revision 1.17.2.5 retrieving revision 1.17.2.6 diff -u -d -r1.17.2.5 -r1.17.2.6 --- compat.t 24 Jan 2005 03:37:10 -0000 1.17.2.5 +++ compat.t 15 Apr 2005 02:34:06 -0000 1.17.2.6 @@ -37,7 +37,7 @@ foreach my $type (@makefile_types) { Module::Build::Compat->create_makefile_pl($type, $build); - test_makefile_creation($build); + test_makefile_creation($build); # 2 tests ok $build->do_system(@make); @@ -47,15 +47,15 @@ $success = $build->do_system(@make, 'test'); } ); ok $success; - ok uc $output, qr{DONE\.|SUCCESS}; + ok uc $output, qr{DONE\.|SUCCESS}, "Make sure 'make test' ran"; ok $build->do_system(@make, 'realclean'); # Try again with some Makefile.PL arguments - test_makefile_creation($build, [], 'INSTALLDIRS=vendor', 1); + test_makefile_creation($build, [], 'INSTALLDIRS=vendor', 1); # 3 tests 1 while unlink 'Makefile.PL'; - ok -e 'Makefile.PL', undef; + ok !-e 'Makefile.PL', 1; } { @@ -64,7 +64,7 @@ my $warning = ''; local $SIG{__WARN__} = sub { $warning = shift; }; my $maketext = eval { Module::Build::Compat->fake_makefile(makefile => 'Makefile') }; - ok $@, ''; + ok $@, '', "Make sure we can create a makefile"; ok $maketext, qr/^realclean/m; ok $warning, qr/build_class/; } @@ -137,13 +137,13 @@ $build->delete_filetree($libdir); - ok -e $libdir, undef, "Sample installation directory should be cleaned up"; + ok !-e $libdir, 1, "Sample installation directory should be cleaned up"; $build->do_system(@make, 'realclean'); - ok -e 'Makefile', undef, "Makefile shouldn't exist"; + ok !-e 'Makefile', 1, "Makefile shouldn't exist"; 1 while unlink 'Makefile.PL'; - ok -e 'Makefile.PL', undef; + ok !-e 'Makefile.PL', 1; } { # Make sure tilde-expansion works @@ -173,6 +173,6 @@ if ($cleanup) { $build->do_system(@make, 'realclean'); - ok -e 'Makefile', undef, "Makefile shouldn't exist"; + ok !-e 'Makefile', 1, "Makefile shouldn't exist"; } } |
|
From: Ken W. <kwi...@us...> - 2005-04-14 22:26:44
|
Update of /cvsroot/module-build/Module-Build/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19521/t Modified Files: Tag: release-0_26_branch manifypods.t Log Message: Make sure Pod::Man is installed or these tests will fail Index: manifypods.t =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/manifypods.t,v retrieving revision 1.8 retrieving revision 1.8.2.1 diff -u -d -r1.8 -r1.8.2.1 --- manifypods.t 21 Jan 2004 04:49:57 -0000 1.8 +++ manifypods.t 14 Apr 2005 22:26:35 -0000 1.8.2.1 @@ -3,10 +3,16 @@ use strict; use File::Spec; +use Test; +BEGIN { + my $common_pl = File::Spec->catfile('t', 'common.pl'); + require $common_pl; +} + use File::Path qw( rmtree ); -use Test; -BEGIN { plan tests => 21 } +need_module('Pod::Man'); +plan tests => 21; use Module::Build; |
|
From: Ken W. <kwi...@us...> - 2005-04-14 17:07:39
|
Update of /cvsroot/module-build/Module-Build/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2295/t Modified Files: moduleinfo.t Log Message: Use Test::More, because we'll want to skip a few tests under 5.005 Index: moduleinfo.t =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/moduleinfo.t,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- moduleinfo.t 20 Feb 2005 10:14:39 -0000 1.3 +++ moduleinfo.t 14 Apr 2005 17:07:29 -0000 1.4 @@ -1,6 +1,13 @@ use strict; -use Test; + +use File::Spec; +BEGIN { + my $common_pl = File::Spec->catfile('t', 'common.pl'); + require $common_pl; +} + +use Test::More; BEGIN { plan tests => 27; @@ -9,7 +16,6 @@ push( @INC, 'lib' ); require DistGen; - require File::Spec; } use Module::Build::ModuleInfo; @@ -90,7 +96,7 @@ $dist->regen( clean => 1 ); $file = File::Spec->catfile( $dist->dirname, 'lib', 'Simple.pm' ); my $pm_info = Module::Build::ModuleInfo->new_from_file( $file ); - ok( $pm_info->version eq '1.23' ); + is( $pm_info->version, '1.23' ); } $dist->remove(); @@ -173,25 +179,25 @@ $pm_info = Module::Build::ModuleInfo->new_from_module( 'Simple', inc => [ $inc, @INC ] ); -ok( $pm_info->name() eq 'Simple' ); +is( $pm_info->name(), 'Simple' ); -ok( $pm_info->version() eq '0.01' ); +is( $pm_info->version(), '0.01' ); # got correct version for secondary package -ok( $pm_info->version( 'Simple::Ex' ) eq '0.02' ); +is( $pm_info->version( 'Simple::Ex' ), '0.02' ); my $filename = $pm_info->filename(); ok( defined( $filename ) && length( $filename ) ); my @packages = $pm_info->packages_inside(); -ok( scalar( @packages ) == 2 ); -ok( $packages[0] eq 'Simple' ); +is( @packages, 2 ); +is( $packages[0], 'Simple' ); # we can detect presence of pod regardless of whether we are collecting it ok( $pm_info->contains_pod() ); my @pod = $pm_info->pod_inside(); -ok( "@pod" eq 'NAME AUTHOR' ); +is_deeply( \@pod, [qw(NAME AUTHOR)] ); # no pod is collected my $name = $pm_info->pod('NAME'); @@ -207,7 +213,7 @@ $name =~ s/^\s+//; $name =~ s/\s+$//; } -ok( $name eq q|Simple - It's easy.| ); +is( $name, q|Simple - It's easy.| ); |
|
From: Ken W. <kwi...@us...> - 2005-04-14 16:58:36
|
Update of /cvsroot/module-build/Module-Build/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30777/t Modified Files: extend.t Log Message: Need to load Test::More from t/lib/ Index: extend.t =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/extend.t,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- extend.t 10 Apr 2005 17:46:46 -0000 1.12 +++ extend.t 14 Apr 2005 16:58:22 -0000 1.13 @@ -1,6 +1,11 @@ use strict; # Tests various ways to extend Module::Build, e.g. by subclassing. +use File::Spec; +BEGIN { + my $common_pl = File::Spec->catfile('t', 'common.pl'); + require $common_pl; +} use Test::More tests => 50; use Module::Build; |
|
From: Ken W. <kwi...@us...> - 2005-04-14 16:09:23
|
Update of /cvsroot/module-build/Module-Build/t/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5040/t/lib Modified Files: DistGen.pm Log Message: Remove some 5.6-isms for 5.005 compatibility Index: DistGen.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/lib/DistGen.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- DistGen.pm 20 Feb 2005 10:12:58 -0000 1.1 +++ DistGen.pm 14 Apr 2005 16:09:11 -0000 1.2 @@ -1,7 +1,6 @@ package DistGen; use strict; -use warnings; use vars qw( $VERSION $VERBOSE ); @@ -14,7 +13,7 @@ use File::Find (); use File::Path (); use File::Spec (); - +use IO::File (); sub new { my $package = shift; @@ -131,7 +130,7 @@ my $self = shift; my $manifest = shift; - open( my $fh, ">$manifest" ) or do { + my $fh = IO::File->new( ">$manifest" ) or do { $self->remove(); die "Can't write '$manifest'\n"; }; @@ -198,7 +197,7 @@ unlink( $fullname ) or die "Can't unlink '$file'\n"; } - open( my $fh, ">$fullname" ) or do { + my $fh = IO::File->new(">$fullname") or do { $self->remove(); die "Can't write '$fullname'\n"; }; |
|
From: Ken W. <kwi...@us...> - 2005-04-14 16:09:23
|
Update of /cvsroot/module-build/Module-Build/t/Sample/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5040/t/Sample/lib Modified Files: Sample.pm Log Message: Remove some 5.6-isms for 5.005 compatibility Index: Sample.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/Sample/lib/Sample.pm,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Sample.pm 7 Jan 2005 11:09:10 -0000 1.4 +++ Sample.pm 14 Apr 2005 16:09:11 -0000 1.5 @@ -33,6 +33,6 @@ package Sample::Ex; -our $VERSION = 0.02; +$VERSION = 0.02; 1; |
|
From: Ken W. <kwi...@us...> - 2005-04-14 15:35:32
|
Update of /cvsroot/module-build/Module-Build/lib/Module In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17853/lib/Module Modified Files: Build.pm Log Message: Version bump Index: Build.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build.pm,v retrieving revision 1.179 retrieving revision 1.180 diff -u -d -r1.179 -r1.180 --- Build.pm 14 Apr 2005 02:49:00 -0000 1.179 +++ Build.pm 14 Apr 2005 15:35:21 -0000 1.180 @@ -15,7 +15,7 @@ use vars qw($VERSION @ISA); @ISA = qw(Module::Build::Base); -$VERSION = '0.26'; +$VERSION = '0.27_01'; $VERSION = eval $VERSION; # Okay, this is the brute-force method of finding out what kind of |
|
From: Ken W. <kwi...@us...> - 2005-04-14 15:35:21
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17703 Modified Files: MANIFEST MANIFEST.SKIP Log Message: Some MANIFEST bookkeeppiing Index: MANIFEST =================================================================== RCS file: /cvsroot/module-build/Module-Build/MANIFEST,v retrieving revision 1.40 retrieving revision 1.41 diff -u -d -r1.40 -r1.41 --- MANIFEST 7 Feb 2005 21:10:10 -0000 1.40 +++ MANIFEST 14 Apr 2005 15:35:11 -0000 1.41 @@ -8,6 +8,7 @@ lib/Module/Build/Compat.pm lib/Module/Build/Cookbook.pm lib/Module/Build/ModuleInfo.pm +lib/Module/Build/Notes.pm lib/Module/Build/Platform/aix.pm lib/Module/Build/Platform/Amiga.pm lib/Module/Build/Platform/cygwin.pm @@ -36,6 +37,7 @@ t/extend.t t/files.t t/install.t +t/lib/DistGen.pm t/lib/ModuleBuildOne.pm t/lib/Test/Builder.pm t/lib/Test/More.pm @@ -47,6 +49,7 @@ t/pod_parser.t t/runthrough.t t/Sample/bin/sample.pl +t/Sample/Build t/Sample/Build.PL t/Sample/lib/Sample.pm t/Sample/lib/Sample/Docs.pod Index: MANIFEST.SKIP =================================================================== RCS file: /cvsroot/module-build/Module-Build/MANIFEST.SKIP,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- MANIFEST.SKIP 17 Nov 2004 20:25:22 -0000 1.17 +++ MANIFEST.SKIP 14 Apr 2005 15:35:11 -0000 1.18 @@ -13,6 +13,7 @@ ^Module- ^t/_ ^t/Sample/save_out$ +^t/Sample/_build ^t/Sample/SIGNATURE (^|/)\. Makefile$ |
|
From: Ken W. <kwi...@us...> - 2005-04-14 03:08:55
|
Update of /cvsroot/module-build/Module-Build/lib/Module In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18225/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.14 retrieving revision 1.164.2.15 diff -u -d -r1.164.2.14 -r1.164.2.15 --- Build.pm 24 Mar 2005 00:04:40 -0000 1.164.2.14 +++ Build.pm 14 Apr 2005 03:08:29 -0000 1.164.2.15 @@ -15,7 +15,7 @@ use vars qw($VERSION @ISA); @ISA = qw(Module::Build::Base); -$VERSION = '0.2609'; +$VERSION = '0.2610'; $VERSION = eval $VERSION; # Okay, this is the brute-force method of finding out what kind of |
|
From: Ken W. <kwi...@us...> - 2005-04-14 03:08:39
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18225 Modified Files: Tag: release-0_26_branch Changes Log Message: Version bump Index: Changes =================================================================== RCS file: /cvsroot/module-build/Module-Build/Changes,v retrieving revision 1.299.2.44 retrieving revision 1.299.2.45 diff -u -d -r1.299.2.44 -r1.299.2.45 --- Changes 23 Mar 2005 01:26:22 -0000 1.299.2.44 +++ Changes 14 Apr 2005 03:08:28 -0000 1.299.2.45 @@ -1,6 +1,6 @@ Revision history for Perl extension Module::Build. -0.2610 +0.2610 Wed Apr 13 22:05:50 CDT 2005 - new_from_context() was losing its arguments in some cases (and not because of inadequate training in debate) - we now pass its |
|
From: Ken W. <kwi...@us...> - 2005-04-14 02:49:40
|
Update of /cvsroot/module-build/Module-Build/lib/Module In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8405/lib/Module Modified Files: Build.pm Log Message: Add copyright & license statements Index: Build.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build.pm,v retrieving revision 1.178 retrieving revision 1.179 diff -u -d -r1.178 -r1.179 --- Build.pm 6 Apr 2005 20:36:27 -0000 1.178 +++ Build.pm 14 Apr 2005 02:49:00 -0000 1.179 @@ -870,6 +870,13 @@ details of how to access it. +=head1 COPYRIGHT + +Copyright (c) 2001-2005 Ken Williams. All rights reserved. + +This library is free software; you can redistribute it and/or +modify it under the same terms as Perl itself. + =head1 SEE ALSO perl(1), Module::Build::Cookbook(3), Module::Build::Authoring(3), |
|
From: Ken W. <kwi...@us...> - 2005-04-14 02:49:23
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8405/lib/Module/Build Modified Files: Base.pm Compat.pm Cookbook.pm PPMMaker.pm Log Message: Add copyright & license statements Index: Compat.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Compat.pm,v retrieving revision 1.60 retrieving revision 1.61 diff -u -d -r1.60 -r1.61 --- Compat.pm 7 Jan 2005 10:15:53 -0000 1.60 +++ Compat.pm 14 Apr 2005 02:49:12 -0000 1.61 @@ -404,6 +404,13 @@ Ken Williams, ke...@ma... +=head1 COPYRIGHT + +Copyright (c) 2001-2005 Ken Williams. All rights reserved. + +This library is free software; you can redistribute it and/or +modify it under the same terms as Perl itself. + =head1 SEE ALSO Module::Build(3), ExtUtils::MakeMaker(3) Index: Cookbook.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Cookbook.pm,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- Cookbook.pm 21 Mar 2005 17:36:26 -0000 1.13 +++ Cookbook.pm 14 Apr 2005 02:49:12 -0000 1.14 @@ -281,6 +281,13 @@ Ken Williams, ke...@ma... +=head1 COPYRIGHT + +Copyright (c) 2001-2005 Ken Williams. All rights reserved. + +This library is free software; you can redistribute it and/or +modify it under the same terms as Perl itself. + =head1 SEE ALSO perl(1), Module::Build(3) Index: PPMMaker.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/PPMMaker.pm,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- PPMMaker.pm 28 Apr 2004 19:07:59 -0000 1.8 +++ PPMMaker.pm 14 Apr 2005 02:49:12 -0000 1.9 @@ -171,6 +171,13 @@ Dave Rolsky <au...@ur...>, Ken Williams <ke...@ma...> +=head1 COPYRIGHT + +Copyright (c) 2001-2005 Ken Williams. All rights reserved. + +This library is free software; you can redistribute it and/or +modify it under the same terms as Perl itself. + =head1 SEE ALSO perl(1), Module::Build(3) Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.412 retrieving revision 1.413 diff -u -d -r1.412 -r1.413 --- Base.pm 13 Apr 2005 01:46:58 -0000 1.412 +++ Base.pm 14 Apr 2005 02:49:02 -0000 1.413 @@ -2892,6 +2892,13 @@ Ken Williams, ke...@ma... +=head1 COPYRIGHT + +Copyright (c) 2001-2005 Ken Williams. All rights reserved. + +This library is free software; you can redistribute it and/or +modify it under the same terms as Perl itself. + =head1 SEE ALSO perl(1), Module::Build(3) |
|
From: Ken W. <kwi...@us...> - 2005-04-14 00:43:53
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10262 Modified Files: Changes Log Message: Index: Changes =================================================================== RCS file: /cvsroot/module-build/Module-Build/Changes,v retrieving revision 1.336 retrieving revision 1.337 diff -u -d -r1.336 -r1.337 --- Changes 10 Apr 2005 17:46:45 -0000 1.336 +++ Changes 14 Apr 2005 00:43:40 -0000 1.337 @@ -3,6 +3,13 @@ 0.27_01 (Beta for 0.28) + - The auto_features mechanism will now re-evaluate dependencies every + time feature() is called for an auto-feature, rather than freezing + the success/failure value during 'perl Build.PL' and using that + value for all eternity (or module update, whichever comes first). + This applies to both $build->feature() and + FooModule::ConfigData->feature() calls. [Requested by many] + - Added the meta_add and meta_merge mechanisms, which let the module author add/merge arbitrary entries into the META.yml file. |
|
From: Ken W. <kwi...@us...> - 2005-04-13 01:47:11
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21009/lib/Module/Build Modified Files: Base.pm Notes.pm Log Message: Implement dynamic auto_features. Currently relies on M::B being installed, which it shouldn't. Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.411 retrieving revision 1.412 diff -u -d -r1.411 -r1.412 --- Base.pm 12 Apr 2005 18:57:47 -0000 1.411 +++ Base.pm 13 Apr 2005 01:46:58 -0000 1.412 @@ -363,7 +363,7 @@ module => $module_name, config_module => $notes_name, config_data => scalar $self->config_data, - feature => scalar $self->features, + feature => scalar $self->{phash}{features}->access(), auto_features => scalar $self->auto_features, ); } Index: Notes.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Notes.pm,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Notes.pm 12 Apr 2005 03:43:10 -0000 1.4 +++ Notes.pm 13 Apr 2005 01:46:59 -0000 1.5 @@ -115,13 +115,12 @@ my $arrayref = eval do {local $/; <DATA>} or die "Couldn't load ConfigData data: $@"; close DATA; -my ($config, $features) = @$arrayref; +my ($config, $features, $auto_features) = @$arrayref; sub config { $config->{$_[1]} } -sub feature { $features->{$_[1]} } sub set_config { $config->{$_[1]} = $_[2] } -sub set_feature { $features->{$_[1]} = 0+!!$_[2] } +sub set_feature { $features->{$_[1]} = 0+!!$_[2] } # Constrain to 1 or 0 sub feature_names { keys %%$features } sub config_names { keys %%$config } @@ -150,6 +149,22 @@ or warn "Couldn't restore permissions on $me: $!"; } +sub feature { + my ($package, $key) = @_; + return $features->{$key} if exists $features->{$key}; + + my $info = $auto_features->{$key} or return; + require Module::Build; # XXX should get rid of this + while (my ($type, $prereqs) = each %%$info) { + next if $type eq 'description'; + while (my ($modname, $spec) = each %%$prereqs) { + my $status = Module::Build->check_installed_status($modname, $spec); + if (!$status->{ok} xor $type =~ /conflicts$/) { return 0; } + } + } + return 1; +} + EOF my ($module_name, $notes_name) = ($args{module}, $args{config_module}); @@ -238,7 +253,7 @@ EOF local $Data::Dumper::Terse = 1; - print $fh Data::Dumper::Dumper([$args{config_data}, $args{feature}]); + print $fh Data::Dumper::Dumper([$args{config_data}, $args{feature}, $args{auto_features}]); } 1; |
|
From: Ken W. <kwi...@us...> - 2005-04-13 01:42:01
|
Update of /cvsroot/module-build/Module-Build/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17844/t Modified Files: install.t Log Message: Oops, left in some debugging code Index: install.t =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/install.t,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- install.t 13 Apr 2005 01:08:20 -0000 1.18 +++ install.t 13 Apr 2005 01:41:25 -0000 1.19 @@ -100,7 +100,6 @@ ok( Sample::ConfigData->feature('baz') ); ok( Sample::ConfigData->feature('auto_foo') ); ok( not Sample::ConfigData->feature('nonexistent') ); -<STDIN>; # Add a new value to the config set Sample::ConfigData->set_config(floo => 'bhlar'); |