diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-04-23 08:08:45 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-04-23 10:00:46 +0200 |
commit | eb7c578bd42deaefd329480af80d218d6cb825d9 (patch) | |
tree | c3d0bc19b9e1f3262243cd873aa86d3368129193 /dev-ruby/recog/recog-2.3.23.ebuild | |
parent | dev-util/aruba: enable ruby30 (diff) | |
download | gentoo-eb7c578bd42deaefd329480af80d218d6cb825d9.tar.gz gentoo-eb7c578bd42deaefd329480af80d218d6cb825d9.tar.bz2 gentoo-eb7c578bd42deaefd329480af80d218d6cb825d9.zip |
dev-ruby/recog: add 2.3.23
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/recog/recog-2.3.23.ebuild')
-rw-r--r-- | dev-ruby/recog/recog-2.3.23.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/recog/recog-2.3.23.ebuild b/dev-ruby/recog/recog-2.3.23.ebuild new file mode 100644 index 000000000000..5e29a01e4058 --- /dev/null +++ b/dev-ruby/recog/recog-2.3.23.ebuild @@ -0,0 +1,37 @@ +# 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="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 + dev-ruby/rspec:3 + || ( dev-util/aruba:2 dev-util/aruba:1 ) + 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 +} |