Commit | Line | Data |
41fbb4f0 |
1 | use inc::Module::Install 1.00; |
2 | |
3 | use 5.006002; |
4 | perl_version '5.006002'; |
20169807 |
5 | |
6 | name 'Class-C3-Componentised'; |
20169807 |
7 | author 'Ash Berlin <ash@cpan.org>'; |
41fbb4f0 |
8 | all_from 'lib/Class/C3/Componentised.pm'; |
20169807 |
9 | |
c5afd77d |
10 | test_requires 'Test::Exception' => '0.31'; |
59f64bd9 |
11 | test_requires 'Test::More' => '0.96'; |
c5afd77d |
12 | |
13 | requires 'MRO::Compat' => '0.09'; |
14 | requires 'Class::Inspector' => '1.23'; |
20169807 |
15 | |
d2b0e111 |
16 | # we don't actually need Class::C3. MRO::Compat loads it on 5.8. On 5.10 it |
17 | # isn't needed. However, some existing code relies on us loading Class::C3. We |
18 | # don't want to break it just yet. Therefore we depend directly on Class::C3 as |
19 | # well. |
d2b0e111 |
20 | requires 'Class::C3' => '0.20'; |
21 | |
06e2d102 |
22 | resources repository => 'git://git.shadowcat.co.uk/p5sagit/Class-C3-Componentised.git'; |
23 | |
4f07ebe6 |
24 | if ($Module::Install::AUTHOR) { |
25 | |
26 | print "Regenerating README\n"; |
27 | system('pod2text lib/Class/C3/Componentised.pm > README'); |
28 | |
29 | if (-f 'MANIFEST') { |
30 | print "Removing MANIFEST\n"; |
31 | unlink 'MANIFEST'; |
32 | } |
33 | } |
34 | |
35 | |
20169807 |
36 | WriteAll; |