jonathanstowe / TermReadKey

Character mode terminal access for Perl
12 stars 27 forks source link

Rework the META file to make indexable by Pinto #31

Closed hartzell closed 5 years ago

hartzell commented 6 years ago

Pinto has trouble indexing this package because it doesn't understand the use of the META.yml in the provides clause of the META info.

The spec also allows referring to the file that generates the package in that statement, but pinto (apparently following PAUSE's lead) doesn't consider ReadKey_pm.PL to be a "simile" for that package, the rule seems to be that ".pm.PL" is the acceptable form.

This commit

See #29 and thaljef/Pinto#241.

hartzell commented 6 years ago

ps. This might also fix the fact that metacpan.org returns META.yml as the file for the TermReadKey tarball when one searches for Term::ReadKey.

screen shot 2018-04-30 at 9 47 40 pm
Grinnz commented 5 years ago

While META.yml is a valid target according to CPAN::Meta::Spec there is no reason not to point at the actual file generating the source code, as that's what this field is supposed to be for.

jonathanstowe commented 5 years ago

Thanks, sorry I took a while to get round to this.

jonathanstowe commented 5 years ago

I've just uploaded 2.38 to PAUSE which contains this fix. Thanks.