summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-04-13 08:07:25 +0200
committerHans de Graaff <graaff@gentoo.org>2019-04-13 08:33:34 +0200
commitda4b6ac01153f8c13f8142489a500ed073784353 (patch)
tree73f3de845d10f5568b601cb875bb0c691baef4e4 /dev-ruby/recog
parentdev-ruby/recog: cleanup (diff)
downloadgentoo-da4b6ac01153f8c13f8142489a500ed073784353.tar.gz
gentoo-da4b6ac01153f8c13f8142489a500ed073784353.tar.bz2
gentoo-da4b6ac01153f8c13f8142489a500ed073784353.zip
dev-ruby/recog: add 2.1.46
Move to a normal semver slot since upstream's changelog seems to indicate this. 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.1.46.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/recog/Manifest b/dev-ruby/recog/Manifest
index de0a043dee3b..5f91871d84af 100644
--- a/dev-ruby/recog/Manifest
+++ b/dev-ruby/recog/Manifest
@@ -1 +1,2 @@
DIST recog-2.1.31.gem 236032 BLAKE2B 5e6b4ffe163985ff437c2fbaf203e1d07796ead0c20b233703fcb66bfed45930463dc1b7b2bc0c6c9ec1089730589cf996b59382ad4fd63d4913b118035fc852 SHA512 eeabae2684d4fb616d7ea272dd9c4fda0b1a2ea7776cd664fa237989b68e277943642267359a2671ee180e1a5f0cda8f0be24bfa2b4d7729b469664700955ada
+DIST recog-2.1.46.gem 246784 BLAKE2B 1b151fb6944371d186154ecc28eb74f6727b92394bf3686fb7230603e64a37438dc63293929b63025794ae053304ced7f74da4d530d24f77a6274ffe69cfff7d SHA512 aae48fc9a91e7f750944a97e562789efde14474b42d063dcb2dacd038e78fd20222719e0f17d66c8a13b7261e2e58567bad4db0a84893724a5c04504d35efbc0
diff --git a/dev-ruby/recog/recog-2.1.46.ebuild b/dev-ruby/recog/recog-2.1.46.ebuild
new file mode 100644
index 000000000000..1f8f71315a9d
--- /dev/null
+++ b/dev-ruby/recog/recog-2.1.46.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby24 ruby25"
+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
+ !<dev-ruby/recog-2.0.6-r1"
+
+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
+}