summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-03-06 07:58:24 +0100
committerHans de Graaff <graaff@gentoo.org>2020-03-06 08:10:37 +0100
commit2be16aa8af1947855f76c1f76f55f50c7ed908f1 (patch)
tree7b903428eaca57dca1ce606695b9633b339444b3 /dev-ruby/recog
parentdev-util/cucumber-expressions: add ruby27 (diff)
downloadgentoo-2be16aa8af1947855f76c1f76f55f50c7ed908f1.tar.gz
gentoo-2be16aa8af1947855f76c1f76f55f50c7ed908f1.tar.bz2
gentoo-2be16aa8af1947855f76c1f76f55f50c7ed908f1.zip
dev-ruby/recog: add 2.3.7
Package-Manager: Portage-2.3.89, Repoman-2.3.20 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.7.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/recog/Manifest b/dev-ruby/recog/Manifest
index c9def2fb70eb..cb86319da028 100644
--- a/dev-ruby/recog/Manifest
+++ b/dev-ruby/recog/Manifest
@@ -2,3 +2,4 @@ DIST recog-2.3.2.gem 259584 BLAKE2B 035cdcb23fa837798fd256d00eb3cfa11b6ebeefd218
DIST recog-2.3.4.gem 262656 BLAKE2B ca2ea05844f5fde74859b22a9f710e5a9f0d44d789d49fb2c8502f4f09f5e5a3772d4a4187e5f0c10ec250c84599defc9dc86dd5602a7bdc7586f07ed14df350 SHA512 4ebf2ce4d502eb103eb3d10b7c01f3e43a402b90d8883f76cedb93edea32f31d196c4141c11264739f73ee9afe8590c50a368897a1286ff408d4454e89622be6
DIST recog-2.3.5.gem 263168 BLAKE2B da850cc08e7ffebd34e040eac15ecc62ab857c61d8a65cf5e9889f94c0173204ef8de5c712c89ddfc67c9d6bb8c01c09c702547de1bbdd7b12d121e4f4fefe7b SHA512 a45bc81c17edc9e431aa945678c77c573e2d1ad2352b4b4862492108cda0620145f6dc04a7d7ff2a6b456db32ed0348af4e61cd2be187f9d3de2b421f1f4e4ce
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.7.ebuild b/dev-ruby/recog/recog-2.3.7.ebuild
new file mode 100644
index 000000000000..755dd01cad4c
--- /dev/null
+++ b/dev-ruby/recog/recog-2.3.7.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="ruby24 ruby25 ruby26"
+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
+ 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
+}