summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-03-19 07:57:30 +0100
committerHans de Graaff <graaff@gentoo.org>2023-03-19 08:14:42 +0100
commit3c79626d8aadabfe64a22d19a8f6b813a0c11a70 (patch)
treed779da6effea680eced6105932299aa019c2639e /dev-ruby/recog
parentdev-ruby/thor: enable tests for ruby30, ruby31 (diff)
downloadgentoo-3c79626d8aadabfe64a22d19a8f6b813a0c11a70.tar.gz
gentoo-3c79626d8aadabfe64a22d19a8f6b813a0c11a70.tar.bz2
gentoo-3c79626d8aadabfe64a22d19a8f6b813a0c11a70.zip
dev-ruby/recog: add 3.1.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-3.1.1.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/recog/Manifest b/dev-ruby/recog/Manifest
index bee1f2e6c21c..7c9ead7f3cd8 100644
--- a/dev-ruby/recog/Manifest
+++ b/dev-ruby/recog/Manifest
@@ -1,3 +1,4 @@
DIST recog-2.3.23.gem 392704 BLAKE2B 6b7ccfa2921fb7d643531c66970e757a01478b3990bbb2d05687a5364ed8b57317d16d0b116c2175cf0e667b12ea7a978c947b73d04db16fbd1a9db651ba4abf SHA512 34cb222dbc25f5da0581cb85aa92a3e6fa67b9af9d0b7b99cb3e358b1be5d71a25f582a669a06f4cadd4b6ac464c7f3d2b3856c24d5ecea0d1d6027758905774
DIST recog-3.0.2.gem 360960 BLAKE2B 725b6e1fa0ff3681783df986782d34053e8257fc65ed93dfb7a57be9205b6a1d5103288c9af78f29b17cb20dca6aeff697056a66a4f8ea39250c4bb35eca1d8d SHA512 9c636ad96cd41595c80d055c3acbe12e55c88a195f502042ca671032906e3b1f528720fe5f780cc3dfa24ca95ba4a54e89db207d30ab0db7f22913af2d706140
DIST recog-3.0.3.gem 365568 BLAKE2B ae5ef17c53f4be94710930308eff47e0330dcc5c45a31146a9555066e5986e713175ace560d9dcf6b326d4339ea88e45f6b42c29ef98887db5f5e98f5ffea48a SHA512 e7a67e2c32b173bf48517fd015d51d11a518ec8b3537b6ba68b8c3f013cdbc9a67d53c63e725dc456c3ed852da089d5d30ff15185e055a021f6d411b1762236e
+DIST recog-3.1.1.gem 374272 BLAKE2B 119c2f3cfcb81896ee9151a3504b1c3a451e7ef0bf2ecb4c018c2a1cae85c05737a47fe755ddbc7dd67778deefc341b113659095dc0095a2bf720625ad5f497a SHA512 8110972a3942befac8be154ff83bf22d703ea21bbae60875c512d5e1c668df7dbf4acb00e2e6bc3cd2f9e163352ead24f3ffc80201c5cf376971560de233a6b5
diff --git a/dev-ruby/recog/recog-3.1.1.ebuild b/dev-ruby/recog/recog-3.1.1.ebuild
new file mode 100644
index 000000000000..5625684e1ad6
--- /dev/null
+++ b/dev-ruby/recog/recog-3.1.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="recog"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+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
+)"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die
+}