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


Advertisement

Description

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

Property Value
Distribution Debian 10 (Buster)
Repository Debian Main i386
Package filename libmodule-install-authorrequires-perl_0.02-1_all.deb
Package name libmodule-install-authorrequires-perl
Package version 0.02
Package release 1
Package architecture all
Package type deb
Category devel::lang:perl devel::library implemented-in::perl perl
Homepage http://search.cpan.org/dist/Module-Install-AuthorRequires/
License -
Maintainer Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Download size 10.01 KB
Installed size 61.00 KB
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
Mirror ftp.br.debian.org
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-2_all.deb designate tests only run by module authors
libmodule-install-autolicense-perl_0.10-1_all.deb automagically generate LICENSE files
libmodule-install-automanifest-perl_0.003-4_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-2_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.19-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.30-3_all.deb automatically convert POD to a README
libmodule-install-rtx-perl_0.38-1_all.deb RT extension installer
libmodule-install-trustmetayml-perl_0.003-3_all.deb trust META.yml list of dependencies
libmodule-install-xsutil-perl_0.45-1_all.deb Module::Install extension for handling XS modules
Advertisement
Advertisement