nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 21.05 52 lines 1.4 kB view raw
1# -*- encoding: utf-8 -*- 2lib = File.expand_path('../lib/', __FILE__) 3$:.unshift lib unless $:.include?(lib) 4 5require 'anystyle/version' 6 7Gem::Specification.new do |s| 8 s.name = 'anystyle' 9 s.version = AnyStyle::VERSION.dup 10 s.platform = Gem::Platform::RUBY 11 s.authors = ['Sylvester Keil'] 12 s.email = ['http://sylvester.keil.or.at'] 13 s.homepage = 'http://anystyle.io' 14 s.summary = 'Smart and fast bibliography parser.' 15 s.description = 'A sophisticated parser for academic reference lists and bibliographies based on machine learning algorithms using conditional random fields.' 16 s.license = 'BSD-2-Clause' 17 s.executables = [] 18 s.require_path = 'lib' 19 20 s.required_ruby_version = '>= 2.2' 21 22 s.add_runtime_dependency('bibtex-ruby', '~>5.0') 23 s.add_runtime_dependency('anystyle-data', '~>1.2') 24 s.add_runtime_dependency('gli', '~>2.17') 25 s.add_runtime_dependency('wapiti', '~>1.0', '>=1.0.2') 26 s.add_runtime_dependency('namae', '~>1.0') 27 28 s.files = 29 `git ls-files`.split("\n") - `git ls-files spec`.split("\n") - %w{ 30 .coveralls.yml 31 .gitignore 32 .rspec 33 .simplecov 34 .travis.yml 35 Gemfile 36 Rakefile 37 appveyor.yml 38 anystyle.gemspec 39 res/core.xml 40 } 41 42 s.rdoc_options = %w{ 43 --line-numbers 44 --inline-source 45 --title "AnyStyle" 46 --main README.md 47 } 48 s.extra_rdoc_files = %w{README.md LICENSE} 49 50end 51 52# vim: syntax=ruby