summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-10-23 07:06:32 +0200
committerHans de Graaff <graaff@gentoo.org>2020-10-23 07:09:32 +0200
commit2d2ae4e080a729a0467284c8f08ccf5ee5a90b2f (patch)
treea49129e0bd9081f09e15587b37881d9c6d30b916 /dev-ruby/recog
parentdev-ruby/rack-cache: add 1.12.1 (diff)
downloadgentoo-2d2ae4e080a729a0467284c8f08ccf5ee5a90b2f.tar.gz
gentoo-2d2ae4e080a729a0467284c8f08ccf5ee5a90b2f.tar.bz2
gentoo-2d2ae4e080a729a0467284c8f08ccf5ee5a90b2f.zip
dev-ruby/recog: add 2.3.15
Package-Manager: Portage-3.0.8, 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.15.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/recog/Manifest b/dev-ruby/recog/Manifest
index 3948fda1a5a0..4269f7cb69b3 100644
--- a/dev-ruby/recog/Manifest
+++ b/dev-ruby/recog/Manifest
@@ -1,3 +1,4 @@
DIST recog-2.3.14.gem 331776 BLAKE2B 62aad2cf8252c24cd7adc456a022555f05924e501fd5f2fafeb87c2587e049ee41a501602bc1b5d97370a69a6b98f1ae77df22bfb7ae2c9e80b38b5e0a1518df SHA512 1154ca3d610fe8f554a15846b49f978d3798c9a43893c40d58c8421e8012c0823368d374ecadd351fc1479037c898966dc2dba9debb4c46ce6b743c7782a848f
+DIST recog-2.3.15.gem 332800 BLAKE2B 4a6360f72d5ee48e066a30abf875fba18e8dcdcba6d36bf8d8de28b36405870819a1b91edee1a5877b1ddda99a25918419bf42bdd4851c7d814a2acf558439d3 SHA512 a26f722da886be22332330a9b0407ec28431ca900b43d6cb7c6fe65938a026a51d54f90cb264652fb8a70352f5e548a7ed013a4b136a7a21df4a9987b36faf0e
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.15.ebuild b/dev-ruby/recog/recog-2.3.15.ebuild
new file mode 100644
index 000000000000..e7b78df0cb67
--- /dev/null
+++ b/dev-ruby/recog/recog-2.3.15.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
+}