summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-05-23 07:23:55 +0200
committerHans de Graaff <graaff@gentoo.org>2019-05-23 07:38:49 +0200
commit3d990207d4e7b184124c2d356cb5f2b2e969ba97 (patch)
tree536182378ca40a9e54be89a32f33bc64dcb3fa54 /dev-ruby/recog
parentdev-ruby/regexp_parser: add ruby26 (diff)
downloadgentoo-3d990207d4e7b184124c2d356cb5f2b2e969ba97.tar.gz
gentoo-3d990207d4e7b184124c2d356cb5f2b2e969ba97.tar.bz2
gentoo-3d990207d4e7b184124c2d356cb5f2b2e969ba97.zip
dev-ruby/recog: add 2.3.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/recog')
-rw-r--r--dev-ruby/recog/Manifest1
-rw-r--r--dev-ruby/recog/recog-2.3.2.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/recog/Manifest b/dev-ruby/recog/Manifest
index 5f91871d84af..28ea4559c6ad 100644
--- a/dev-ruby/recog/Manifest
+++ b/dev-ruby/recog/Manifest
@@ -1,2 +1,3 @@
DIST recog-2.1.31.gem 236032 BLAKE2B 5e6b4ffe163985ff437c2fbaf203e1d07796ead0c20b233703fcb66bfed45930463dc1b7b2bc0c6c9ec1089730589cf996b59382ad4fd63d4913b118035fc852 SHA512 eeabae2684d4fb616d7ea272dd9c4fda0b1a2ea7776cd664fa237989b68e277943642267359a2671ee180e1a5f0cda8f0be24bfa2b4d7729b469664700955ada
DIST recog-2.1.46.gem 246784 BLAKE2B 1b151fb6944371d186154ecc28eb74f6727b92394bf3686fb7230603e64a37438dc63293929b63025794ae053304ced7f74da4d530d24f77a6274ffe69cfff7d SHA512 aae48fc9a91e7f750944a97e562789efde14474b42d063dcb2dacd038e78fd20222719e0f17d66c8a13b7261e2e58567bad4db0a84893724a5c04504d35efbc0
+DIST recog-2.3.2.gem 259584 BLAKE2B 035cdcb23fa837798fd256d00eb3cfa11b6ebeefd218c3c00a0f68ad1311efc6ce62a3db537cdc7a692d77e10b45c63f7c391314b05ca93c9afc269e67e7ba24 SHA512 0deb0e2354bab3ae190b0b71d370755de802d679a37a2d907fcc6503a12120e27d607bd3f31db62f678e4488228977132f3816a4586e5e85ba37f7ff6cd27733
diff --git a/dev-ruby/recog/recog-2.3.2.ebuild b/dev-ruby/recog/recog-2.3.2.ebuild
new file mode 100644
index 000000000000..e041a3e28841
--- /dev/null
+++ b/dev-ruby/recog/recog-2.3.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby24 ruby25 ruby26"
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="xml"
+
+inherit ruby-fakegem eapi7-ver
+
+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
+}