2021-01-05 15:20:13 +03:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
2017-05-10 13:44:29 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2019-11-19 09:21:09 +03:00
|
|
|
EAPI=7
|
2021-01-05 15:20:13 +03:00
|
|
|
USE_RUBY="ruby25 ruby26 ruby27"
|
2017-05-10 13:44:29 +03:00
|
|
|
RUBY_FAKEGEM_BINWRAP=""
|
|
|
|
RUBY_FAKEGEM_EXTRADOC="README.md"
|
|
|
|
|
2017-08-20 20:31:59 +03:00
|
|
|
RUBY_FAKEGEM_EXTRAINSTALL="xml"
|
|
|
|
|
2019-11-19 09:21:09 +03:00
|
|
|
inherit ruby-fakegem
|
2017-05-10 13:44:29 +03:00
|
|
|
|
|
|
|
DESCRIPTION="Pattern recognition for hosts, services, and content"
|
|
|
|
HOMEPAGE="https://github.com/rapid7/recog"
|
|
|
|
|
|
|
|
LICENSE="BSD-2"
|
2019-04-13 23:46:20 +03:00
|
|
|
SLOT="$(ver_cut 1)"
|
|
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
2017-05-10 13:44:29 +03:00
|
|
|
IUSE=""
|
|
|
|
|
2019-11-19 09:21:09 +03:00
|
|
|
ruby_add_rdepend "dev-ruby/nokogiri"
|
2017-05-10 13:44:29 +03:00
|
|
|
|
|
|
|
ruby_add_bdepend "test? (
|
2021-01-05 15:20:13 +03:00
|
|
|
dev-ruby/regexp_parser
|
2017-05-10 13:44:29 +03:00
|
|
|
dev-ruby/rspec:3
|
2021-01-05 15:20:13 +03:00
|
|
|
dev-util/aruba:1
|
2017-05-10 13:44:29 +03:00
|
|
|
dev-util/cucumber
|
|
|
|
)"
|
|
|
|
|
|
|
|
all_ruby_prepare() {
|
2021-01-05 15:20:13 +03:00
|
|
|
sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die
|
2017-05-10 13:44:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
each_ruby_test() {
|
|
|
|
RSPEC_VERSION=3 ruby-ng_rspec
|
|
|
|
ruby-ng_cucumber
|
|
|
|
}
|