Click here to get back home

CPAN, packaging tools, META.yml

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
CPAN, packaging tools, META.yml Al Nikolov 08-17-2005
Posted by Al Nikolov on August 17, 2005, 1:22 pm
Please log in for more thread options


Hi, there

I used h2xs to package my module, but now as i see that's not a very good
practice. For instance, `make dist` produces META.yml: with no license
record. (Also i wondering why Carp and CGI modules used in my module don't
counted in 'requires' record...)

I'm i right? Is there any other (configurable) tools useful for packaging
modules for CPAN?

--
Regards,
Al Nikolov
JID: alnikolov@jabber.ru
IRC: clown


Posted by Slaven Rezic on August 17, 2005, 11:48 pm
Please log in for more thread options



> Hi, there
>
> I used h2xs to package my module,

h2xs is not a packaging tool. It's a helper for initial module and
distribution creation, probably interfacing a C library (hence the
name).

> but now as i see that's not a very good
> practice. For instance, `make dist` produces META.yml: with no license
> record.

You can take care of META.yml yourself, just put NO_META => 1 into
your Makefile.PL.

> (Also i wondering why Carp and CGI modules used in my module don't
> counted in 'requires' record...)

Strictly speaking, CGI and Carp do not need to be listed as a
PREREQ_PM (or requires), as these modules are included in every recent
perl5 standard distribution. That speaking, the existence of minimal
perl distributions is possible, so mentioning them does not hurt.

Usually you're yourself responsible to fill the dependency fields.
There are helper modules to get the list of dependencies, e.g.
Module::Dependency.

> I'm i right? Is there any other (configurable) tools useful for packaging
> modules for CPAN?
>

Probably. Look into the Module:: hierarchy.

Regards,
Slaven

--
Slaven Rezic - slaven <at> rezic <dot> de

Dump a Tk canvas as an xfig file:
        http://search.cpan.org/search?mode=module&query=Tk::CanvasFig


Similar ThreadsPosted
"reverse templating" or "auto-meta-regex" module for automated screen-scrape learning? September 18, 2007, 10:09 pm
Mail Tools 1.74 installs but get error February 19, 2007, 1:33 pm
Problem with MIME-tools 5.414 not finding encode_qp October 27, 2004, 8:00 pm
ISO: deep voodoo debugging tools for tracking down seriously weird module behavior. November 9, 2007, 1:28 pm
Upgrading to CPAN.pm v1.76 install Bundle::CPAN fails May 10, 2005, 9:51 pm
Use CPAN or CPAN::Shell for LOCAL ONLY install from tarballs? May 9, 2008, 1:04 pm
Cpan and gcc September 27, 2005, 8:38 pm
PHP on CPAN? April 16, 2006, 6:56 pm
.CPAN Locked (OS 10.3.5) August 27, 2004, 11:24 pm
error with CPAN.pm October 19, 2004, 7:13 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap