summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-09-05 08:05:16 +0200
committerHans de Graaff <graaff@gentoo.org>2015-09-05 08:05:16 +0200
commit82a4d5815d9b245fafd1e42e0afa711bb5bfdb15 (patch)
tree0c40bfc76e6fbbeb7914d84568c2ace0ef418ed8
parentdev-ruby/regexp_parser: initial import (diff)
downloadgentoo-82a4d5815d9b245fafd1e42e0afa711bb5bfdb15.tar.gz
gentoo-82a4d5815d9b245fafd1e42e0afa711bb5bfdb15.tar.bz2
gentoo-82a4d5815d9b245fafd1e42e0afa711bb5bfdb15.zip
dev-ruby/recog: version bump
Fix FEATURES=test and USE=doc. Fix LICENSE. Package-Manager: portage-2.2.20.1
-rw-r--r--dev-ruby/recog/Manifest1
-rw-r--r--dev-ruby/recog/recog-2.0.12.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/recog/Manifest b/dev-ruby/recog/Manifest
index 63227be8198c..497ea59e668c 100644
--- a/dev-ruby/recog/Manifest
+++ b/dev-ruby/recog/Manifest
@@ -1 +1,2 @@
+DIST recog-2.0.12.gem 196608 SHA256 49754e782aff74a1b9f95e48c2baafa5c4ec54d534013616d6dadb2b0d95fdd0 SHA512 d88347313807969ced0106a9134a70aa933d0ad8681067746c0c931a072add2466bf17e2eeb5c090e9be8f45eede66613659b942ca98f58fd0bc15d7ee523058 WHIRLPOOL b035279dbd74e6ddbe12b90a5433c5fe66055f8a71fa3be2c61b13dc364fafbf95deea021d9e6f1d38225d3ffae675abd23892f2b296b463e6348e7b6f98855e
DIST recog-2.0.6.gem 188928 SHA256 333d867db310b908342f857ee4f3f60b869386ff7b908e06f4dec8b9352ceb97 SHA512 408e83889632127d584ce8d09244c63246807aa5f89d88c082bbfd441a2e708cd67f23aebf23fa08c5db6bfd7ff771071daf64df9a66224aa5f04fcaba3d1387 WHIRLPOOL 2aaef470b15e3b8ac99d99bc3f8975447d5aa3d05220540d61f4972083f8cf6a0b04ba89e88aefc0dfd355f59f6f1bd5e9754bf00b6b5a5a953ef21f42fc3509
diff --git a/dev-ruby/recog/recog-2.0.12.ebuild b/dev-ruby/recog/recog-2.0.12.ebuild
new file mode 100644
index 000000000000..d84e9c1e0fa6
--- /dev/null
+++ b/dev-ruby/recog/recog-2.0.12.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Pattern recognition for hosts, services, and content"
+HOMEPAGE="https://github.com/rapid7/${PN}"
+
+LICENSE="BSD-2"
+SLOT="2"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/nokogiri"
+
+ruby_add_bdepend "test? (
+ dev-ruby/rspec:3
+ dev-util/aruba
+ dev-util/cucumber
+)"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die
+}
+
+each_ruby_test() {
+ RSPEC_VERSION=3 ruby-ng_rspec
+ ruby-ng_cucumber
+}