すべてのオプション
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 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • enhances

libmodule-install-authorrequires-perl のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 10.3 kB29.0 kB [ファイル一覧]