Filewatcher File Search File Search
Catalog
Content Search
» » » » »

libmodule-install-authorrequires-perl

declare author-only dependencies

Modules often have optional requirements, for example dependencies that are useful for (optional) tests, but not required for the module to work properly.

Usually you want all developers of a project to have these optional modules installed. However, simply telling everyone or printing diagnostic messages if optional dependencies are missing often isn't enough to make sure all authors have all optional modules installed.

Module::Install already has a way of detecting an author environment, so an easy way to achieve the above would be something like:

if ($Module::Install::AUTHOR) { requires 'Some::Module'; requires 'Another::Module' => '0.42'; }

Unfortunately, that'll also make the optional dependencies show up in the distributions "META.yml" file, which is obviously wrong, as they aren't actually hard requirements.

Working that around requires a considerable amount of non-trivial Makefile.PL hackery, or simply using Module::Install::AuthorRequires's "author_requires" command.

Homepage:
Package version:0.02-1
Architecture:all
Distribution:Debian
Filename:libmodule-install-authorrequires-perl_0.02-1_all.deb

/usr/share/doc/libmodule-install-authorrequires-perl/README

NAME
    Module::Install::AuthorRequires - declare author-only dependencies

SYNOPSIS
        author_requires 'Some::Module';
        author_requires 'Another::Module' => '0.42';

DESCRIPTION
    Modules often have optional requirements, for example dependencies that
    are useful for (optional) tests, but not required for the module to work
    properly.

    Usually you want all developers of a
more»

/usr/share/man/man3/Module::Install::AuthorRequires.3pm.gz

Module::Install::UseroContributeModule::Install::AuthorRequires(3pm)



NAME
       Module::Install::AuthorRequires - declare author-only
       dependencies

SYNOPSIS
           author_requires 'Some::Module';
           author_requires 'Another::Module' => '0.42';

DESCRIPTION
       Modules often have optional requirements, for example
       dependencies that are useful for (optional) tests, b
more»

/usr/share/doc/libmodule-install-authorrequires-perl/changelog.Debian.gz

libmodule-install-authorrequires-perl (0.02-1) unstable; urgency=low

  * Initial packaging release.
    Closes: bug#675736.

 -- Jonas Smedegaard <dr@jones.dk>  Sun, 03 Jun 2012 11:42:57 +0200

/usr/share/doc/libmodule-install-authorrequires-perl/changelog.gz

0.02  Tue, 14 Jul 2009 14:45:18 +0200
  * Load Module::Install::Base explicitly so that Module::Inst
more»

/usr/share/doc/libmodule-install-authorrequires-perl/copyright

Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Module::Ins
more»

Browse inside libmodule-install-authorrequires-perl_0.02-1_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libmodule-install-authorrequires-perl_0.02-1_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com