Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

CPAN modules used by non-CPAN packages

 
   Soft32 Home -> Linux -> Perl RSS
Next:  Accepted gnome-vfsmm2.6 2.24.0-2 (source all i386..  
Author Message
Gabor Szabo

External


Since: Feb 17, 2009
Posts: 2



(Msg. 1) Posted: Sat Feb 28, 2009 3:20 am
Post subject: CPAN modules used by non-CPAN packages
Archived from groups: linux>debian>maint>perl (more info?)

Hi,

so the http://ali.as/top100/ lists the top 100 modules that are used
by the biggest number of other things in CPAN.

It does not take in account anything that is not on CPAN.

I'd like to provide some improvement to this by collecting
the dependency information from Debian.
I'd like to gather the list of packages that use CPAN modules.

How can I do that?

e.g. Bugzilla is packaged by Debian
How can I list all the modules it uses ?

In the opposite direction given a CPAN module
how can I find all the Debian packages
depending on that package?


Gabor


--
To UNSUBSCRIBE, email to debian-perl-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Login to vote
Sven Dowideit

External


Since: Feb 28, 2009
Posts: 2



(Msg. 2) Posted: Sat Feb 28, 2009 3:20 am
Post subject: Re: CPAN modules used by non-CPAN packages [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I too wonder if there is a 'proper' way to go from perl module name to deb

as in my Foswiki extensions debian build script, I do some pretty
simplistic looking using apt-cache, and then have a hand added list for
those I notice don't get found magically.


( resulting in http://fosiki.org/Foswiki_debian )

Sven

#try to convert from Perl name to debian name
#then test for availability?
my $pkgname = 'lib' . lc($depName);
$pkgname =~ s/::/-/g;
my $cmd = 'apt-cache search ' . $pkgname . ' | grep perl';

#print "DEPENDENCIES: ====== $cmd \n";
my @pkgs = `$cmd`;

#print " $pkgname found : ".join('; ', @pkgs)."\n";
if ( ( scalar(@pkgs) == 1 )
&& ( defined( $pkgs[0] ) )
&& ( $pkgs[0] ne '' ) )
{
$pkgs[0] =~ s/^(\S*)\s.*$/$1/;
$pkgs[0] =~ s/\n//;


Gabor Szabo wrote:
> Hi,
>
> so the http://ali.as/top100/ lists the top 100 modules that are used
> by the biggest number of other things in CPAN.
>
> It does not take in account anything that is not on CPAN.
>
> I'd like to provide some improvement to this by collecting
> the dependency information from Debian.
> I'd like to gather the list of packages that use CPAN modules.
>
> How can I do that?
>
> e.g. Bugzilla is packaged by Debian
> How can I list all the modules it uses ?
>
> In the opposite direction given a CPAN module
> how can I find all the Debian packages
> depending on that package?
>
>
> Gabor
>
>
>


--
To UNSUBSCRIBE, email to debian-perl-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[gentoo-user] How to install CPAN modules not breaking por.. - Hello, As i have read [1] documentation portage should provide g-cpan.pl tool but on my system there is no such..

[gentoo-user] Un-CPAN - I tried to get a bundle of Perl modules (and their dependencies) via CPAN, but ran into problems. How can I get rid of...

[gentoo-dev] add cpan to profiles/thirdpartymirrors - Hi ALL I new in this list and maybe it topic was discuss before but What do you think about add cpan mirrors to..

Checking out packages modules from webwml cvs - Hi, I tried to check out packages module from webwml cvs (with pserver-account that works for webwml module and I use....

[gentoo-user] why is modules directory named /lib/modules/.. - I'm trying to upgrade my kernel to gentoo-dev-sources-2.6.9-r4. I configured, made the kernel and modules, then did a....

[gentoo-user] modules-update - modprobe.conf/modules.conf .. - Hello, Darn I'm having a hard time lately. Thanks in advance. Something is very broken. I created a file called..
       Soft32 Home -> Linux -> Perl All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]