Skip to content

Commit 3c2dcee

Browse files
committed
Sort out issue with the build dependancy
1 parent a0b8f8a commit 3c2dcee

File tree

5 files changed

+38
-100
lines changed

5 files changed

+38
-100
lines changed

META.json

Lines changed: 0 additions & 62 deletions
This file was deleted.

META.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

Makefile.PL

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,25 @@ if ($Config{myuname} =~ /sunos|solaris/i) {
5555
my %WriteMakefileArgs = (
5656
"ABSTRACT" => "Get the Configured API level if it is defined",
5757
"AUTHOR" => "Timothy Legge <timlegge\@cpan.org>",
58+
"BUILD_REQUIRES" => {
59+
"Crypt::OpenSSL::Guess" => 0
60+
},
5861
"CONFIGURE_REQUIRES" => {
59-
"Crypt::OpenSSL::Guess" => 0,
6062
"ExtUtils::MakeMaker" => 0
6163
},
6264
"DISTNAME" => "Crypt-OpenSSL-ConfiguredAPI",
6365
"LICENSE" => "apache",
6466
"MIN_PERL_VERSION" => "5.014",
6567
"NAME" => "Crypt::OpenSSL::ConfiguredAPI",
66-
"PREREQ_PM" => {},
67-
"VERSION" => "0.01",
68+
"PREREQ_PM" => {
69+
"Exporter" => 0,
70+
"XSLoader" => 0
71+
},
72+
"TEST_REQUIRES" => {
73+
"Crypt::OpenSSL::Guess" => 0,
74+
"Test::More" => 0
75+
},
76+
"VERSION" => "0.02",
6877
"test" => {
6978
"TESTS" => "t/*.t"
7079
}
@@ -75,7 +84,12 @@ my %WriteMakefileArgs = (
7584
%args,
7685
);
7786

78-
my %FallbackPrereqs = ();
87+
my %FallbackPrereqs = (
88+
"Crypt::OpenSSL::Guess" => 0,
89+
"Exporter" => 0,
90+
"Test::More" => 0,
91+
"XSLoader" => 0
92+
);
7993

8094
unless ( eval { ExtUtils::MakeMaker->VERSION('6.63_03') } ) {
8195
delete $WriteMakefileArgs{TEST_REQUIRES};

cpanfile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
# This file is generated by Dist::Zilla::Plugin::CPANFile v6.030
22
# Do not edit this file directly. To change prereqs, edit the `dist.ini` file.
33

4+
requires "Exporter" => "0";
5+
requires "XSLoader" => "0";
46
requires "perl" => "5.014";
57

6-
on 'configure' => sub {
8+
on 'build' => sub {
9+
requires "Crypt::OpenSSL::Guess" => "0";
10+
};
11+
12+
on 'test' => sub {
713
requires "Crypt::OpenSSL::Guess" => "0";
14+
requires "Test::More" => "0";
15+
};
16+
17+
on 'configure' => sub {
818
requires "ExtUtils::MakeMaker" => "0";
919
};
1020

dist.ini

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,15 @@ maintainer = Timothy Legge <timlegge@cpan.org>
1414
-remove = MakeMaker
1515
-remove = Readme
1616

17-
[Prereqs / ConfigureRequires]
17+
[AutoPrereqs]
18+
skip = ^vars$
19+
skip = utf8
20+
skip = warnings
21+
skip = strict
22+
skip = overload
23+
skip = base
24+
25+
[Prereqs / BuildRequires]
1826
Crypt::OpenSSL::Guess = 0
1927

2028
[Prereqs / RuntimeRequires]
@@ -57,8 +65,6 @@ filename = Changes
5765
copy = Makefile.PL
5866
copy = LICENSE
5967
copy = cpanfile
60-
copy = META.yml
61-
copy = META.json
6268

6369
[MakeMaker::Awesome]
6470
header_file = maint/Makefile_header.PL

0 commit comments

Comments
 (0)