Skip Menu |

This queue is for tickets about the InlineX-CPP2XS CPAN distribution.

Report information
The Basics
Id: 76698
Status: open
Priority: 0/
Queue: InlineX-CPP2XS

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

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



Subject: META.yml is outdated, won't work with carton
I've been using carton to bundle dependencies with a perl project and unfortunately it chokes on the META.yml in InlineX::CPP2XS. It's a minor issue, and perhaps one that miyagawa can fix on the carton end of things, but the error it is reporting is that it can not use the META.yml data because it fails the version check. This could be fixed by re-building the dist using a newer EUMM et al. though if you don't want to do that, I've taken the liberty of generating a new META.yml that does work with carton. It's attached to this ticket. BTW, if you don't have the spare tuits to make a new release, I'd be happy to do it, given the appropriate access! :)
Subject: META.yml
--- abstract: unknown author: - unknown build_requires: ExtUtils::MakeMaker: 0 configure_requires: ExtUtils::MakeMaker: 0 dynamic_config: 1 generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.120630' license: unknown meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: 1.4 name: InlineX-CPP2XS no_index: directory: - t - inc requires: Inline: 0.45 Inline::CPP: 0.25 version: 0.17
Oh, and here's an updated copy of the dist, if that makes it easier to get it released! :)
Subject: InlineX-CPP2XS-0.18.tar.gz
Download InlineX-CPP2XS-0.18.tar.gz
application/x-gzip 20.7k

Message body not shown because it is not plain text.

RT-Send-CC: sscaffidi [...] cpan.org
On Thu Apr 19 10:44:55 2012, SSCAFFIDI wrote: Show quoted text
> Oh, and here's an updated copy of the dist, if that makes it easier to > get it released! :)
Thanks for that!! I somehow missed this bug report - I'll include the fixed META.yml in 0.21 (which I'll release in a couple of days time). I'll also try to get things organized so that you can upload to CPAN. And we should probably put the source on github, so that we can both hack at the same source. Cheers, Rob
RT-Send-CC: sscaffidi [...] cpan.org
On Sun Apr 29 22:17:21 2012, SISYPHUS wrote: Show quoted text
> On Thu Apr 19 10:44:55 2012, SSCAFFIDI wrote:
> > Oh, and here's an updated copy of the dist, if that makes it easier to > > get it released! :)
> > Thanks for that!! > I somehow missed this bug report - I'll include the fixed META.yml in > 0.21 (which I'll release in a couple of days time).
On second thoughts - was it just that CPP2XS.pm specified: our $VERSION = 0.17; instead of our $VERSION = '0.17'; This has been fixed in 0.20 (just released). See if that fixes the problem with META.yml. I'd prefer to specify 'version_from' instead of 'version', because the latter needs to be changed every time the module is updated. Cheers, Rob
Sorry for the delay, but I've been away for the last few weeks :) On Sun Apr 29 22:46:33 2012, SISYPHUS wrote: Show quoted text
> On Sun Apr 29 22:17:21 2012, SISYPHUS wrote:
> > On Thu Apr 19 10:44:55 2012, SSCAFFIDI wrote:
> > > Oh, and here's an updated copy of the dist, if that makes it easier to > > > get it released! :)
> > > > Thanks for that!! > > I somehow missed this bug report - I'll include the fixed META.yml in > > 0.21 (which I'll release in a couple of days time).
> > On second thoughts - was it just that CPP2XS.pm specified: > our $VERSION = 0.17; > instead of > our $VERSION = '0.17'; > > This has been fixed in 0.20 (just released). See if that fixes the > problem with META.yml.
It doesn't but read on... Show quoted text
> I'd prefer to specify 'version_from' instead of 'version', because the > latter needs to be changed every time the module is updated.
I completely understand - I *hate* having to specify silly little details like that in multiple places! However, 'version_from' isn't actually a valid META.yml attribute and I'm fairly certain it's completely ignored by the whole CPAN/PAUSE system! (those get the version from the name of the tarball!) I assume you're building your dists using 'perl Makefile.PL; make dist' and if that's the case the solution is simple - just delete META.yml from your source tree, and make sure your Makefile.PL uses the following parameters: VERSION_FROM => 'CPP2XS.pm', ABSTRACT_FROM => 'CPP2XS.pm', A new, spec-compliant META.yml will be generated in the tarball when you build the dist, and it will contain the correct abstract, version, etc etc!