forked from karenetheridge/B-Hooks-EndOfScope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dist.ini
58 lines (51 loc) · 2.02 KB
/
dist.ini
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
name = B-Hooks-EndOfScope
author = Florian Ragwitz <rafl@debian.org>
author = Peter Rabbitson <ribasushi@leporine.io>
license = Perl_5
copyright_year = 2008
copyright_holder = Florian Ragwitz
[@Author::ETHER]
:version = 0.119 ; for installer -> EUMM dep
installer = MakeMaker
surgical_podweaver = 1
-remove = PodCoverageTests ; TODO
-remove = Test::CleanNamespaces ; TODO: fix Sub::Exporter
-remove = MinimumPerl ; 5.8.4 is hardcoded as the minimum in ::XS
-remove = Test::MinimumVersion ; ""
authority = cpan:FLORA
Git::Tag.tag_format = %v
Test::Version.has_version = 0 ; for internal modules (FIXME: new option forthcoming)
AutoPrereqs.finder = :MainModule ; only look in main module for runtime prereqs
AutoPrereqs.skip[0] = ^B::Hooks::EndOfScope
AutoPrereqs.skip[1] = ^Devel::Hide$
Test::ReportPrereqs.include[0] = DynaLoader
Test::ReportPrereqs.include[1] = Module::Runtime
Test::ReportPrereqs.include[2] = Try::Tiny
[Prereqs]
perl = 5.006001
Scalar::Util = 0
; authordep Dist::Zilla::Plugin::SurgicalPodWeaver
[Prereqs / RuntimeSuggests]
Variable::OnDestruct = 0.07 ; for the XS implementation
[Prereqs / TestSuggests]
Devel::Hide = 0.0007 ; for testing the PP implementation
[Prereqs / DevelopRequires]
Variable::OnDestruct = 0.07
Devel::Hide = 0.0007 ; releasers *must* test both the XS and PP implementations
; authordep ExtUtils::HasCompiler = 0.014
[DynamicPrereqs]
:version = 0.040
-delimiter = |
-body = |if ("$]" >= 5.008004 and want_xs()) {
; IMPORTANT!!! when changing prereqs here, also update in B::Hooks::EndOfScope::XS
; and t/10-test_without_vm_pure_pp.t
-body = | requires('Variable::OnDestruct', '0.07');
-body = |
-body = | # make sure we smoke the pure-perl version fallback
; IMPORTANT!!! when changing prereqs here, also update in t/10-test_without_vm_pure_pp.t
-body = | test_requires('Devel::Hide', '0.0007') if is_smoker();
-body = |}
-body = |if ("$]" >= '5.010') {
-body = | requires('Hash::Util::FieldHash');
-body = | requires('Tie::Hash');
-body = |}