On 06 Nov 2007, at 16:50, Jos I. Boumans wrote:
> A newer version of CPANPLUS has exposed this glitch in
the
> C: ::Build
test
> suite, and it's already patched in C: ::Build'
s svn.
>
> A patch to core is forthcoming.
And below is the patch. It's already applied to C: ::Build'
s svn tree
$ svk describe r4582
------------------------------------------------------------
----------
r4582: kane | 2007-11-06 13:03:18 +0100
* with cpanplus 0.83_08, dslip information is being
retrieved from any
module defined in the package. Missing dslip info
therefor uses the
module tree, which we are trying to avoid in the test
suite.
So, we define the dslip info explicitly and no module
trees are being
used.
------------------------------------------------------------
----------
===
local/CPANPLUS-Dist-Build/trunk/t/02_CPANPLUS-Dist-Build.t
============================================================
======
---
local/CPANPLUS-Dist-Build/trunk/t/02_CPANPLUS-Dist-Build.t
(revision 4581)
+++
local/CPANPLUS-Dist-Build/trunk/t/02_CPANPLUS-Dist-Build.t
(revision 4582)
 -39,11
+39,15 
### create a fake object, so we don't use the actual
module tree
+### make sure to add dslip data, so CPANPLUS doesn't try to
find
+### it in another module in the package, for which it needs
the
+### module tree
my $Mod = CPANPLUS::Module::Fake->new(
module => 'Foo::Bar',
path => 'src',
author =>
CPANPLUS::Module::Author::Fake->new,
package => 'Foo-Bar-0.01.tar.gz',
+ dslip => 'RdpO?',
);
$Conf->set_conf( base => 'dummy-cpanplus' );
--
Jos Boumans
How do I prove I'm not crazy to people who are?
|