Commit | Line | Data |
6d4bea88 |
1 | use inc::Module::Install 0.91; |
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 |
6d4bea88 |
19 | proceeding. |
20 | |
21 | You can use CPANPLUS (the cpanp command) to remove the module. |
f26005a7 |
22 | |
23 | You have 5 seconds to abort this install to remove the old module. |
24 | EOM |
25 | sleep 5; |
26 | print STDERR "Ok. Proceeding anyway...\n\nYou are entering a dimension not only of sight and sound, but of mind...\n\n"; |
27 | } |
28 | |
29 | |
6727afe2 |
30 | name 'Catalyst-Authentication-Store-DBIx-Class'; |
31 | all_from 'lib/Catalyst/Authentication/Store/DBIx/Class.pm'; |
2aa8bdb6 |
32 | |
76e7a763 |
33 | perl_version '5.8.1'; |
34 | |
6d4bea88 |
35 | requires ( |
36 | 'Catalyst::Runtime' => '5.80024', |
37 | 'Catalyst::Plugin::Authentication' => '0.10016', |
38 | 'Catalyst::Model::DBIC::Schema' => '0.41', |
39 | 'DBIx::Class' => '0.08122', |
40 | 'Moose' => '1.07', |
41 | 'List::MoreUtils' => '0.25', |
42 | ); |
76e7a763 |
43 | |
44 | test_requires 'Test::More'; |
2aa8bdb6 |
45 | |
de859d05 |
46 | resources repository => 'http://dev.catalystframework.org/repos/Catalyst/Catalyst-Authentication-Store-DBIx-Class'; |
7823fa50 |
47 | |
6d4bea88 |
48 | auto_install; |
49 | auto_provides; |
2aa8bdb6 |
50 | WriteAll; |