Re: [Perldl] Troubles with CPAN indexing of PDL::NetCDF and PDL::Graphics::PLplot

[email protected] (Doug Hunt) Mon, 28 Nov 2011 13:15:16 -0700 (MST)
Newsgroups perl.cpan.discuss,perl.module-authors
Message-ID <[email protected]>
Hi Andreas:

I've added 'provides' in META.yml in the past.  I've even got promising 
looking emails from CPAN saying that PDL::NetCDF had been indexed under 
the correct version.  Still CPAN installs seem not to work.

I just made an update to PDL::NetCDF to bump its version to 4.15.  I've
included a META_MERGE tag in the call to WriteMakefile which produces
the following META.yml:

------------------%<---------------------------------------------------
--- #YAML:1.0
name:               PDL-NetCDF
version:            4.15
abstract:           ~
author:
     - Douglas Hunt ([email protected])
license:            unknown
distribution_type:  module
configure_requires:
     ExtUtils::MakeMaker:  0
build_requires:
     ExtUtils::MakeMaker:  0
requires:
     PDL:  2.2
provides:
     PDL::NetCDF:
         file:     netcdf.pd
         version:  4.15
no_index:
     directory:
         - t
         - inc
generated_by:       ExtUtils::MakeMaker version 6.56
meta-spec:
     url:      http://module-build.sourceforge.net/META-spec-v1.4.html
     version:  1.4
------------------%<---------------------------------------------------

Does this look right to you?  If so, I'll submit this to CPAN and see what 
happens.

Thanks!

--Doug Hunt

[email protected]
Software Engineer
UCAR - COSMIC, Tel. (303) 497-2611

On Sun, 27 Nov 2011, Andreas J. Koenig wrote:

>>>>>> On Sun, 27 Nov 2011 15:48:20 +0700, Ivan Shmakov <[email protected]> said:
>
>>>>>> Doug Hunt <[email protected]> writes:
>>>>>> On Mon, 16 May 2011, Andreas J. Koenig wrote:
>
>  > [?]
>
> >>> I suggest you do that and if it again does not work, contact me to
> >>> debug it. Offhand I cannot see the reason why it did not work and I
> >>> cannot debug it because 4.13 has no META.yml with a provides entry.
>
> >> Hi Andreas: I tried that earlier and got only mixed success.  I did
> >> get an email from CPAN that it had indexed it which listed the
> >> correct version.
>
> >> I still was not able to install the module via the cpan shell.  For
> >> the next release, I'll put META.yml back in and submit it.  If it
> >> still does not work, I'll email you.
>
>  > 	Any progress on this one?
>
> I see another upload has happened:
>
>   31256 2011-08-08 DHUNT/PDL-NetCDF-4.14.tar.gz
>
> But the content is again without a PDL/NetCDF.pm file and the META.yml
> has no "provides" entry. Without either of those the indexing will not
> happen. If you want to install it you must say (if you're using the cpan
> shell):
>
> cpan> install DHUNT/PDL-NetCDF-4.14.tar.gz
>
> You can inform yourself about newer uploads with
>
> cpan> ls DHUNT/PDL-NetCDF*
>
>
> -- 
> andreas
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>