On 3/13/07, Paul LeoNerd Evans <[EMAIL PROTECTED]> wrote:
Yes, but doesn't that produce end results that depend on too much..? Locally I build these CPAN dists into real debian packages with dh-make-perl, which knows how to translate build and runtime dependencies into their debian equivalents. If that all got mangled into runtime, surely that would upset that logic?
I think it depends if dh-make-perl uses Module::Build and/or the META.yml file for determining dependencies. Example: You write your Build.PL and specify build_requires and requires. You let Module::Build generate your META.yml and Makefile.PL. ("Build distmeta"). Users or tools that use M::B or META.yml will see the difference between your requires and build_requires. Ones that don't will fall back to EU::MM and just treat everything as a dependency. Try it and see what happens. Just add: create_makefile_pl => 'traditional' to your Build.PL, run "perl Build.PL; Build distmeta". Then try running your dh-make-perl and see what dependencies are identified. David