summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-06-20 07:54:46 +0200
committerHans de Graaff <graaff@gentoo.org>2021-06-20 08:03:19 +0200
commitf34683588d5b1728a31c0018af6558dc32f9dffe (patch)
tree52e92d3e834cfd4a2337aad4b70583d079a53a2a /dev-ruby/recog
parentdev-ruby/pluggaloid: cleanup (diff)
downloadgentoo-f34683588d5b1728a31c0018af6558dc32f9dffe.tar.gz
gentoo-f34683588d5b1728a31c0018af6558dc32f9dffe.tar.bz2
gentoo-f34683588d5b1728a31c0018af6558dc32f9dffe.zip
dev-ruby/recog: add 2.3.20
Package-Manager: Portage-3.0.20, Repoman-3.0.2 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.20.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/recog/Manifest b/dev-ruby/recog/Manifest
index edbba645d32f..a53119304126 100644
--- a/dev-ruby/recog/Manifest
+++ b/dev-ruby/recog/Manifest
@@ -2,3 +2,4 @@ DIST recog-2.3.14.gem 331776 BLAKE2B 62aad2cf8252c24cd7adc456a022555f05924e501fd
DIST recog-2.3.15.gem 332800 BLAKE2B 4a6360f72d5ee48e066a30abf875fba18e8dcdcba6d36bf8d8de28b36405870819a1b91edee1a5877b1ddda99a25918419bf42bdd4851c7d814a2acf558439d3 SHA512 a26f722da886be22332330a9b0407ec28431ca900b43d6cb7c6fe65938a026a51d54f90cb264652fb8a70352f5e548a7ed013a4b136a7a21df4a9987b36faf0e
DIST recog-2.3.18.gem 331776 BLAKE2B 8a44b13c73e4487fc41c00b34d907fc91b6c3b9bfcf29a7366e3462a946db51e9ae8cefb09d47890c8bb71fed6b6277f117f96b5a6f7e611c8583873049ec4ad SHA512 023486b1812c7e90f1eab6f6b49733c77207b725f82adc71d0d79eafad07a13cb368b5d02c23d8f00341cbe94d77ac1b590430f0c891ab7095643af1a1772ba0
DIST recog-2.3.19.gem 343552 BLAKE2B bf5aa0e2c5e8d7a27b23f03250a3fa952dfa0ed5a2844596b00940fce2e1080ada009a46b5eeb2418845ea12f803580040fc3a3aa6871675efff1a8f4d5a4ade SHA512 f09a0ee2b4a7ecb7ca6b587a70e115e162fbca8a7a1736017305346ed03207de66f71711e78593ed242c63c3c8be9af2b341c2d06c08a6592fd3d8ecbdc60147
+DIST recog-2.3.20.gem 355328 BLAKE2B 0da5bc28ef7afa9f6e6e64911c6cc423b1667a06b9ce1cb234a89d05e3680c562796ed4701015b5621f6319c1516d5ff7c0e67bd1343bbe6464ce5982ebfdeb7 SHA512 ae247adc9dc342fb3277f4f231f5f827e470a74fea5e609ca53cd1dc9b48c5742a16433536271f4e686c1af31619cc1afd4255a41285ff18518f81f21433cef1
diff --git a/dev-ruby/recog/recog-2.3.20.ebuild b/dev-ruby/recog/recog-2.3.20.ebuild
new file mode 100644
index 000000000000..18077246bb19
--- /dev/null
+++ b/dev-ruby/recog/recog-2.3.20.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2021 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
+ dev-ruby/rspec:3
+ dev-util/aruba:1
+ dev-util/cucumber
+)"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die
+}
+
+each_ruby_test() {
+ RSPEC_VERSION=3 ruby-ng_rspec
+ ruby-ng_cucumber
+}