forked from SciRuby/nmatrix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nmatrix.gemspec
55 lines (44 loc) · 2.08 KB
/
nmatrix.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'nmatrix/version'
Gem::Specification.new do |gem|
gem.name = "nmatrix"
gem.version = NMatrix::VERSION::STRING
gem.summary = "NMatrix is a linear algebra library for Ruby"
gem.description = "NMatrix is a linear algebra library for Ruby, written mostly in C and C++."
gem.homepage = 'http://sciruby.com'
gem.authors = ['John Woods', 'Chris Wailes', 'Aleksey Timin']
gem.email = ['[email protected]']
gem.license = 'BSD 3-clause'
gem.post_install_message = <<-EOF
***********************************************************
Welcome to SciRuby: Tools for Scientific Computing in Ruby!
NMatrix requires a C compiler, and has been tested only
with GCC 4.6+. We are happy to accept contributions
which improve the portability of this project.
Also required is ATLAS. Most Linux distributions and Mac
versions include ATLAS, but you may wish to compile it
yourself. The Ubuntu/Debian apt package for ATLAS WILL
NOT WORK with NMatrix if LAPACK is also installed.
More explicit instructions for NMatrix and SciRuby should
be available on the SciRuby website, sciruby.com, or
through our mailing list (which can be found on our web-
site).
Thanks for trying out NMatrix! Happy coding!
***********************************************************
EOF
gem.files = `git ls-files`.split("\n")
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
gem.extensions = ['ext/nmatrix/extconf.rb']
gem.require_paths = ["lib"]
gem.required_ruby_version = '>= 1.9'
gem.add_dependency 'packable', '~> 1.3', '>= 1.3.5'
gem.add_development_dependency 'bundler', '~>1.6'
gem.add_development_dependency 'pry', '~>0.10'
gem.add_development_dependency 'rake', '~>10.3'
gem.add_development_dependency 'rake-compiler', '~>0.8'
gem.add_development_dependency 'rdoc', '~>4.0', '>=4.0.1'
gem.add_development_dependency 'rspec', '~>2.14'
gem.add_development_dependency 'rspec-longrun', '~>1.0'
end