summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-06-28 07:53:54 +0200
committerHans de Graaff <graaff@gentoo.org>2018-06-28 07:53:54 +0200
commitbca84ffe25dad5ea2e29df13f1998fc52fbe5fd4 (patch)
treec855096701e20643a696b31ecf36280e5906d09a
parentdev-ruby/http-cookie: cleanup (diff)
downloadgentoo-bca84ffe25dad5ea2e29df13f1998fc52fbe5fd4.tar.gz
gentoo-bca84ffe25dad5ea2e29df13f1998fc52fbe5fd4.tar.bz2
gentoo-bca84ffe25dad5ea2e29df13f1998fc52fbe5fd4.zip
dev-ruby/nexpose: add 7.2.1
Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r--dev-ruby/nexpose/Manifest1
-rw-r--r--dev-ruby/nexpose/nexpose-7.2.1.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/nexpose/Manifest b/dev-ruby/nexpose/Manifest
index 589d745c2889..dd8d948fddd3 100644
--- a/dev-ruby/nexpose/Manifest
+++ b/dev-ruby/nexpose/Manifest
@@ -1 +1,2 @@
DIST nexpose-5.3.2.tar.gz 111862 BLAKE2B 4d42038f8b4eb0444f54df3139e4533437c081521ae586f79baa80a812dbdac9c56bbfbcfb24f1f4fcfb5d854507374d9dbc5f600f79b09d918322132dd00a7f SHA512 7a79a796e853cfe0d5e3f61b969903f3ecf033914a8caaccb4ff175774ab2ec187a2b7c106f91d82e65edc35fab98621c1ae831017268fde2e8714c45346f4b6
+DIST nexpose-7.2.1.tar.gz 123143 BLAKE2B 2bf9a022c6695fa759c5193510c2cfa793b8014b36914c7806f1ee888ac8eb21466efa46539a9e9b7dab31454b8604b10b71d59faffd001254ee0561f456b707 SHA512 8c0d8b4537513396c9c7cb01330310ed30f8995890c60fdb956ad4760fda6e89a4d1d400e6b71cad1fd2d8c5f2176074c415d35597b1c8740233ebcccbc7d870
diff --git a/dev-ruby/nexpose/nexpose-7.2.1.ebuild b/dev-ruby/nexpose/nexpose-7.2.1.ebuild
new file mode 100644
index 000000000000..b2a2709bd24a
--- /dev/null
+++ b/dev-ruby/nexpose/nexpose-7.2.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.markdown"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="API client for Nexpose vulnerability managment product"
+HOMEPAGE="https://github.com/rapid7/nexpose-client https://rubygems.org/gems/nexpose"
+SRC_URI="https://github.com/rapid7/nexpose-client/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="${PN}-client-${PV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "test? (
+ dev-ruby/vcr:2
+ dev-ruby/webmock
+)"
+
+all_ruby_prepare() {
+ sed -i -e '/\(codeclimate\|simplecov\)/ s:^:#:' \
+ -e '/SimpleCov/,/^]/ s:^:#:' \
+ -e '1irequire "nexpose"' spec/spec_helper.rb || die
+}