File: Makefile_PL_settings.plx

package info (click to toggle)
libfunction-parameters-perl 2.002005-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 624 kB
  • sloc: perl: 3,945; makefile: 3
file content (59 lines) | stat: -rw-r--r-- 1,529 bytes parent folder | download
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
54
55
56
57
58
59
use strict;
use warnings;

{
    my $broken;
    if (eval { require Moose }) {
        if (!eval { package A_Moose_User; Moose->import; 1 }) {
            $broken = 'import';
        }
    } elsif ($@ !~ /^Can't locate Moose\.pm /) {
        $broken = 'require';
    }
    if ($broken) {
        print STDERR <<"EOT";
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! Error: You seem to have Moose but I can't "use" it ($broken dies). !!!
!!! This would cause confusing test errors, so I'm bailing out. Sorry. !!!
!!! Maybe try upgrading Moose?                                         !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

The exception was:
$@
EOT
        exit 1;
    }
}

return {
    NAME   => 'Function::Parameters',
    AUTHOR => q{Lukas Mai <l.mai@web.de>},

    MIN_PERL_VERSION => '5.14.0',
    CONFIGURE_REQUIRES => {},
    BUILD_REQUIRES => {},
    TEST_REQUIRES => {
        'constant'    => 0,
        'strict'      => 0,
        'utf8'        => 0,
        'FindBin'     => 0,
        'Hash::Util'  => 0.07,
        'Test::More'  => 0,
        'Test::Fatal' => 0,
    },
    PREREQ_PM => {
        'Carp'         => 0,
        'Scalar::Util' => 0,
        'XSLoader'     => 0,
        'warnings'     => 0,
    },

    depend => {
        '$(OBJECT)' => join(' ', glob 'hax/*.c.inc'),
    },

    REPOSITORY => [ codeberg => 'mauke' ],
    BUGTRACKER => 'https://codeberg.org/mauke/Function-Parameters/issues',

    HARNESS_OPTIONS => ['j4'],
};