commit:     d230deef148f812c04955912363494f31f8796c5
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 16 18:49:47 2019 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Apr  9 05:53:00 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d230deef

dev-ruby/metasploit-model: cleanup ruby23-only version

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-ruby/metasploit-model/Manifest                 |  1 -
 .../metasploit-model/metasploit-model-2.0.3.ebuild | 72 ----------------------
 2 files changed, 73 deletions(-)

diff --git a/dev-ruby/metasploit-model/Manifest 
b/dev-ruby/metasploit-model/Manifest
index 56749e457d4..733c984f3fa 100644
--- a/dev-ruby/metasploit-model/Manifest
+++ b/dev-ruby/metasploit-model/Manifest
@@ -1,2 +1 @@
-DIST metasploit-model-2.0.3.gem 81408 BLAKE2B 
e62074efbdd66fc951b4c304d9c0adbf54b631bf0e343658b395e76bf4783db8a0186f375ce2650110b2200b805832ae25cd81779d894c1b7475a07d3041b35a
 SHA512 
a6d77940e6b85925cc93c57f69910fde5c8eb2458d6707847be9f5856cfceee33304209e8c7076484151d9daf1f23cfe28cb0c00abb83176b7bc6c819fb128ec
 DIST metasploit-model-2.0.4.gem 81408 BLAKE2B 
5a4be9e61649710470618d4334279054cbefc1027a1d4674b6be0c6a4c632219fd2dc3ac5f9f56dc9018712e5cbcbe191d5749ed2ed10cf98f884a06e41ec736
 SHA512 
70f6d948227bc99f877c3b5631a964087c0ebfdb091f128c72bc5da276bf57a5055aea5cdda4dc66e1fb177606afec9b7b3ee4076211f43928a2defb93294ac5

diff --git a/dev-ruby/metasploit-model/metasploit-model-2.0.3.ebuild 
b/dev-ruby/metasploit-model/metasploit-model-2.0.3.ebuild
deleted file mode 100644
index 00924336d8e..00000000000
--- a/dev-ruby/metasploit-model/metasploit-model-2.0.3.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-USE_RUBY="ruby23"
-
-inherit ruby-fakegem eapi7-ver
-
-RUBY_FAKEGEM_EXTRAINSTALL="app config script spec"
-
-DESCRIPTION="Common code, such as validators and mixins"
-HOMEPAGE="https://github.com/rapid7/metasploit-model";
-SRC_URI="mirror://rubygems/${P}.gem"
-
-LICENSE="BSD"
-SLOT="$(ver_cut 1-2)"
-KEYWORDS="~amd64 ~arm"
-#IUSE="development test"
-RESTRICT=test
-IUSE=""
-
-RDEPEND="${RDEPEND} !dev-ruby/metasploit-model:0"
-
-ruby_add_rdepend ">=dev-ruby/railties-4.2.6:4.2
-                       >=dev-ruby/activesupport-4.2.6:4.2
-                       >=dev-ruby/activemodel-4.2.6:4.2"
-#              development? (  dev-ruby/bundler
-#                      dev-ruby/rake
-#                      dev-ruby/i18n
-#                      dev-ruby/multi_json
-#                      dev-ruby/builder
-#                      dev-ruby/erubis
-#                      dev-ruby/journey
-#                      dev-ruby/rack
-#                      dev-ruby/rack-cache
-#                      dev-ruby/rack-test
-#                      dev-ruby/hike
-#                      dev-ruby/tilt
-#                      dev-ruby/sprockets:*
-#                      dev-ruby/actionpack:4.0
-#                      dev-ruby/json
-#                      dev-ruby/rack-ssl:*
-#                      dev-ruby/rdoc
-#                      dev-ruby/thor
-#                      dev-ruby/redcarpet
-#                      <dev-ruby/yard-0.8.7.4 )"
-
-ruby_add_bdepend "dev-ruby/bundler"
-
-all_ruby_prepare() {
-       [ -f Gemfile.lock ] && rm Gemfile.lock
-       #For now, we don't support development or testing at all
-       #if ! use development; then
-               sed -i -e "/^group :development do/,/^end$/d" Gemfile || die
-               sed -i -e "/s.add_development_dependency/d" "${PN}".gemspec || 
die
-               sed -i -e "/spec.add_development_dependency/d" "${PN}".gemspec 
|| die
-       #fi
-       #if ! use test; then
-               sed -i -e "/^group :test do/,/^end$/d" Gemfile || die
-       #fi
-       #if ! use test && ! use development; then
-               sed -i -e "/^group :development, :test do/,/^end$/d" Gemfile || 
die
-       #fi
-}
-
-each_ruby_prepare() {
-       if [ -f Gemfile ]
-       then
-                       BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install 
--local || die
-                       BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
-       fi
-}

Reply via email to