Subject: | [patch] Please add ABSTRACT/LICENSE to META.(json|yml) |
Just pointing out the LICENSE and ABSTRACT parts of your metadata fields are presently incomplete:
https://metacpan.org/source/ACOBURN/Lingua-EN-Tagger-0.18/META.yml
abstract: ~
license: unknown
As for why/how to do this, I have a lengthy blog on the subject[1], but the gist of it is, some people value those fields and it makes things better in a few places.
The attached Patch for Makefile.PL adds specifying the GPL 3 License as well as taking the abstract field out of your modules POD, and its been tested and "Works for me" with a recent enough ExtUtils::MakeMaker and CPAN::Meta
+ 'ABSTRACT_FROM' => 'Tagger.pm',
+ 'LICENSE' => 'gpl_3',
This should do what you want:
* Puts the license field "gpl_3" in META.json ( v2 spec )
* Puts the license field "gpl" in META.yml ( v1 spec )
* Puts the abstract in both above files.
CPAN::Meta = 2.120921
ExtUtils::MakeMaker = 6.6302
Hope this helps =)
[1] : http://blogs.perl.org/users/kentnl_kent_fredric/2012/05/ensure-abstract-and-license-fields-in-your-meta.html
Subject: | Makefile.PL.patch |
diff -Naur a/Lingua-EN-Tagger-0.18/Makefile.PL b/Lingua-EN-Tagger-0.18/Makefile.PL
--- a/Lingua-EN-Tagger-0.18/Makefile.PL 2012-05-12 02:01:07.000000000 +0000
+++ b/Lingua-EN-Tagger-0.18/Makefile.PL 2012-05-26 22:24:32.393778932 +0000
@@ -13,6 +13,8 @@
'NAME' => 'Lingua::EN::Tagger',
'VERSION_FROM' => 'Tagger.pm', # finds $VERSION
'MIN_PERL_VERSION' => '5.008001',
+ 'ABSTRACT_FROM' => 'Tagger.pm',
+ 'LICENSE' => 'gpl_3',
'PREREQ_PM' => { 'Lingua::Stem' => '0.81',
'HTML::Parser' => '3.45',
'HTML::Tagset' => '3.20',