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


Advertisement

Description

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

Distribution: Debian 8 (Jessie)
Repository: Debian Main i386
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.

    Download

    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

    • /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.

    Advertisement
    Advertisement