libmodule-install-authorrequires-perl 0.02-2 source package in Ubuntu
Changelog
libmodule-install-authorrequires-perl (0.02-2) unstable; urgency=medium * Team upload. [ Jonas Smedegaard ] * Update copyright file: * Fix drop bogusly listed files. * Fix year of copyright for packaging. [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Update Vcs-Browser URL to cgit web frontend * Update Vcs-* headers for switch to salsa.debian.org [ gregor herrmann ] * debian/*: update URLs from {search,www}.cpan.org to MetaCPAN. [ Debian Janitor ] * Use secure copyright file specification URI. [ gregor herrmann ] * Remove Makefile.old via debian/clean. (Closes: #1045665) -- gregor herrmann <email address hidden> Wed, 06 Mar 2024 22:18:41 +0100
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- perl
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | perl |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libmodule-install-authorrequires-perl_0.02-2.dsc | 2.6 KiB | 2734c1142fb11d4b44cbbbb1fccd7b5e9b59a355414770174f8368f2b82a2a4b |
libmodule-install-authorrequires-perl_0.02.orig.tar.gz | 15.2 KiB | cc6321537d745d2a83a8286f85ef3346745939cc3b34102045bec8560e8f4cec |
libmodule-install-authorrequires-perl_0.02-2.debian.tar.xz | 3.9 KiB | 1a287636a260f2ddce2ac758fd63c961213c1182897bc145ada547d257664266 |
Available diffs
- diff from 0.02-1.1 to 0.02-2 (2.5 KiB)
No changes file available.
Binary packages built by this source
- 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.