Debian Codegraph @

src/ruby/flann.gemspec

raw
1 # Copyright 2014 John O. Woods ([email protected]), West Virginia
2 # University's Applied Space Exploration Lab, and West Virginia Robotic
3 # Technology Center. All rights reserved.
4 #
5 # THE BSD LICENSE
6 #
7 # Redistribution and use in source and binary forms, with or without
8 # modification, are permitted provided that the following conditions
9 # are met:
10 #
11 # 1. Redistributions of source code must retain the above copyright
12 # notice, this list of conditions and the following disclaimer.
13 # 2. Redistributions in binary form must reproduce the above copyright
14 # notice, this list of conditions and the following disclaimer in the
15 # documentation and/or other materials provided with the distribution.
16 #
17 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
28 lib = File.expand_path('../lib/', __FILE__)
29 $:.unshift lib unless $:.include?(lib)
30
31 require 'flann/version'
32
33 Gem::Specification.new do |gem|
34 gem.name = "flann"
35 gem.version = Flann::VERSION::STRING
36 gem.summary = "Ruby interface for FLANN, approximate nearest neighbors methods in C"
37 gem.description = "Ruby interface for FLANN, approximate nearest neighbors methods in C"
38 gem.homepage = 'http://www.cs.ubc.ca/research/flann/'
39 gem.authors = ['John Woods']
40 gem.email = ['[email protected]']
41 gem.license = 'BSD 2-clause'
42 #gem.post_install_message = <<-EOF
43 #EOF
44
45 gem.files = `git ls-files`.split("\n")
46 gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
47 gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
48 gem.require_paths = ["lib"]
49
50 gem.required_ruby_version = '>= 2.0'
51
52 gem.add_dependency 'rdoc'
53 gem.add_development_dependency 'rake'
54 gem.add_development_dependency 'bundler'
55 gem.add_development_dependency 'rspec'
56 gem.add_development_dependency 'rspec-longrun'
57 gem.add_development_dependency 'pry'
58 end
59