Gentoo Archives: gentoo-perl

From: Michael Cummings <mcummings@g.o>
To: gentoo-perl@l.g.o
Subject: Re: [gentoo-perl] [RFC] Some thoughts on the next release of perl
Date: Tue, 03 Apr 2007 16:22:35
In Reply to: Re: [gentoo-perl] [RFC] Some thoughts on the next release of perl by Alex Efros
On Tue, Apr 03, 2007 at 06:42:17PM +0300, Alex Efros wrote:
> Hi! > > On Tue, Apr 03, 2007 at 07:40:19AM -0400, Michael Cummings wrote: > > * Redoing the re-order @INC patch - I've had discussions lately with folks, both > > Good idea. Right now I use workaround to use my modules in site_perl: > 1) I've installed fresh modules from CPAN. > 2) I've unmerged Gentoo's modules (because of @INC re-ordering issue). > 3) I've fill /etc/portage/profile/package.provided to avoid installing them > again by emerge -uDNa world. I use something like: > > { perl -le 'use DBI; print "dev-perl/DBI-", $DBI::VERSION'; > perl -le 'use DBD::mysql; print "dev-perl/DBD-mysql-", $DBD::mysql::VERSION'; > perl -le 'use XML::Simple;print "dev-perl/XML-Simple-",$XML::Simple::VERSION'; > perl -le 'use XML::Parser;print "dev-perl/XML-Parser-",$XML::Parser::VERSION'; > } >> /etc/portage/profile/package.provided > > Maybe it's good idea to automate this in some way...
rather than use $MODULE::VERSION, you may want to use a hard number (like 9999) - I only mention it because sometimes we have to alter the upstream version numbers so that portage can understand that version 0.5 is greater than version 0.401 (which portage doesn't interpret as a decimal, but instead as a version seperator). Just something to think about :) (though I think getting the reorder patch updated would help you out a lot too). ~mcummings -- -----o()o---------------------------------------------- Michael Cummings | #gentoo-dev, #gentoo-perl Gentoo Perl Dev | on Gentoo/SPARC Gentoo/AMD64 GPG: 0543 6FA3 5F82 3A76 3BF7 8323 AB5C ED4E 9E7F 4E2E -----o()o---------------------------------------------- Hi, I'm a .signature virus! Please copy me in your ~/.signature.