Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the Parse-CPAN-Meta CPAN distribution.

Report information
The Basics
Id: 40256
Status: resolved
Priority: 0/
Queue: Parse-CPAN-Meta

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

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



Download (untitled) / with headers
text/plain 824b
Parse::CPAN::Meta does not support the line 'resources:' at sandbox/ genMETA.pl line 41 META.yml attached open my $yf, "<", "META.yml" or die $!; my @yml = <$yf>; close $yf; if ($check) { use YAML::Syck; use Test::YAML::Meta::Version; my $h; my $yml = join "", @yml; eval { $h = Load ($yml) }; $@ and die "$@\n"; $opt_v and print Dump $h; my $t = Test::YAML::Meta::Version->new (yaml => $h); $t->parse () and die join "\n", $t->errors, ""; use Parse::CPAN::Meta; eval { Parse::CPAN::Meta::Load ($yml) }; $@ and die "$@\n"; my $req_vsn = $h->{requires}{perl}; print "Checking if $req_vsn is still OK as minimal version\n"; use Test::MinimumVersion; all_minimum_version_ok ($req_vsn, { paths => ["t", "examples", "Read.pm", "Makefile.PL" ]}); }
Subject: META.yml
Download META.yml
text/x-yaml 1.5k
--- #YAML:1.1 name: Read version: 0.30 abstract: Meta-Wrapper for reading spreadsheet data license: perl author: - H.Merijn Brand <h.merijn@xs4all.nl> generated_by: Author distribution_type: module provides: Spreadsheet::Read: file: Read.pm version: 0.30 requires: perl: 5.006 Exporter: 0 Carp: 0 Data::Dumper: 0 recommends: File::Temp: 0.14 IO::Scalar: 0 build_requires: perl: 5.006 Test::Harness: 0 Test::More: 0 optional_features: - opt_csv: description: Provides parsing of CSV streams requires: Text::CSV_XS: 0.23 recommends: Text::CSV: 1 Text::CSV_PP: 1.05 Text::CSV_XS: 0.56 - opt_excel: description: Provides parsing of Microsoft Excel files requires: Spreadsheet::ParseExcel: 0.26 Spreadsheet::ParseExcel::FmtDefault: 0 recommends: Spreadsheet::ParseExcel: 0.34 - opt_oo: description: Provides parsing of OpenOffice spreadsheets requires: Spreadsheet::ReadSXC: 0.2 - opt_tools: description: Spreadsheet tools recommends: Tk: 0 Tk::NoteBook: 0 Tk::TableMatrix::Spreadsheet: 0 resources: license: http://dev.perl.org/licenses/ meta-spec: version: 1.4 url: http://module-build.sourceforge.net/META-spec-v1.4.html
Download (untitled) / with headers
text/plain 159b
That looks like incorrect indentation in the META.yml file. As all actual parsing responsibility is now external in CPAN::Meta::YAML, I'm closing this ticket.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.