perl-Dist-Zilla-Plugin-OptionalFeature - Specify prerequisites for optional features in your dist

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Dist-Zilla-Plugin-OptionalFeature-0.023-alt1.noarch.rpm
Package name perl-Dist-Zilla-Plugin-OptionalFeature
Package version 0.023
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 24.05 KB
Installed size 24.05 KB
This plugin provides a mechanism for specifying prerequisites for optional
features in metadata, which should cause CPAN clients to interactively prompt
you regarding these features at install time (assuming interactivity is turned
on: e.g. `cpanm --interactive Foo::Bar').
The feature *name* and *description* are required. The name can be extracted
from the plugin name.
You can specify requirements for different phases and relationships with:
[OptionalFeature / Feature name]
-description = description
-phase = test
-relationship = requires
Fitz::Fotz    = 1.23
Text::SoundEx = 3
If not provided, `-phase' defaults to `runtime', and `-relationship' to
To specify feature requirements for multiple phases, provide them as separate
plugin configurations (keeping the feature name and description constant):
[OptionalFeature / Feature name]
-description = description
-phase = runtime
Foo::Bar = 0
[OptionalFeature / Feature name]
-description = description
-phase = test
Foo::Baz = 0
It is possible that future versions of this plugin may allow a more compact
way of providing sophisticated prerequisite specifications.
If the plugin name is the CamelCase concatenation of a phase and relationship
(or just a relationship), it will set those parameters implicitly.  If you use
a custom name, but it does not specify the relationship, and you didn't
specify either or both of `-phase' or `-relationship', these values default
to `runtime' and `requires' respectively.
The example below is equivalent to the synopsis example above, except for the
name of the resulting plugin:
-name = XS Support
-description = XS implementation (faster, requires a compiler)
-phase = runtime
-relationship = requires
Foo::Bar::XS = 1.002
=for Pod::Coverage mvp_aliases metadata register_prereqs


Package Version Architecture Repository
perl-Dist-Zilla-Plugin-OptionalFeature - - -


Name Value
/usr/share/perl5 -
perl(Dist/Zilla/Role/ -
perl(Dist/Zilla/Role/ -
perl(Dist/Zilla/Role/ -
perl(Module/ -
perl( -
perl(MooseX/Types/Common/ -
perl(MooseX/Types/ -
perl(namespace/ -
perl-base >= 1:5.10.0
rpmlib(PayloadIsLzma) -


Name Value
perl(Dist/Zilla/Plugin/ = 0.023
perl-Dist-Zilla-Plugin-OptionalFeature = 0.023-alt1


Type URL
Binary Package perl-Dist-Zilla-Plugin-OptionalFeature-0.023-alt1.noarch.rpm
Source Package perl-Dist-Zilla-Plugin-OptionalFeature-0.023-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Dist-Zilla-Plugin-OptionalFeature rpm package:
    # sudo apt-get install perl-Dist-Zilla-Plugin-OptionalFeature



See Also

Package Description
perl-Dist-Zilla-Plugin-OurDate-0.03-alt1.noarch.rpm no line insertion and does Package release date with our
perl-Dist-Zilla-Plugin-OurDist-0.02-alt1.noarch.rpm Add a $DIST to your packages (no line insertion)
perl-Dist-Zilla-Plugin-OverridePkgVersion-0.002-alt1.noarch.rpm Override existing VERSION in a module
perl-Dist-Zilla-Plugin-PERLANCAR-CheckDepDists-0.06-alt1.noarch.rpm Check for dists that depend on the dist you're building
perl-Dist-Zilla-Plugin-PERLANCAR-EnsurePrereqToSpec-0.060-alt1.noarch.rpm Ensure prereq to spec modules
perl-Dist-Zilla-Plugin-PERLANCAR-GenTodoMd-0.04-alt1.noarch.rpm Generate
perl-Dist-Zilla-Plugin-PERLANCAR-MetaResources-0.040-alt1.noarch.rpm Set meta resources for dists
perl-Dist-Zilla-Plugin-PERLANCAR-OurPkgVersion-0.04-alt1.noarch.rpm no line insertion and does Package version with our
perl-Dist-Zilla-Plugin-PERLANCAR-UploadToCPAN-0.01-alt1.noarch.rpm Upload the dist to CPAN
perl-Dist-Zilla-Plugin-PPPort-0.008-alt1.noarch.rpm PPPort for Dist::Zilla
perl-Dist-Zilla-Plugin-PatchModule-0.002-alt1.noarch.rpm Plugin to use when building patch modules
perl-Dist-Zilla-Plugin-PerlStripper-0.01-alt1.noarch.rpm Strip your modules/scripts with Perl::Stripper
perl-Dist-Zilla-Plugin-PerlTidy-0.21-alt1_4.noarch.rpm Perltidy your dist
perl-Dist-Zilla-Plugin-PerlVersionPrereqs-0.01-alt1.noarch.rpm set additional prereqs for older perls
perl-Dist-Zilla-Plugin-Pinto-Add-0.088-alt1.noarch.rpm Ship your dist to a Pinto repository