On Wed, 2005-07-20 at 14:20 -0400, Joe Schaefer wrote:
> The indexer completely ignored META.yml again.
> It looks like it can't parse the file; does
> anyone see what's wrong with it?

Dunno about "wrong", I'm not that familiar with YAML, but the stuff
after "#YAML:1.0" trips ysh from YAML-0.39:

  $ ysh < META.yml
  --- !perl/YAML::Error
  code: YAML_PARSE_ERR_INCONSISTENT_INDENTATION
  [...]

The attached patch should generate a META.yml that appeases ysh, and
maybe the CPAN indexer.
Index: build/version_check.pl
===================================================================
--- build/version_check.pl	(revision 219961)
+++ build/version_check.pl	(working copy)
@@ -149,7 +149,7 @@
 
     if ($opts{version}) {      # generate META.yml file content
         print <<EOT;
---- #YAML:1.0 (see http://module-build.sourceforge.net/META-spec.html)
+--- #YAML:1.0
 name: libapreq2
 version: $opts{version}
 license: open_source

Reply via email to