Hi Kent
On 01/03/16 12:05, Kent Fredric via RT wrote:
Show quoted text
I see, although I no longer get the line #s. I tried various tricks
earlier by selecting Source/Browse raw/not, but nothing displayed them.
Sigh.
Show quoted text> It is no longer in "Runtime requires", sure, but it is still in "Test requires"
>
> Test requires is a child of "the install phase"
>
> Where this dependency should be in $prereqs->{develop}->{requires}, not
> $prereqs->{test}->{requires}
I take it you're referring to this para under META_MERGE:
"
Where prereqs are concerned, if META_MERGE is used, prerequisites are
merged with their counterpart WriteMakefile() argument (PREREQ_PM is
merged into {prereqs}{runtime}{requires}, BUILD_REQUIRES into
{prereqs}{build}{requires}, CONFIGURE_REQUIRES into
{prereqs}{configure}{requires}, and TEST_REQUIRES into
{prereqs}{test}{requires}). When prereqs are specified with META_ADD,
the only prerequisites added to the file come from the metadata, not
WriteMakefile() arguments.
"
Since there is no such thing AFAICT as
"$prereqs->{develop}->{requires}", I assume you're referring to
{prereqs}{build}{requires}.
Now, this is progress! It means I can transfer Test::Pod from
TEST_REQUIRES to BUILD_REQUIRES, right?
Does this satisfy your requirement? If so, I can release another version
ASAP, but is it worth it? Let me know.
It also means I course I'll have to patch all my other Makefiles! But
that can be done as and when they're released. And it's clearly a Good
Idea, so I'll do it.
Show quoted text> Because xt/* may be tests, but they're not "install time tests".
>
> They're "develop time tests"
>
> So you presently have "Required for development" dependencies inside "Required
> to test and install"
>
--
Ron Savage - savage.net.au