Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 55917
Status: rejected
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: TODDR [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Tk missing META.yml
The various things that parse CPAN modules work better if a META is available.
From: TODDR [...] cpan.org
I'm attaching a "better than nothing" skeleton. Of course the META.yml would need updating with each release, but even if it didn't it's better that it's there for the other data.
Subject: META.yml
--- name: Tk version: 804.028 author: - Slaven Rezic <SREZIC@cpan.org> - <CTDEAN@cpan.org> - Greg London <GSLONDON@cpan.org> - <ILYAZ@cpan.org> - <LUSOL@cpan.org> - <NI-S@cpan.org> - <RENEEB@cpan.org> - <VKON@cpan.org> abstract: lib/Tk.pm license: perl resources: MailingList: https://mailman.stanford.edu/mailman/listinfo/ptk bugtracker: https://rt.cpan.org/NoAuth/Bugs.html?Dist=Tk homepage: http://www.google.com license: http://dev.perl.org/licenses/ repository: https://svn.perl.org/modules/Tk/trunk build_requires: Encode: 0 configure_requires: Encode: 0 provides: Tk: file: lib/Tk.pm version: 804.028 Tie::Watch: file: lib/Tie/Watch.pm version: 1.2 generated_by: hand meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: 1.4
The developer versions (e.g. SREZIC/Tk-804.028_502.tar.gz) already have a META.yml in their tarball, and so will have the next real version. Regards, Slaven
From: TODDR [...] cpan.org
Could the following items be added in please? makes cpan interface smarter about providing links: resources: MailingList: https://mailman.stanford.edu/mailman/listinfo/ptk bugtracker: https://rt.cpan.org/NoAuth/Bugs.html?Dist=Tk homepage: http://www.google.com license: http://dev.perl.org/licenses/ repository: https://svn.perl.org/modules/Tk/trunk ---- Makes it easier to see what modules the distribution provides: provides: Tk: file: lib/Tk.pm version: 804.028 Tie::Watch: file: lib/Tie/Watch.pm version: 1.2 --- I also note you're missing Encode in your requires section, which the Makefile seems to be looking for.
On Wed Mar 24 19:04:20 2010, TODDR wrote: Show quoted text
> Could the following items be added in please? > > makes cpan interface smarter about providing links: > > resources: > MailingList: https://mailman.stanford.edu/mailman/listinfo/ptk > bugtracker: https://rt.cpan.org/NoAuth/Bugs.html?Dist=Tk > homepage: http://www.google.com > license: http://dev.perl.org/licenses/ > repository: https://svn.perl.org/modules/Tk/trunk > > ---- > > Makes it easier to see what modules the distribution provides: > > provides: > Tk: > file: lib/Tk.pm > version: 804.028 > Tie::Watch: > file: lib/Tie/Watch.pm > version: 1.2 > > --- > > I also note you're missing Encode in your requires section, which the > Makefile seems to be > looking for.
The next distribution (post-804.029) will have the repository URL in the META file. The other stuff is either non-existing (homepage), largely inactive (mailinglist) or anyway the default (the RT bug queue), so I won't specify it. I also trust the PAUSE indexer for the things provided more than manual entries in the META.yml file. Regards, Slaven
PAUSE doesn't update the META and there are tools out there than parse META for information. it would be helpful if the provides section was accurate.
On 2010-05-27 18:57:30, TODDR wrote: Show quoted text
> PAUSE doesn't update the META and there are tools out there than parse > META for information. it > would be helpful if the provides section was accurate.
It seems that only Module::Build is adding "provides" entries automatically. I don't see such a feature for ExtUtils::MakeMaker, at least the documentation does not say so. Probably it's possible to manually manage entries using META_{ADD,MERGE}, but this is error-prone. Porting Perl/Tk to use Module::Build is probably impossible. So unless I get a patch for this feature request, I don't think it will get implemented... Regards, Slaven