File: Makefile.PL

package info (click to toggle)
libcatalyst-authentication-store-dbix-class-perl 0.1506-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 328 kB
  • sloc: perl: 3,172; makefile: 2
file content (53 lines) | stat: -rw-r--r-- 1,806 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
use inc::Module::Install 0.91;

if( -e 'MANIFEST.SKIP' ) {
    system( 'pod2text lib/Catalyst/Authentication/Store/DBIx/Class.pm > README' );
}
realclean_files 'README';

## I'd love to use can_use - but I can't seem to test for success. :-/
eval { require Catalyst::Plugin::Authentication::Store::DBIx::Class or die 'footy'; };

if (!$@) {   #} can_use("Catalyst::Plugin::Authentication::Store::DBIx::Class") ) {
    print STDERR <<EOM;
*******************************************
***  WARNING:  DEPRECATED MODULE FOUND  ***
*******************************************

You have the Catalyst::Plugin::Authentication::Store::DBIx::Class installed.
The module you are installing supercedes it and it's presence has been known
to cause conflicts.   We STRONGLY recommend you remove the old module before
proceeding.

You can use CPANPLUS (the cpanp command) to remove the module.

You have 5 seconds to abort this install to remove the old module.
EOM
    sleep 5;
    print STDERR "Ok. Proceeding anyway...\n\nYou are entering a dimension not only of sight and sound, but of mind...\n\n";
}


name 'Catalyst-Authentication-Store-DBIx-Class';
all_from 'lib/Catalyst/Authentication/Store/DBIx/Class.pm';

perl_version '5.8.1';

requires (
    'Catalyst::Runtime'                 => '5.8',
    'Catalyst::Plugin::Authentication'  => '0.10008',
    'Catalyst::Model::DBIC::Schema'     => '0.18',
    'DBIx::Class'                       => '0.08',
    'Moose'                             => 0,
    'namespace::autoclean'              => 0,
    'List::MoreUtils'                   => 0,
    'Try::Tiny'                         => 0,
);

test_requires 'Test::More';

resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-Authentication-Store-DBIx-Class.git',

auto_install;
auto_provides;
WriteAll;