Randy W. Sims wrote:
Stas Bekman wrote:
[...]
A much simpler workaround is to autogenerate a single file which lists
the package name and version for autogenerated packages. e.g.:
DummyFile.pm
------------
package Foo;
$VERSION = 0.01;
package Bar;
$VERSION = 0.01;
...
1;
and include that in the distro. but that's yet another hack.
The really proper solution is to extend META.yml to include a new key:
provides (not there yet:
http://module-build.sourceforge.net/META-spec.html) (CC'ing Randy W.
Sims, the father of META.yml) which should provide an alternative way
to specify which packages + version the distro provides (to handle the
situation when the modules are autogenerated and don't physically
exist in the source distro).
Of course it'll be as usual met with resistance from PAUSE keepers.
And a yet another workaround will be suggested as the only acceptable
solution :(
It's not formally in the spec, but Module::Build does generate a
'provides' section (I don't think MakeMaker does though). See for
example [1]. You can override the proper action/target in either M::B or
EU::MakeMaker to generate the data yourself.
the question is whether it's supported by the PAUSE indexer.
BTW, I'm not "the father of META.yml", that was fathered by Ken Williams
and Michael Schwern, though I've done some work toward extending it and
I'm co-developer of Module::Build which can be considered the home of
META.yml.
OK, then step-daddy :)
1. <http://search.cpan.org/src/KWILLIAMS/Module-Build-0.2607/META.yml>
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]