-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.PL
68 lines (64 loc) · 2.38 KB
/
Makefile.PL
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
60
61
62
63
64
65
66
67
68
use 5.008000;
use utf8;
use strict;
use warnings;
use ExtUtils::MakeMaker;
# Make setting optional MakeMaker parameters more readable.
sub OPTIONAL {
return () unless $ExtUtils::MakeMaker::VERSION ge shift;
return @_;
}
WriteMakefile(
NAME => 'Set::Relation',
VERSION => '0.13.4',
ABSTRACT => 'A relation data type',
AUTHOR => 'Darren Duncan <darren@DarrenDuncan.net>',
PREREQ_PM => {
# This list is a copy of "META_ADD:[configure_|build_|]requires"
# where the other is canonical; this list is for use by MakeMaker
# itself, which in general wouldn't see the info in the other lists,
# as the other lists are primarily used when generating the META.yml/json.
'Carp' => '1.01',
'ExtUtils::MakeMaker' => '6.03',
'List::Util' => '1.4602',
'Scalar::Util' => '1.13',
'Test::Deep' => '0.106',
'Test::More' => '0.92',
},
OPTIONAL( '6.48',
MIN_PERL_VERSION => '5.008000',
),
OPTIONAL( '6.31',
LICENSE => 'artistic_2',
),
OPTIONAL( '6.46',
# Use META_ADD instead of META_MERGE so that we can remove
# any build-time dependencies that MakeMaker will put into
# the requires field. (Comment From DBD::SQLite; do *we* need that?)
META_ADD => {
configure_requires => {
'ExtUtils::MakeMaker' => '6.03', # bundled with Perl 5.8.0
},
build_requires => {
'ExtUtils::MakeMaker' => '6.03', # bundled with Perl 5.8.0
# These are bundled with newer versions of Perl only.
'Test::More' => '0.92', # bundled with Perl 5.10.1, min 0.88 needed
# These are not bundled with any version of Perl.
'Test::Deep' => '0.106', # tests req 0.106+ w Perl 5.10.1+
},
requires => {
'perl' => '5.008000', # as MIN_PERL_VERSION no affect META.yml
'Carp' => '1.01', # bundled with Perl 5.8.0
# These are bundled with newer versions of Perl only.
'Scalar::Util' => '1.13', # bundled with Perl 5.8.1, min 1.09 needed
'List::Util' => '1.4602', # bundled with Perl 5.26.0, min 1.45 needed
},
resources => {
homepage => 'https://muldis.com',
license => 'https://www.perlfoundation.org/artistic-license-20.html',
repository => 'https://github.com/muldis/Set_Relation_Perl',
},
},
),
);
1;