Package whohas

Command line tool for query package lists

http://www.philippwesche.org/200811/whohas/intro.html

whohas is a command line tool that allows querying several package
lists at once - currently supported are Arch, Debian, Gentoo and
Slackware. whohas is written in Perl and was designed to help
package maintainers find ebuilds, pkgbuilds and similar package
definitions from other distributions to learn from.

General Commands
Command Description
whohas find packages in various distributions' repositories