Debian Codegraph @

dist.ini

raw
1 name = Test-JSON-Schema-Acceptance
2 author = Ben Hutton (@relequestual) <[email protected]>
3 license = MIT
4 copyright_year = 2015
5 copyright_holder = Ben Hutton
6
7 ; ATTENTION DISTRO REPACKAGERS: do NOT use fresh copies of these files
8 ; from their source; it is important to include the original versions
9 ; of the files as they were packaged with this cpan distribution, or
10 ; surprising behaviour may occur.
11
12 ; bring local checkout up to what the submodule commit says
13 [Run::BeforeBuild]
14 quiet = 1
15 run = git submodule update --init --recursive
16 run = git submodule update --recursive ; fetches the commit captured in 'share'
17
18 ; pull in updates to the latest commit in the submodule repository
19 ; if there are new changes to the submodule, release will be halted by [Git::Check]
20 [Run::BeforeRelease]
21 :version = 0.050
22 quiet = 1
23 run = git submodule update --remote
24 run = if [[ -n $(git status --untracked --porcelain share) ]]; then bash -c "echo -e '\033[1;33m!!! submodule has changed! run './update-share' to commit updates to share/\033[0m' >&2"; fi
25
26 [Run::AfterRelease]
27 quiet = 1
28 eval = chomp(my $status = `git submodule status`);
29 eval = my ($new_sha) = split(' ', $status, 2);
30 eval = $new_sha =~ s/^\+//;
31 eval = `pushd ../JSON-Schema-Test-Suite; git tag -a -m'%n-%v' '%n-%v' $new_sha`
32
33 [Git::GatherDir / Gather sharedir]
34 root = share
35 prefix = share
36 exclude_filename = index.js
37 exclude_filename = package.json
38 exclude_filename = tox.ini
39 exclude_match = ^bin/
40 exclude_filename = tests/latest
41 exclude_match = ^annotations/ ; for now; will add support later
42
43 [=inc::OldShareDirFiles]
44 ;removed = share/tests/draft2019-09/optional/format/ecmascript-regex.json
45 removed = share/tests/draft3/optional/format.json
46 removed = share/tests/draft4/optional/format.json
47 removed = share/tests/draft6/optional/format.json
48 ;removed = share/tests/draft7/optional/format/ecmascript-regex.json
49 removed = share/remotes/folder/folderInteger.json
50 removed = share/tests/draft2019-09/optional/content.json
51 removed = share/tests/draft2019-09/optional/unicode.json
52 removed = share/tests/draft2020-12/optional/unicode.json
53 removed = share/tests/draft4/optional/unicode.json
54 removed = share/tests/draft6/optional/unicode.json
55 removed = share/tests/draft7/optional/unicode.json
56 removed = share/remotes/draft2019-09/subSchemas-defs.json
57 removed = share/remotes/draft2020-12/subSchemas-defs.json
58 removed = share/remotes/subSchemas-defs.json
59 removed = share/tests/draft2019-09/unknownKeyword.json
60 removed = share/tests/draft2020-12/unknownKeyword.json
61 removed = share/tests/draft4/id.json
62 removed = share/tests/draft6/id.json
63 removed = share/tests/draft6/unknownKeyword.json
64 removed = share/tests/draft7/id.json
65 removed = share/tests/draft7/unknownKeyword.json
66 removed = share/tests/draft2019-09/id.json
67 removed = share/tests/draft2020-12/id.json
68 removed = share/remotes/locationIndependentIdentifierDraft4.json
69 removed = share/remotes/locationIndependentIdentifierPre2019.json
70 removed = share/remotes/name.json
71 removed = share/remotes/ref-and-definitions.json
72 removed = share/remotes/subSchemas.json
73 removed = share/tests/draft3/optional/ecmascript-regex.json
74 removed = share/remotes/draft2019-09/tree.json
75 removed = share/remotes/tree.json
76 removed = share/remotes/different-id-ref-string.json
77 removed = share/remotes/extendible-dynamic-ref.json
78 removed = share/remotes/locationIndependentIdentifier.json
79 removed = share/remotes/name-defs.json
80 removed = share/remotes/nested-absolute-ref-to-string.json
81 removed = share/remotes/ref-and-defs.json
82 removed = share/remotes/urn-ref-string.json
83 removed = share/tests/v1/propertyDependencies.json
84 removed = share/tests/v1/defs.json
85
86 [@Author::ETHER]
87 :version = 0.174
88 authority = cpan:RELEQUEST
89 bugtracker = github
90 installer = MakeMaker
91 Test::MinimumVersion.max_target_perl = 5.020 ; may go higher later on
92 Git::GatherDir.exclude_filename = share ; in git, this is a filename (containing submodule info)
93 StaticInstall.mode = off ; sharedir
94 Test::ReportPrereqs.include[0] = JSON::PP
95 Test::ReportPrereqs.include[1] = Cpanel::JSON::XS
96 Test::ReportPrereqs.include[2] = JSON::XS
97 Test::ReportPrereqs.include[3] = Mojolicious
98 Test::ReportPrereqs.include[4] = builtin
99 Test::ReportPrereqs.include[5] = builtin::Backport
100
101 -remove = Test::Pod::No404s
102
103 [Prereqs / RuntimeRequires]
104 Mojolicious = 7.87 ; Mojo::JSON::JSON_XS
105 JSON::PP = 4.11
106
107 [Prereqs / RuntimeSuggests]
108 Class::XSAccessor = 0
109 Type::Tiny::XS = 0
110 Cpanel::JSON::XS = 0
111
112 [Prereqs / TestRequires]
113 Test::Simple = 1.302176 ; Test2::API::intercept compatibility with Test::Builder and TODO
114 Test2::Suite = 0.000131 ; ""
115
116 ; we almost certainly have a compiler available, because Syntax::Keyword::Try
117 ; is used (via Feature::Compat::Try) on all but the most recent perl versions.
118 [DynamicPrereqs]
119 :version = 0.040
120 -condition = want_xs()
121 -body = requires('Cpanel::JSON::XS', '3.0223')
122
123 [RemovePrereqs]
124 remove = B
125 remove = File::Spec
126 remove = Mojo::JSON
127 remove = Scalar::Util
128 remove = Test::More
129 remove = Test2::API
130 remove = Test2::Tools::Compare
131 remove = Tie::Hash
132 remove = constant
133 remove = feature
134 remove = lib
135 remove = open
136 remove = strict
137 remove = utf8
138 remove = warnings
139
140 [GenerateFile / submodule_status]
141 filename = share/submodule_status
142 content_is_template = 1
143 content = {{
144 content = chomp(my $str = `git submodule status`);
145 content = my ($sha, undef, $tag) = split(' ', $str);
146 content = chomp(my $url = `git config --file .gitmodules submodule.share.url`);
147 content = $sha.' '.$tag."\n".$url;
148 content = }}
149
150 [ShareDir]
151 dir = share