-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails on packages there is mismatching between module & package versions #23
Comments
I have also realized that the generated ebuild contains a wrong dependency on dev-lang/io instead of perl-core/IO or virtual/perl-IO |
now modules like IO should be detected fine (mentioned in gentoo-perl#23)
now modules like IO should be detected fine (mentioned in gentoo-perl#23)
…ntoo-perl#23) for set MODULE_VERSION in ebuild also reported as Gentoo #542180
@jmfernandez please test current live version, |
The first two cases now work as expected (nice!):
but the third one still fails:
Perhaps this last one should be treated in a different issue. |
Good. |
Meanwhile I was trying to generate an ebuild for OWL::Simple::Parser module, the digestion phase failed because g-cpan used as version number the one from the module (1.01) instead of the one from the whole Perl package (0.51) which contains it, as you can see at http://cpansearch.perl.org/src/TOMASZ/OWL-Simple-0.51/META.json
So, all these commands generate wrong ebuilds:
g-cpan -g OWL::Simple::Parser
-> FAILS (misuses version 1.01 instead of 0.51)g-cpan -g OWL::Simple::OBOWriter
-> FAILS (misuses version 0.06 instead of 0.51)g-cpan -g OWL-Simple
-> FAILS (due the package does not contain a OWL::Simple module)I tested this with g-cpan 0.16.6 and master version, with the same results.
The text was updated successfully, but these errors were encountered: