Subject: | Parse::CPAN::Meta cannot handle META.yml generated by Module::Build 0.33 based upon code that uses version.pm. |
Date: | Sat, 16 May 2009 20:19:52 -0500 |
To: | bug-parse-cpan-meta [...] rt.cpan.org |
From: | Elliot Shank <perl [...] galumph.com> |
The attached is a META.yml (with real modules anonymized) that was generated by Module::Build. The core module of the distribution uses version.pm.
LoadFile() on this file causes Parse::CPAN::Meta to die with the message "Parse::CPAN::Meta does not support a feature in line ' original: v1.10.146560'".
---
name: My-Constants
version: v1.10.146560
author:
- 'Blah <blrfl@blrfl.com>'
abstract: Placeholder module for distribution dealing with general sets of constants.
license: restrictive
configure_requires:
My::Module::Build: &1 !!perl/hash:version
original: v1.10.146560
qv: 1
version:
- 1
- 10
- 146560
requires:
Exporter: 0
Readonly: 0
Readonly::XS: 0
strict: 0
utf8: 0
version: 0
warnings: 0
build_requires:
English: 0
File::Find: 0
File::Slurp: 0
File::Which: 0
IPC::Open2: 0
My::Module::Build: *1
My::Utilities::Testing: 0
Perl::Critic::Bangs: 0
Perl::Critic::More: 0
Perl::Critic::Swift: 0
Perl::MinimumVersion: 0
Pod::Spell: 0
Regexp::Parser: 0
Test::Class: 0
Test::Compile: 0
Test::More: 0
Test::Perl::Critic: 0
Test::Pod: 0
Test::Pod::Coverage: 0
Text::ParseWords: 0
charnames: 0
parent: 0
dynamic_config: 1
provides:
My::Constants:
file: lib/My/Constants.pm
version: v1.10.146560
My::Constants::Boolean:
file: lib/My/Constants/Boolean.pm
version: v1.10.146560
My::Constants::Character:
file: lib/My/Constants/Character.pm
version: v1.10.146560
My::Constants::Time:
file: lib/My/Constants/Time.pm
version: v1.10.146560
generated_by: Module::Build version 0.33
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4