Commit | Line | Data |
d74c836b |
1 | use inc::Module::Install 0.87; |
2aa8bdb6 |
2 | |
76e7a763 |
3 | if( -e 'MANIFEST.SKIP' ) { |
6727afe2 |
4 | system( 'pod2text lib/Catalyst/Authentication/Store/DBIx/Class.pm > README' ); |
76e7a763 |
5 | } |
6 | |
f26005a7 |
7 | ## I'd love to use can_use - but I can't seem to test for success. :-/ |
8 | eval { require Catalyst::Plugin::Authentication::Store::DBIx::Class or die 'footy'; }; |
9 | |
10 | if (!$@) { #} can_use("Catalyst::Plugin::Authentication::Store::DBIx::Class") ) { |
11 | print STDERR <<EOM; |
12 | ******************************************* |
13 | *** WARNING: DEPRECATED MODULE FOUND *** |
14 | ******************************************* |
15 | |
16 | You have the Catalyst::Plugin::Authentication::Store::DBIx::Class installed. |
17 | The module you are installing supercedes it and it's presence has been known |
18 | to cause conflicts. We STRONGLY recommend you remove the old module before |
19 | proceeding. |
20 | |
21 | You have 5 seconds to abort this install to remove the old module. |
22 | EOM |
23 | sleep 5; |
24 | print STDERR "Ok. Proceeding anyway...\n\nYou are entering a dimension not only of sight and sound, but of mind...\n\n"; |
25 | } |
26 | |
27 | |
6727afe2 |
28 | name 'Catalyst-Authentication-Store-DBIx-Class'; |
29 | all_from 'lib/Catalyst/Authentication/Store/DBIx/Class.pm'; |
2aa8bdb6 |
30 | |
76e7a763 |
31 | perl_version '5.8.1'; |
32 | |
f26005a7 |
33 | requires ( 'Catalyst::Runtime' => 0, |
f55cb81e |
34 | 'Catalyst::Plugin::Authentication' => '0.10008', |
ec6087de |
35 | 'Catalyst::Model::DBIC::Schema' => 0, |
f26005a7 |
36 | 'DBIx::Class' => 0, |
26e76b8f |
37 | 'Catalyst::Model::DBIC::Schema' => '0.18', |
f26005a7 |
38 | ); |
39 | |
76e7a763 |
40 | |
41 | test_requires 'Test::More'; |
2aa8bdb6 |
42 | |
43 | auto_install; |
7823fa50 |
44 | resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/trunk/Catalyst-Authentication-Store-DBIx-Class/'; |
45 | |
2aa8bdb6 |
46 | WriteAll; |
5000f545 |
47 | |