File: mini_portile2.gemspec

package info (click to toggle)
ruby-mini-portile2 2.8.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 336 kB
  • sloc: ruby: 1,838; ansic: 38; sh: 8; makefile: 4
file content (38 lines) | stat: -rw-r--r-- 1,366 bytes parent folder | download
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
require_relative "lib/mini_portile2/version"

Gem::Specification.new do |spec|
  spec.name = "mini_portile2"
  spec.version = MiniPortile::VERSION

  spec.authors = ["Luis Lavena", "Mike Dalessio", "Lars Kanis"]
  spec.email = "mike.dalessio@gmail.com"

  spec.summary = "Simple autoconf and cmake builder for developers"
  spec.description = <<~TEXT
    Simple autoconf and cmake builder for developers. It provides a standard way to compile against
    dependency libraries without requiring system-wide installation. It also simplifies
    vendoring and cross-compilation by providing a consistent build interface.
  TEXT

  spec.homepage = "https://github.com/flavorjones/mini_portile"
  spec.licenses = ["MIT"]

  begin
    spec.files = `git ls-files -z`.split("\x0")
  rescue Exception => e
    warn "WARNING: could not set spec.files: #{e.class}: #{e}"
  end

  # omit the `examples` directory from the gem, because it's large and
  # not necessary to be packaged in the gem.
  example_files = spec.files.grep(%r{^examples/})
  spec.files -= example_files

  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files = spec.files.grep(%r{^(test|spec|features|examples)/})
  spec.require_paths = ["lib"]

  spec.required_ruby_version = ">= 2.3.0"

  spec.metadata["changelog_uri"] = spec.homepage + "/blob/main/CHANGELOG.md"
end