summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-07-01 10:05:54 +0200
committerHans de Graaff <graaff@gentoo.org>2022-07-01 14:57:43 +0200
commitf7b0d94de9345346d4ca646487d5a6c68cbee2fb (patch)
tree2301675cc47ea2282d7676e50489248958e0ee4d /dev-ruby/recog
parentnet-wireless/iwgtk: add 0.7 (diff)
downloadgentoo-f7b0d94de9345346d4ca646487d5a6c68cbee2fb.tar.gz
gentoo-f7b0d94de9345346d4ca646487d5a6c68cbee2fb.tar.bz2
gentoo-f7b0d94de9345346d4ca646487d5a6c68cbee2fb.zip
dev-ruby/recog: add 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-3.0.1.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/recog/Manifest b/dev-ruby/recog/Manifest
index 9b847462ca1d..5239a4fb0bb4 100644
--- a/dev-ruby/recog/Manifest
+++ b/dev-ruby/recog/Manifest
@@ -1,3 +1,4 @@
DIST recog-2.3.19.gem 343552 BLAKE2B bf5aa0e2c5e8d7a27b23f03250a3fa952dfa0ed5a2844596b00940fce2e1080ada009a46b5eeb2418845ea12f803580040fc3a3aa6871675efff1a8f4d5a4ade SHA512 f09a0ee2b4a7ecb7ca6b587a70e115e162fbca8a7a1736017305346ed03207de66f71711e78593ed242c63c3c8be9af2b341c2d06c08a6592fd3d8ecbdc60147
DIST recog-2.3.20.gem 355328 BLAKE2B 0da5bc28ef7afa9f6e6e64911c6cc423b1667a06b9ce1cb234a89d05e3680c562796ed4701015b5621f6319c1516d5ff7c0e67bd1343bbe6464ce5982ebfdeb7 SHA512 ae247adc9dc342fb3277f4f231f5f827e470a74fea5e609ca53cd1dc9b48c5742a16433536271f4e686c1af31619cc1afd4255a41285ff18518f81f21433cef1
DIST recog-2.3.23.gem 392704 BLAKE2B 6b7ccfa2921fb7d643531c66970e757a01478b3990bbb2d05687a5364ed8b57317d16d0b116c2175cf0e667b12ea7a978c947b73d04db16fbd1a9db651ba4abf SHA512 34cb222dbc25f5da0581cb85aa92a3e6fa67b9af9d0b7b99cb3e358b1be5d71a25f582a669a06f4cadd4b6ac464c7f3d2b3856c24d5ecea0d1d6027758905774
+DIST recog-3.0.1.gem 353792 BLAKE2B b9c625bfaae132eecf6ce6e4d284b82583494c27781c7c63a67e5799763548d443afe641002d9ac929cd201f15ecf21d6e5946f11d827c07f5ea3a0658a07a07 SHA512 7d0b6483ca4cce085ab36c4673f45d8168a22bd3db2fbfc54dd5eae45b5703e3269faea8a15271e798e8a9f8a778fd534dedb53d5e63057fcae707d8ad97f9b7
diff --git a/dev-ruby/recog/recog-3.0.1.ebuild b/dev-ruby/recog/recog-3.0.1.ebuild
new file mode 100644
index 000000000000..c9921aaea95d
--- /dev/null
+++ b/dev-ruby/recog/recog-3.0.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+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
+ || ( dev-util/aruba:2 dev-util/aruba:1 )
+)"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die
+}