Subject: | Bad META.yml prevent installation via cpanm |
The META.yml has an incorrect "version" field, which cpanm notices and objects to;
$ cpanm -f WKHTMLTOPDF
--> Working on WKHTMLTOPDF
Fetching http://www.cpan.org/authors/id/T/TB/TBR/WKHTMLTOPDF-0.02.tar.gz ... OK
Argument "0.8.3" isn't numeric in numeric eq (==) at /loader/0x13e1030/CPAN/Meta/Converter.pm line 3.
Failed to upconvert metadata to 1.1. Errors:
Unknown META specification, cannot validate. [Validation: 0.8.3]
at /loader/0x13e1030/App/cpanminus/script.pm line 94.
The attached patch changes this module to use Dist::Zilla to build its CPAN package, which is then correctly formed and can be easily installed. It also bumps the version number up to 0.04.
Best regards,
Dave
Subject: | WKHTMLTOPDF-0.04.tar.gz |
Message body not shown because it is not plain text.
Subject: | WKHTMLTOPDF.diff |
Message body is not shown because it is too large.