全部搜索项
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: libmodule-install-authorrequires-perl  ]

软件包:libmodule-install-authorrequires-perl(0.02-1.1)

libmodule-install-authorrequires-perl 的相关链接

Screenshot

Debian 的资源:

下载源码包 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.

标签: 软件开发: Perl 开发, 函数库, 实做语言: Perl

其他与 libmodule-install-authorrequires-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 libmodule-install-authorrequires-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 10.3 kB29.0 kB [文件列表]