Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#31099 - [perl-sub-exporter] please add provides perl-sub-exporter-util
Attached to Project:
Community Packages
Opened by Alan Young (harleypig) - Friday, 10 August 2012, 22:08 GMT
Last edited by Justin Davis (juster) - Tuesday, 14 August 2012, 14:19 GMT
Opened by Alan Young (harleypig) - Friday, 10 August 2012, 22:08 GMT
Last edited by Justin Davis (juster) - Tuesday, 14 August 2012, 14:19 GMT
|
DetailsDescription:
please add perl-sub-exporter-util to the provides option for this package Additional info: * package version(s) all |
This task depends upon
The provides is generally unnecessary and the only real advantage is to provide a search mechanism for modules, which is already available on CPAN search sites and need not be replicated in pacman. This also merges distribution and module names into the same namespace, with no means of distinction.
Adding this information to the provides would appear to me to be a big advantage in making automated tools work better.
The requirements upon modules are cross referenced to requirements on the distributions which provide the module. For example, this is done by the cpan shell. When it finds it needs a newer version of the module, it looks up the distribution that provides said module, and installs the distribution. In the same vein, when a distribution is converted to a package the package author would hopefully cross reference the required module to the package name that provides it. When all is done, CPAN distributions correspond to Arch packages and vice versa. Module requirements are converted to package dependencies.
Automated tools have no problem cross referencing because both the cpan shell and cpan2aur perform this. An advantage a provides array... provides is that it allows packagers of perl distributions to not look up which distributions/packages contain the modules that fulfill their requirements. This is mostly a solution for human beings, which ironically might require generating all PKGBUILDs for perl dists using automated tools, as listing every contained module file in the provides array as a package would only add tedium for package authors.
Due to Arch's rolling release nature, it is usually not even necessary to find the version of the distribution which provides a given module version. Luckily modules named after their distribution almost always have the same version as the distribution which contains them.
You give no particulars and so it is difficult to direct a response but I hope this explains my reasoning to you. I'll be resigning soon and the next maintainer will most likely cheerfully accomodate you.
Hopefully you are retiring to better things rather than from annoying things. In either case, thank you for the time.