Gentoo Archives: gentoo-dev

From: "Tod M. Neidt" <tod@g.o>
To: gentoo-dev@g.o
Subject: [gentoo-dev] RFC: Perl CPAN.pm and portage (Bug 551 or "Can't we all get along?")
Date: Wed, 06 Feb 2002 09:56:30
Message-Id: 1013010903.25358.9.camel@silica.localmosci
1 Hi!
2
3 Was looking at Bug 551 ( http://bugs.gentoo.org/show_bug.cgi?id=551 )
4 this morning. I believe this particular error was generated because the
5 user was downloading and install additional perl modules using the
6 CPAN.pm module that comes with the perl-5.6.1 package, but didn't have
7 the required perl module dependency libnet installed prior to installing
8 the telnet module. Info on the CPAN.pm module can be found at
9 http://theoryx5.uwinnipeg.ca/CPAN/perl/CPAN.html
10
11 Note: I successfully merged the dev-perl/Net-Telnet ebuild using portage
12 and the dev-perl/libnet ebuild was merged first like it is supposed to
13 so this really isn't a portage or ebuild issue.
14
15 However, this situation does bring up an interesting question regarding
16 a possible enhancement.
17
18 Would it be possible (or even desirable) to hack CPAN.pm and/or portage
19 so that they play nice together, i.e. a user could find and download
20 perl modules using CPAN.pm and portage would provide the installation
21 and package management?
22
23
24 Some Advantages:
25
26 1. Useful feature for Gentoo users accustomed to enhancing perl with
27 modules through the CPAN.pm module.
28
29 2. Possibility to effectively eleminate the dev-perl portage category,
30 while at the same time, (less burden on Gentoo.org servers, and perl
31 module ebuild maintainers)
32
33 3. providing *all* the perl modules archived at cpan (the archive) to
34 Gentoo users.
35
36 4. Cool hack :)
37
38
39 Some Disadvantages:
40
41 1. Extra work maintaining a CPAN.pm-gentoo.diff
42
43 2. perl <--> python interface might be difficult?
44
45 3. package management accounting if both perl module ebuilds and CPAN.pm
46 installations are tracked in /var/db/pkg/
47
48 As I am not worthy to wash the feet of a perl deity, I am interested in
49 the thoughts of those who are.
50
51 tod

Replies

Subject Author
Re: [gentoo-dev] RFC: Perl CPAN.pm and portage (Bug 551 or "Can't we all get along?") JR Boyens <jboyens@××××××××.org>