Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show Debian package of a Perl module #919

Closed
nichtich opened this issue Aug 16, 2013 · 3 comments
Closed

Show Debian package of a Perl module #919

nichtich opened this issue Aug 16, 2013 · 3 comments

Comments

@nichtich
Copy link
Contributor

Is there a way to show if there is a debian package of a selected perl release? For instance RDF-Trine (current version 1.007) has been published as Debian packages:

I am not sure about the naming-policy but it looks like one get a HTML page at packages.debian.org:

$package =~ s/::/-/;
$name = lc($package);
$url = 'http://packages.debian.org/search?keywords=lib{$name}-perl&searchon=names&exact=1&suite=all&section=all';

Maybe there is an API to query this information and to show it at metacpan.

@monken
Copy link
Contributor

monken commented Aug 16, 2013

I would prefer if authors would provide the name of the package in the META file. That $name trick doesn't always work since the packages don't follow a strict pattern (e.g. libwww-perl for all LWP related modules). We can come up with a key they can use. We should also keep in mind that Debian is not the only distribution out there :)

@nichtich
Copy link
Contributor Author

Ok but where and how to put in in the META file?

@monken
Copy link
Contributor

monken commented Sep 1, 2013

that is really up to you. You can create a new x_dist_packages attribute (or something similar) that contains the package names for different dists. It would be nice to keep in mind that there is not just debian out there :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants