summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-09-10 09:50:26 +0200
committerHans de Graaff <graaff@gentoo.org>2020-09-11 06:06:04 +0200
commita6dad0a5410e7085f39322e04db9eddf097217e7 (patch)
tree740b5b9e223f66c8c2cf977d99ba8b9403aa086d /dev-ruby/recog
parentapp-text/sword-modules: add app-dicts/sword-VieStrongsGreek (diff)
downloadgentoo-a6dad0a5410e7085f39322e04db9eddf097217e7.tar.gz
gentoo-a6dad0a5410e7085f39322e04db9eddf097217e7.tar.bz2
gentoo-a6dad0a5410e7085f39322e04db9eddf097217e7.zip
dev-ruby/recog: add 2.3.14
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/recog')
-rw-r--r--dev-ruby/recog/Manifest1
-rw-r--r--dev-ruby/recog/recog-2.3.14.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/recog/Manifest b/dev-ruby/recog/Manifest
index 765b43f8c2f4..3948fda1a5a0 100644
--- a/dev-ruby/recog/Manifest
+++ b/dev-ruby/recog/Manifest
@@ -1,2 +1,3 @@
+DIST recog-2.3.14.gem 331776 BLAKE2B 62aad2cf8252c24cd7adc456a022555f05924e501fd5f2fafeb87c2587e049ee41a501602bc1b5d97370a69a6b98f1ae77df22bfb7ae2c9e80b38b5e0a1518df SHA512 1154ca3d610fe8f554a15846b49f978d3798c9a43893c40d58c8421e8012c0823368d374ecadd351fc1479037c898966dc2dba9debb4c46ce6b743c7782a848f
DIST recog-2.3.6.gem 266752 BLAKE2B ec11be53a79f83b174c12f44d90c4085e02ae10fb49744ee6c5d655e4be32414fa158f6a11b2d73786c00447f8ebf3f40aecd422f14886a72eb59f1519a65f63 SHA512 b4731092884de9dcf961122bf0cd5b4ed2fe8b9fc7ecdbd144d0813cbad52895ab4b3c0b7069a7f7e7a80bcf236cfd1c8c0d594d2caa65a76cca60e362009b43
DIST recog-2.3.7.gem 276480 BLAKE2B 227b5ee13245a8c3f47b9aae1a3a15133669bf2d0438f6c693da6496243b915e036ee922f0db3bbfa605b38803c4bd1cae472b8494f74d7dc73b2d476cc164b0 SHA512 184ed1bbd661899d66f51675f2c5e62804b24b75426ad064c1fff8d5e3f2e083cdbd48c5482beedbaebc355f0fcff3e29d1406d7bbc31c55a17fa467adf7c280
diff --git a/dev-ruby/recog/recog-2.3.14.ebuild b/dev-ruby/recog/recog-2.3.14.ebuild
new file mode 100644
index 000000000000..e7b78df0cb67
--- /dev/null
+++ b/dev-ruby/recog/recog-2.3.14.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="xml"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Pattern recognition for hosts, services, and content"
+HOMEPAGE="https://github.com/rapid7/recog"
+
+LICENSE="BSD-2"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/nokogiri"
+
+ruby_add_bdepend "test? (
+ dev-ruby/regexp_parser:0
+ dev-ruby/rspec:3
+ dev-util/aruba:1
+ dev-util/cucumber
+)"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/I s:^:#:' -e '1igem "regexp_parser", "~>0.2"' spec/spec_helper.rb || die
+}
+
+each_ruby_test() {
+ RSPEC_VERSION=3 ruby-ng_rspec
+ ruby-ng_cucumber
+}