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


Advertisement

Description

libmodule-install-authorrequires-perl - declare author-only dependencies

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main amd64
Package name libmodule-install-authorrequires-perl
Package version 0.02
Package release 1
Package architecture all
Package type deb
Installed size 61 B
Download size 10.01 KB
Official Mirror ftp.br.debian.org
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.

Alternatives

Package Version Architecture Repository
libmodule-install-authorrequires-perl_0.02-1_all.deb 0.02 all Debian Main
libmodule-install-authorrequires-perl - - -

Requires

Name Value
libmodule-install-perl -
perl -

Download

Type URL
Binary Package libmodule-install-authorrequires-perl_0.02-1_all.deb
Source Package libmodule-install-authorrequires-perl

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libmodule-install-authorrequires-perl deb package:
    # sudo apt-get install libmodule-install-authorrequires-perl

Files

Path
/usr/share/doc/libmodule-install-authorrequires-perl/README
/usr/share/doc/libmodule-install-authorrequires-perl/buildinfo_all.gz
/usr/share/doc/libmodule-install-authorrequires-perl/changelog.Debian.gz
/usr/share/doc/libmodule-install-authorrequires-perl/changelog.gz
/usr/share/doc/libmodule-install-authorrequires-perl/copyright
/usr/share/man/man3/Module::Install::AuthorRequires.3pm.gz
/usr/share/perl5/Module/Install/AuthorRequires.pm
/usr/share/perl5/Module/Install/Admin/AuthorRequires.pm

Changelog

2012-06-03 - Jonas Smedegaard <dr@jones.dk>
libmodule-install-authorrequires-perl (0.02-1) unstable; urgency=low
* Initial packaging release.
Closes: bug#675736.

See Also

Package Description
libmodule-install-authortests-perl_0.002-1_all.deb designate tests only run by module authors
libmodule-install-autolicense-perl_0.08-1_all.deb automagically generate LICENSE files
libmodule-install-automanifest-perl_0.003-2_all.deb generate MANIFEST automatically
libmodule-install-contributors-perl_0.001-1_all.deb add an "x_contributors" section to your META.yml
libmodule-install-copyright-perl_0.009-1_all.deb package a COPYRIGHT file with a distribution
libmodule-install-doap-perl_0.006-1_all.deb generate META.yml data from DOAP
libmodule-install-doapchangesets-perl_0.206-1_all.deb write your distribution change log in RDF
libmodule-install-extratests-perl_0.008-1_all.deb contextual tests that the harness can ignore
libmodule-install-manifestskip-perl_0.24-1_all.deb generate a MANIFEST.SKIP file
libmodule-install-perl_1.14-1_all.deb framework for installing Perl modules
libmodule-install-rdf-perl_0.009-1_all.deb advanced metadata for your Perl packaging
libmodule-install-readmefrompod-perl_0.22-1_all.deb automatically convert POD to a README
libmodule-install-trustmetayml-perl_0.003-2_all.deb trust META.yml list of dependencies
libmodule-install-xsutil-perl_0.45-1_all.deb Module::Install extension for handling XS modules
libmodule-load-conditional-perl_0.62-1_all.deb module for looking up information about modules
Advertisement
Advertisement