[MacPorts] #46247: cpan2port: fix dependency checking

MacPorts noreply at macports.org
Mon Dec 15 09:40:42 PST 2014


#46247: cpan2port: fix dependency checking
---------------------+--------------------------------
 Reporter:  mojca@…  |      Owner:  macports-tickets@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:
---------------------+--------------------------------
 Here is part of `META.yml` from
 `Catalyst::Plugin::Session::Store::Delegate` (version 0.06)
 {{{
 build_requires:
   ExtUtils::MakeMaker: 6.42
   Test::More: 0
   Test::use::ok: 0
 configure_requires:
   ExtUtils::MakeMaker: 6.42
 requires:
   Catalyst::Plugin::Session: 0.27
   MRO::Compat: 0
   Moose: 0
   MooseX::Emulate::Class::Accessor::Fast: 0
   namespace::clean: 0
 }}}

 It generates the following list:
 {{{
     depends_lib-append \
                     port:p${perl5.major}-catalyst-plugin-session \
                     port:p${perl5.major}-moose \
                     port:p${perl5.major}-moosex-emulate-class-accessor-
 fast \
                     port:p${perl5.major}-mro-compat \
                     port:p${perl5.major}-namespace-clean
 }}}

 In particular the dependency `Test::use::ok` is missing. I don't
 understand the code well enough yet to be able to fix it though.

 Can someone please help me?

 See also my (wrong) bug report and answer at:
   * https://rt.cpan.org/Public/Bug/Display.html?id=100930

-- 
Ticket URL: <https://trac.macports.org/ticket/46247>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list