-
Notifications
You must be signed in to change notification settings - Fork 28
/
narray.gemspec
69 lines (65 loc) · 1.45 KB
/
narray.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
open("src/narray.h") do |f|
f.each_line do |l|
if /NARRAY_VERSION "([\d.]+)"/ =~ l
NARRAY_VERSION = $1
break
end
end
end
GEMSPEC = Gem::Specification.new do |s|
s.name = "narray"
s.version = NARRAY_VERSION
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Masahiro Tanaka"]
s.date = Time.now.strftime("%F")
s.description = "Numerical N-dimensional Array class"
s.email = "masa16.tanaka@gmail.com"
s.extensions = ["src/extconf.rb"]
s.files = %w[
ChangeLog
MANIFEST
README.md
README.ja.md
SPEC.en.txt
SPEC.ja.txt
src/depend
src/extconf.rb
src/mkmath.rb
src/mknafunc.rb
src/mkop.rb
src/na_array.c
src/na_func.c
src/na_index.c
src/na_linalg.c
src/na_random.c
src/narray.c
src/narray.def
src/narray.h
src/narray_local.h
src/lib/narray/narray_ext.rb
src/lib/narray/nmatrix.rb
]
s.rdoc_options = %w[
--title NArray
--main NArray
--exclude mk.*
--exclude extconf\.rb
--exclude src/.*\.h
--exclude src/lib/
--exclude .*\.o
--exclude narray\.so
--exclude libnarray\.*
]
s.homepage = "http://masa16.github.io/narray/"
s.require_paths = ["."]
s.rubygems_version = "1.8.10"
s.summary = "N-dimensional Numerical Array class for Ruby"
s.license = "Ruby"
if s.respond_to? :specification_version then
s.specification_version = 2
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
else
end
else
end
end