perl-Dist-Zilla-Plugin-DynamicPrereqs - Specify dynamic (user-side) prerequisites for your distribution

Edit Package perl-Dist-Zilla-Plugin-DynamicPrereqs

This is a Dist::Zilla plugin that inserts code into your Makefile.PL to indicate dynamic (installer-side) prerequisites.

Code is inserted immediately after the declarations for '%WriteMakefileArgs' and '%FallbackPrereqs', before they are conditionally modified (when an older ExtUtils::MakeMaker is installed). This gives you an opportunity to add to the 'WriteMakefile' arguments: 'PREREQ_PM', 'BUILD_REQUIRES', and 'TEST_REQUIRES', and therefore modify the prerequisites in the user's MYMETA.yml and MYMETA.json based on conditions found on the user's system.

The 'dynamic_config' field in metadata is already set for you.

You could potentially use this plugin for performing other modifications in Makefile.PL other than user-side prerequisite modifications, but I can't think of a situation where this makes sense. Contact me if you have any ideas!

Only Makefile.PL modification is supported at this time. This author considers the use of Module::Build to be questionable in all circumstances, and Module::Build::Tiny does not (yet?) support dynamic configuration.

Refresh
Refresh
Source Files
Filename Size Changed
Dist-Zilla-Plugin-DynamicPrereqs-0.039.tar.gz 0000048623 47.5 KB
cpanspec.yml 0000000669 669 Bytes
perl-Dist-Zilla-Plugin-DynamicPrereqs.changes 0000000872 872 Bytes
perl-Dist-Zilla-Plugin-DynamicPrereqs.spec 0000004705 4.59 KB
Revision 3 (latest revision is 4)
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 844788 from Tina Müller's avatar Tina Müller (tinita) (revision 3)
- updated to 0.039
   see /usr/share/doc/packages/perl-Dist-Zilla-Plugin-DynamicPrereqs/Changes
  0.039     2020-10-26 20:33:35Z
            - fix incorrect warning message (and possible uninitialized warning)
              in runtime_requires, build_requires, test_requires functions
              (RT#133608)
Comments 0
openSUSE Build Service is sponsored by