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 | } |
e93d5b53 |
6 | realclean_files 'README'; |
76e7a763 |
7 | |
f26005a7 |
8 | ## I'd love to use can_use - but I can't seem to test for success. :-/ |
9 | eval { require Catalyst::Plugin::Authentication::Store::DBIx::Class or die 'footy'; }; |
10 | |
11 | if (!$@) { #} can_use("Catalyst::Plugin::Authentication::Store::DBIx::Class") ) { |
12 | print STDERR <<EOM; |
13 | ******************************************* |
14 | *** WARNING: DEPRECATED MODULE FOUND *** |
15 | ******************************************* |
16 | |
17 | You have the Catalyst::Plugin::Authentication::Store::DBIx::Class installed. |
18 | The module you are installing supercedes it and it's presence has been known |
19 | to cause conflicts. We STRONGLY recommend you remove the old module before |
6d4bea88 |
20 | proceeding. |
21 | |
22 | You can use CPANPLUS (the cpanp command) to remove the module. |
f26005a7 |
23 | |
24 | You have 5 seconds to abort this install to remove the old module. |
25 | EOM |
26 | sleep 5; |
27 | print STDERR "Ok. Proceeding anyway...\n\nYou are entering a dimension not only of sight and sound, but of mind...\n\n"; |
28 | } |
29 | |
30 | |
6727afe2 |
31 | name 'Catalyst-Authentication-Store-DBIx-Class'; |
32 | all_from 'lib/Catalyst/Authentication/Store/DBIx/Class.pm'; |
2aa8bdb6 |
33 | |
76e7a763 |
34 | perl_version '5.8.1'; |
35 | |
6d4bea88 |
36 | requires ( |
b8e7b84e |
37 | 'Catalyst::Runtime' => '5.8', |
38 | 'Catalyst::Plugin::Authentication' => '0.10008', |
39 | 'Catalyst::Model::DBIC::Schema' => '0.18', |
40 | 'DBIx::Class' => '0.08', |
41 | 'Moose' => 0, |
c305eeac |
42 | 'namespace::autoclean' => 0, |
b8e7b84e |
43 | 'List::MoreUtils' => 0, |
51f40056 |
44 | 'Try::Tiny' => 0, |
6d4bea88 |
45 | ); |
76e7a763 |
46 | |
47 | test_requires 'Test::More'; |
2aa8bdb6 |
48 | |
b48ebfcd |
49 | resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-Authentication-Store-DBIx-Class.git', |
7823fa50 |
50 | |
6d4bea88 |
51 | auto_install; |
52 | auto_provides; |
2aa8bdb6 |
53 | WriteAll; |