软件包: libmodule-install-authorrequires-perl (0.02-1)
libmodule-install-authorrequires-perl 的相关链接
Trisquel 的资源:
下载源码包 libmodule-install-authorrequires-perl:
- [libmodule-install-authorrequires-perl_0.02-1.dsc]
- [libmodule-install-authorrequires-perl_0.02.orig.tar.gz]
- [libmodule-install-authorrequires-perl_0.02-1.debian.tar.gz]
维护者:
Original Maintainers:
- Debian Perl Group (Mail Archive)
- Jonas Smedegaard
外部的资源:
- 主页 [search.cpan.org]
相似软件包:
- libtest-distribution-perl
- libtest-dependencies-perl
- libmodule-install-trustmetayml-perl
- libtask-weaken-perl
- libmodule-install-extratests-perl
- biboumi
- equivs
- libdist-zilla-plugin-test-reportprereqs-perl
- libmodule-install-perl
- libdist-checkconflicts-perl
- libdist-zilla-plugin-modulebuildtiny-fallback-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.
其他与 libmodule-install-authorrequires-perl 有关的软件包
|
|
|
-
- dep: libmodule-install-perl
- framework for installing Perl modules
-
- dep: perl
- Larry Wall's Practical Extraction and Report Language