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