packspec 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 13e818a52ccdb515a5c699da3254b2b1675d802b
4
+ data.tar.gz: 59ccbef5f6fe870d97c5f7a00f8d0d6e20523586
5
+ SHA512:
6
+ metadata.gz: ecb57f568d87f92f627f7945102b0469f2a53adfc5170e0f76e4f1e0c3f861132aa37a4c2fe450c75aa94e05e9a40950c5b5315ea8ad2d4e8552a1e0e233d780
7
+ data.tar.gz: 5f9a8c5fbb2ae245563e71660e1dc41c3b85553484cd2cab427cb26eea23fb0520bde9719dbc03e4d103dad09712e53eef358dc27f53f561426eb5f9e4609e9a
data/.gitignore ADDED
@@ -0,0 +1,54 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ # Used by dotenv library to load environment variables.
14
+ # .env
15
+
16
+ ## Specific to RubyMotion:
17
+ .dat*
18
+ .repl_history
19
+ build/
20
+ *.bridgesupport
21
+ build-iPhoneOS/
22
+ build-iPhoneSimulator/
23
+
24
+ ## Specific to RubyMotion (use of CocoaPods):
25
+ #
26
+ # We recommend against adding the Pods directory to your .gitignore. However
27
+ # you should judge for yourself, the pros and cons are mentioned at:
28
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
29
+ #
30
+ # vendor/Pods/
31
+
32
+ ## Documentation cache and generated files:
33
+ /.yardoc/
34
+ /_yardoc/
35
+ /doc/
36
+ /rdoc/
37
+
38
+ ## Environment normalization:
39
+ /.bundle/
40
+ /vendor/bundle
41
+ /lib/bundler/man/
42
+
43
+ # for a library or gem, you might want to ignore these files since the code is
44
+ # intended to run in multiple environments; otherwise, check them in:
45
+ # Gemfile.lock
46
+ # .ruby-version
47
+ # .ruby-gemset
48
+
49
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
50
+ .rvmrc
51
+
52
+ # Extra
53
+ Gemfile.lock
54
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,19 @@
1
+ sudo:
2
+ false
3
+
4
+ language:
5
+ ruby
6
+
7
+ rvm:
8
+ - 2.1.2
9
+
10
+ before_install:
11
+ gem install bundler -v 1.14.6
12
+
13
+ deploy:
14
+ provider: rubygems
15
+ gem: packspec
16
+ on:
17
+ tags: true
18
+ api_key:
19
+ secure: EiLsdiVehmjbo7JKOQEYsLdU9uKksgZDwpBIv+aTdEgQBLl0lj2Aiz1/wj8tyOGaeHAl5itQXEFLNE+GS8vRkXJjFZOWo0gKIrfT2B4l82wR2fcS7VlIJ9oB5WqazqAvv5/oi6IRzm2Yt54kR72mztND7WxBzgJLTWcUZVA9GueEDoF+Jnkm/usy/t7q8fWvi01/ajVnQJQnpVoZ7lPQ47eY2tKtWGY//gHZkMiON0iH4TkReW3+0ON8Raq1v9UVqKRiyicqZogH3/rCy+TEOii71Fh/U/kgZSc4GV71uCZ8Bg+3Ijk29vZngan0P9VlwrhTjdnDmLy5ZSNzSa57YMmZmlHBXu6ZPYLJpb49lLwDFRTSiVsSQdTJ/UjxVyN/FzCob8SSZLD4LH8xw3MJVoDcBkd3qQoLE86dkdK/+BqGzh3t7OsWIK0Ff8Xues0wXJbAsMh9d5jn0Q7Y/7D+ogoldodld8PbjQNnGQchhcBRdj+lY9TgCXsHzaxjzcgu4kyIFbjNnXC5qxsKtgZDYf9oOIPTiKX82M3NAUXrvRCun9Yr208vjzWcvAdTw0GHezGMkjL0BhnI8G7+rfk5GwJrKCHjlGhmHF3M29OZPjQipqc6Gs5jvlHq+WaSpL++IYYq2mA+V+Va6Nx+6yIJyuw4RbQKM3/Q9NLw4yrmYVM=
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in packspec.gemspec
4
+ gemspec
data/LICENSE.md ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Evgeny Karev
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
data/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # Packspec::Rb
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/packspec/rb`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'packspec'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install packspec
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/packspec-rb.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "packspec/rb"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/lib/cli.rb ADDED
@@ -0,0 +1,348 @@
1
+ require 'pp'
2
+ require 'json'
3
+ require 'yaml'
4
+ require 'emoji'
5
+ require 'colorize'
6
+ require 'test/unit'
7
+ extend Test::Unit::Assertions
8
+
9
+
10
+ # Helpers
11
+
12
+ def parse_specs(path)
13
+
14
+ # Specs
15
+ specmap = {}
16
+ for path in Dir.glob("#{path}/**/*.yml")
17
+ spec = parse_spec(File.read(path))
18
+ if !spec
19
+ next
20
+ elsif !specmap.include?(spec['package'])
21
+ specmap[spec['package']] = spec
22
+ else
23
+ specmap[spec['package']]['features'].merge!(spec['features'])
24
+ end
25
+ end
26
+
27
+ # Hooks
28
+ # TODO: implement
29
+
30
+ # Result
31
+ specs = Array(specmap.sort.to_h.each_value)
32
+
33
+ return specs
34
+
35
+ end
36
+
37
+
38
+ def parse_spec(spec)
39
+
40
+ # Package
41
+ contents = YAML.load(spec)
42
+ begin
43
+ feature = parse_feature(contents[0])
44
+ package = feature['result']
45
+ assert_equal(feature['assign'], 'PACKAGE')
46
+ assert_equal(feature['skip'], nil)
47
+ rescue Exception
48
+ return nil
49
+ end
50
+
51
+ # Features
52
+ features = []
53
+ for feature in contents
54
+ feature = parse_feature(feature)
55
+ features.push(feature)
56
+ end
57
+
58
+ # Scope
59
+ scope = {}
60
+ require(package)
61
+ for item in ObjectSpace.each_object
62
+ if package == String(item).downcase
63
+ begin
64
+ namespace = Kernel.const_get(item)
65
+ rescue Exception
66
+ next
67
+ end
68
+ for name in namespace.constants
69
+ scope[String(name)] = namespace.const_get(name)
70
+ end
71
+ end
72
+ end
73
+
74
+ return {
75
+ 'package' => package,
76
+ 'features' => features,
77
+ 'scope' => scope,
78
+ }
79
+
80
+ end
81
+
82
+
83
+ def parse_feature(feature)
84
+ if feature.is_a?(String)
85
+ return {'comment' => feature}
86
+ end
87
+ left, right = Array(feature.each_pair)[0]
88
+
89
+ # Left side
90
+ call = false
91
+ match = /^(?:(.*):)?(?:([^=]*)=)?([^=].*)?$/.match(left)
92
+ skip, assign, property = match[1], match[2], match[3]
93
+ if !!skip
94
+ filters = skip.split(':')
95
+ skip = (filters[0] == 'not') == (filters.include?('rb'))
96
+ end
97
+ if !assign and !property
98
+ raise Exception.new('Non-valid feature')
99
+ end
100
+ if !!property
101
+ call = true
102
+ if property.end_with?('==')
103
+ property = property[0..-3]
104
+ call = false
105
+ end
106
+ end
107
+
108
+ # Right side
109
+ args = []
110
+ kwargs = {}
111
+ result = right
112
+ if !!call
113
+ result = nil
114
+ for item in right
115
+ if item.is_a?(Hash) && item.length == 1
116
+ item_left, item_right = Array(item.each_pair)[0]
117
+ if item_left == '=='
118
+ result = item_right
119
+ next
120
+ end
121
+ if item_left.end_with?('=')
122
+ kwargs[item_left[0..-2]] = item_right
123
+ next
124
+ end
125
+ end
126
+ args.push(item)
127
+ end
128
+ end
129
+
130
+ # Text repr
131
+ text = property
132
+ if !!assign
133
+ text = "#{assign} = #{property || JSON.generate(result)}"
134
+ end
135
+ if !!call
136
+ items = []
137
+ for item in args
138
+ items.push(JSON.generate(item))
139
+ end
140
+ for name, item in kwargs.each_pair
141
+ items.push("#{name}=#{JSON.generate(item)}")
142
+ end
143
+ text = "#{text}(#{items.join(', ')})"
144
+ end
145
+ if !!result && !assign
146
+ text = "#{text} == #{JSON.generate(result)}"
147
+ end
148
+ text = text.gsub(/{"([^{}]*?)": null}/, '\1')
149
+
150
+ return {
151
+ 'comment' => nil,
152
+ 'skip' => skip,
153
+ 'call' => call,
154
+ 'assign' => assign,
155
+ 'property' => property,
156
+ 'args' => args,
157
+ 'kwargs' => kwargs,
158
+ 'result' => result,
159
+ 'text' => text,
160
+ }
161
+
162
+ end
163
+
164
+
165
+ def test_specs(specs)
166
+ success = true
167
+ message = "\n # Ruby\n".bold
168
+ puts(message)
169
+ for spec in specs
170
+ spec_success = test_spec(spec)
171
+ success = success && spec_success
172
+ end
173
+ return success
174
+ end
175
+
176
+
177
+ def test_spec(spec)
178
+ passed = 0
179
+ amount = spec['features'].length
180
+ message = Emoji.find_by_alias('heavy_minus_sign').raw * 3 + "\n\n"
181
+ puts(message)
182
+ for feature in spec['features']
183
+ result = test_feature(feature, spec['scope'])
184
+ if result
185
+ passed += 1
186
+ end
187
+ end
188
+ success = (passed == amount)
189
+ color = 'green'
190
+ message = ("\n " + Emoji.find_by_alias('heavy_check_mark').raw + ' ').green.bold
191
+ if !success
192
+ color = 'red'
193
+ message = ("\n " + Emoji.find_by_alias('x').raw + ' ').red.bold
194
+ end
195
+ message += "#{spec['package']}: #{passed}/#{amount}\n".colorize(color).bold
196
+ puts(message)
197
+ return success
198
+ end
199
+
200
+
201
+ def test_feature(feature, scope)
202
+
203
+ # Comment
204
+ if !!feature['comment']
205
+ message = "\n # #{feature['comment']}\n".bold
206
+ puts(message)
207
+ return true
208
+ end
209
+
210
+ # Skip
211
+ if !!feature['skip']
212
+ message = " #{Emoji.find_by_alias('heavy_minus_sign').raw} ".yellow
213
+ message += feature['text']
214
+ puts(message)
215
+ return true
216
+ end
217
+
218
+ # Execute
219
+ # TODO: dereference feature
220
+ result = feature['result']
221
+ if !!feature['property']
222
+ begin
223
+ property = scope
224
+ for name in feature['property'].split('.')
225
+ property = get_property(property, name)
226
+ end
227
+ if !!feature['call']
228
+ # TODO: support kwargs
229
+ if property.respond_to?('new')
230
+ result = property.new(*feature['args'])
231
+ else
232
+ result = property.call(*feature['args'])
233
+ end
234
+ else
235
+ result = property
236
+ end
237
+ rescue Exception
238
+ result = 'ERROR'
239
+ end
240
+ end
241
+
242
+ # Assign
243
+ if !!feature['assign']
244
+ owner = scope
245
+ names = feature['assign'].split('.')
246
+ for name in names[0..-2]
247
+ owner = get_property(owner, name)
248
+ end
249
+ # TODO: ensure constants are immutable
250
+ set_property(owner, names[-1], result)
251
+ end
252
+
253
+ # Compare
254
+ # TODO: isoformat value
255
+ if feature['result'] != nil
256
+ success = result == feature['result']
257
+ else
258
+ success = result != 'ERROR'
259
+ end
260
+ if success
261
+ message = " #{Emoji.find_by_alias('heavy_check_mark').raw} ".green
262
+ message += feature['text']
263
+ puts(message)
264
+ else
265
+ begin
266
+ result_text = JSON.generate(result)
267
+ rescue Exception
268
+ result_text = result.to_s
269
+ end
270
+ message = " #{Emoji.find_by_alias('x').raw} ".red
271
+ message += "#{feature['text']} # #{result_text}"
272
+ puts(message)
273
+ end
274
+
275
+ return success
276
+
277
+ end
278
+
279
+
280
+ def dereference_feature(feature, scope)
281
+ #TODO: deepcopy feature
282
+ if !!feature['call']
283
+ feature['args'] = dereference_value(feature['args'], scope)
284
+ feature['kwargs'] = dereference_value(feature['kwargs'], scope)
285
+ end
286
+ feature['result'] = dereference_value(feature['result'], scope)
287
+ return feature
288
+ end
289
+
290
+
291
+ def dereference_value(value, scope)
292
+ #TODO: deepcopy value
293
+ if value.is_a?(Hash) && value.lengh == 1 && Array(value.each_value)[0] == nil
294
+ result = scope
295
+ for name in Array(value.each_key)[0].split('.')
296
+ result = get_property(result, name)
297
+ end
298
+ value = result
299
+ elsif value.is_a?(Hash)
300
+ for key, item in value
301
+ value[key] = dereference_value(item, scope)
302
+ end
303
+ elsif value.is_a?(Array)
304
+ for item, index in value.each_with_index
305
+ value[index] = dereference_value(item, scope)
306
+ end
307
+ end
308
+ return value
309
+ end
310
+
311
+
312
+ def isoformat_value(value)
313
+ # TODO: implement
314
+ return value
315
+ end
316
+
317
+
318
+ def get_property(owner, name)
319
+ # TODO: review
320
+ result = nil
321
+ if owner.is_a?(Hash)
322
+ result = owner[name]
323
+ end
324
+ if !result
325
+ result = owner.method(name)
326
+ end
327
+ return result
328
+ end
329
+
330
+
331
+ def set_property(owner, name, value)
332
+ # TODO: review
333
+ if owner.is_a?(Hash)
334
+ owner[name] = value
335
+ return
336
+ end
337
+ return owner.const_set(name, value)
338
+ end
339
+
340
+
341
+ # Main program
342
+
343
+ path = ARGV[0] || '.'
344
+ specs = parse_specs(path)
345
+ success = test_specs(specs)
346
+ if !success
347
+ exit(1)
348
+ end
data/packspec.gemspec ADDED
@@ -0,0 +1,30 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "packspec"
7
+ spec.version = "0.1.0"
8
+ spec.authors = ["Evgeny Karev\n"]
9
+ spec.email = ["eskarev@gmail.com"]
10
+
11
+ spec.summary = %q{packspec}
12
+ spec.description = %q{packspec}
13
+ spec.homepage = "https://github.com/packspec/packspec-rb"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
+ f.match(%r{^(test|spec|features)/})
18
+ end
19
+
20
+ spec.bindir = "exe"
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
+ spec.require_paths = ["lib"]
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.14"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "rspec", "~> 3.0"
27
+
28
+ spec.add_dependency "colorize", "~> 0.8"
29
+ spec.add_dependency "gemoji", "~> 3.0"
30
+ end
metadata ADDED
@@ -0,0 +1,127 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: packspec
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - 'Evgeny Karev
8
+
9
+ '
10
+ autorequire:
11
+ bindir: exe
12
+ cert_chain: []
13
+ date: 2017-06-04 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: bundler
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - "~>"
20
+ - !ruby/object:Gem::Version
21
+ version: '1.14'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "~>"
27
+ - !ruby/object:Gem::Version
28
+ version: '1.14'
29
+ - !ruby/object:Gem::Dependency
30
+ name: rake
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - "~>"
34
+ - !ruby/object:Gem::Version
35
+ version: '10.0'
36
+ type: :development
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '10.0'
43
+ - !ruby/object:Gem::Dependency
44
+ name: rspec
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '3.0'
50
+ type: :development
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: '3.0'
57
+ - !ruby/object:Gem::Dependency
58
+ name: colorize
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '0.8'
64
+ type: :runtime
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - "~>"
69
+ - !ruby/object:Gem::Version
70
+ version: '0.8'
71
+ - !ruby/object:Gem::Dependency
72
+ name: gemoji
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - "~>"
76
+ - !ruby/object:Gem::Version
77
+ version: '3.0'
78
+ type: :runtime
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - "~>"
83
+ - !ruby/object:Gem::Version
84
+ version: '3.0'
85
+ description: packspec
86
+ email:
87
+ - eskarev@gmail.com
88
+ executables: []
89
+ extensions: []
90
+ extra_rdoc_files: []
91
+ files:
92
+ - ".gitignore"
93
+ - ".rspec"
94
+ - ".travis.yml"
95
+ - Gemfile
96
+ - LICENSE.md
97
+ - README.md
98
+ - Rakefile
99
+ - bin/console
100
+ - bin/setup
101
+ - lib/cli.rb
102
+ - packspec.gemspec
103
+ homepage: https://github.com/packspec/packspec-rb
104
+ licenses:
105
+ - MIT
106
+ metadata: {}
107
+ post_install_message:
108
+ rdoc_options: []
109
+ require_paths:
110
+ - lib
111
+ required_ruby_version: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ version: '0'
116
+ required_rubygems_version: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - ">="
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
121
+ requirements: []
122
+ rubyforge_project:
123
+ rubygems_version: 2.6.12
124
+ signing_key:
125
+ specification_version: 4
126
+ summary: packspec
127
+ test_files: []