-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnumo-gsl.gemspec
33 lines (29 loc) · 1.16 KB
/
numo-gsl.gemspec
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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
open("ext/numo/gsl/version.h") do |f|
f.each_line do |l|
if /NUMO_GSL_VERSION "([\d.]+)"/ =~ l
VERSION = $1
break
end
end
end
Gem::Specification.new do |spec|
spec.name = "numo-gsl"
spec.version = VERSION
spec.authors = ["Masahiro TANAKA"]
spec.email = ["[email protected]"]
spec.description = %q{Numo::GSL development version.}
spec.summary = %q{Numo::GSL development version}
spec.homepage = "https://github.com/ruby-numo/numo-gsl"
spec.license = "GPL-3"
spec.files = `git ls-files Gemfile README.md Rakefile ext lib numo-gsl.gemspec spec`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.extensions = spec.files.grep(%r{^ext/numo/gsl/.*/extconf\.rb$})
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake", "~> 0"
spec.add_runtime_dependency "numo-narray", ">= 0.9.0.8"
end