remove direct use of Class::C3 in tests
[p5sagit/Class-C3-Componentised.git] / Makefile.PL
CommitLineData
41fbb4f0 1use inc::Module::Install 1.00;
2
3use 5.006002;
4perl_version '5.006002';
20169807 5
6name 'Class-C3-Componentised';
20169807 7author 'Ash Berlin <ash@cpan.org>';
41fbb4f0 8all_from 'lib/Class/C3/Componentised.pm';
20169807 9
c5afd77d 10test_requires 'Test::Exception' => '0.31';
59f64bd9 11test_requires 'Test::More' => '0.96';
c5afd77d 12
13requires 'MRO::Compat' => '0.09';
14requires '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 20requires 'Class::C3' => '0.20';
21
06e2d102 22resources repository => 'git://git.shadowcat.co.uk/p5sagit/Class-C3-Componentised.git';
23
4f07ebe6 24if ($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 36WriteAll;