Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coerce upgrading MooseX::Role::Parameterizable on newer CMOP installs. #4

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions dist.ini
Expand Up @@ -4,3 +4,16 @@ license = Perl_5
copyright_holder = Ricardo Signes

[@RJBS]

[DynamicPrereqs]
:version = 0.010
-include_sub = can_use
-delimiter = |
-raw = |# This version of old versions of MooseX::Role::Parameterised are broken by newer Class::MOP
-raw = |{
-raw = | my ($broken, $fixedver) = ( "MooseX::Role::Parameterized", "1.01" );
-raw = | my ($breaker,$breakver) = ( "Class::MOP", "2.1100");
-raw = | if( can_use($breaker, $breakver) and not can_use($broken,$fixedver) ) {
-raw = | $WriteMakefileArgs{PREREQ_PM}{$broken} = $FallbackPrereqs{$broken} = $fixedver;
-raw = | }
-raw = |}