Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350070 - dev-perl/DateManip should be dev-perl/Date-Manip: breaks g-cpan
Summary: dev-perl/DateManip should be dev-perl/Date-Manip: breaks g-cpan
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-12-29 19:33 UTC by Neil Katin
Modified: 2011-01-25 00:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Katin 2010-12-29 19:33:55 UTC
The package dev-perl/DateManip is misnamed, and doesn't play nice with
g-cpan's dependency system (it doesn't know that DateManip is "the same"
as Date::Manip, which gets mapped by g-cpan to Date-Manip (with a dash
between the words).

This causes merge file conflicts when g-cpan tries to bring in Date-Manip
to satisfy dependencies (or, if g-cpan is run first, DateManip won't
merge).

The only answer I see that would work for this is to rename dev-perl/DateManip
to dev-perl/Date-Manip.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-01-23 21:39:23 UTC
tove:
acceptable to do:
dev-perl/DateManip => dev-perl/Date-Manip?
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2011-01-23 22:13:21 UTC
(In reply to comment #0)
> The only answer I see that would work for this is to rename dev-perl/DateManip
> to dev-perl/Date-Manip.

g-cpan's Portage.pm contains the distname <-> PN mapping which could be used here.

In the long run, I always wanted to fix the ebuild names but was waiting for the cvs conversion. But if we want to do this now, fine for me.

If we do rename the ebuilds, we should fix all of them.

BTW http://cpansearch.perl.org/src/VPIT/CPANPLUS-Dist-Gentoo-0.11/lib/CPANPLUS/Dist/Gentoo/Maps.pm contains a more complete list of name mismatches.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-01-23 22:53:47 UTC
The ebuild naming has two parts:
1. The general standard is that the gentoo name should match the distfile name.
1.1. This is very relevant where a distfile has two or more different packages.
2. Some perl modules have moved around over time, upstream distfile namechanges happening.

I wasn't aware the rename list was so large :-(. With it being that large, I agree, we really want to wait for Git.

So, Portage.pm usage it is :-(
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-01-24 23:10:35 UTC
Ok, I traced this down in g-cpan to the mapping data not working after the first pass. I've got a fix in the tree now, will release in 0.16.4 shortly.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-01-24 23:37:53 UTC
0.16.4 released now.
Comment 6 Neil Katin 2011-01-25 00:51:30 UTC
Thanks for the fast resolution; I appreciate it.