[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Finding deb packages for given Perl modules



On Thu, 18 Sep 2014 19:30:00 +0800, Paul Wise wrote:

> > I found that you might know an answer: Is there a command line tool that
> > checks a cpanfile to query packages.debian.org and list matching debian
> > packages that include the required version of this module?
> It doesn't appear to versions but:
> dh-make-perl locate Foo::Bar


There's also a web interface, created by Jozef Kutej:
http://deb.perl.it/

And I'm using a simple shell function:

% which afsp
afsp () {
    apt-file search $(echo "/$@" | sed -e 's|::|/|g ; s|-|/|g ; s|$|.pm|') | uniq
}

(Also no version here.)


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Dhafer Youssef: Wind And Shadows

Attachment: signature.asc
Description: Digital Signature


Reply to: