diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-08-20 10:06:26 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-08-20 10:59:14 +0200 |
commit | 1059fc6b74db5b1889e915856177580ec7b049ce (patch) | |
tree | 71b4a502e46f2b78562f9adefa2a2af8585fd662 /dev-ruby/metasploit_data_models | |
parent | sci-biology/bioruby: remove obsolete live ebuild; add ruby22 (diff) | |
download | gentoo-1059fc6b74db5b1889e915856177580ec7b049ce.tar.gz gentoo-1059fc6b74db5b1889e915856177580ec7b049ce.tar.bz2 gentoo-1059fc6b74db5b1889e915856177580ec7b049ce.zip |
net-analyzer/metasploit: remove ruby21-only packages
Diffstat (limited to 'dev-ruby/metasploit_data_models')
-rw-r--r-- | dev-ruby/metasploit_data_models/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/metasploit_data_models/metasploit_data_models-2.0.0.ebuild | 62 |
2 files changed, 0 insertions, 63 deletions
diff --git a/dev-ruby/metasploit_data_models/Manifest b/dev-ruby/metasploit_data_models/Manifest index e9d92a0e5b40..2bbd975677c1 100644 --- a/dev-ruby/metasploit_data_models/Manifest +++ b/dev-ruby/metasploit_data_models/Manifest @@ -1,2 +1 @@ -DIST metasploit_data_models-2.0.0.gem 177152 SHA256 b5f32aeb00cab511c94212b7fa1b42631278d4766ab7b05f1c4fdf8e3c3655bb SHA512 4ff18ba09fe58e5846b745152739a6602fc144ca68240901f18791f7c6ffacc0a1d621fda222c86960ca59cd3034ef2fda4fc85dead669837e3c0a7c2ddc3f1d WHIRLPOOL 407460ac990f257a80c89c56463aef91ea48070d52225fc2116500ce822d5c5eb2880bd1fb21cb65a3ea3a0a725906dbe525cce5d18527030294ace776265a91 DIST metasploit_data_models-2.0.14.gem 182272 SHA256 2f89103f1a54a137744f47de605f63f960b369fff638da8c93af9336bee66241 SHA512 204505fd9073eaa7c9467ef8241f0cf3167f33e68eb4e5aac6101fc0b1fa68d2ec85e11ac9ce4fb80ae3db8ba6fcc0f7f2a93dacf9735c2d4d1d92fa0a41e70b WHIRLPOOL 2e25af8520a629468de0b20e01e0680c373fc4f1d1ef8b75f6c814572bf791f7a5270a282f6997bcd2bc86039d470021fa0c7f29d9cb5987e39d530c3a423d82 diff --git a/dev-ruby/metasploit_data_models/metasploit_data_models-2.0.0.ebuild b/dev-ruby/metasploit_data_models/metasploit_data_models-2.0.0.ebuild deleted file mode 100644 index 359e43b7c02b..000000000000 --- a/dev-ruby/metasploit_data_models/metasploit_data_models-2.0.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby21" - -inherit ruby-fakegem - -RUBY_FAKEGEM_EXTRAINSTALL="app config db script spec" - -DESCRIPTION="The database layer for Metasploit" -HOMEPAGE="https://github.com/rapid7/metasploit_data_models" -SRC_URI="mirror://rubygems/${P}.gem" - -LICENSE="BSD" -SLOT="${PV}" -KEYWORDS="~amd64 ~arm" -RESTRICT=test -#IUSE="development test" -IUSE="" - -RDEPEND="${RDEPEND} !dev-ruby/metasploit_data_models:0" - -ruby_add_rdepend " - >=dev-ruby/activerecord-4.2.6:4.2[postgres] - >=dev-ruby/activesupport-4.2.6:4.2 - dev-ruby/pg - dev-ruby/postgres_ext - >=dev-ruby/railties-4.2.6:4.2 - >=dev-ruby/recog-2.0.0:* - dev-ruby/arel-helpers - >=dev-ruby/metasploit-concern-2.0.0 - >=dev-ruby/metasploit-model-2.0.0 - <dev-ruby/thor-2.0" - -ruby_add_bdepend "dev-ruby/bundler" - -all_ruby_prepare() { - [ -f Gemfile.lock ] && rm Gemfile.lock - #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 - #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 -} - -all_ruby_install() { - ruby_fakegem_binwrapper mdm_console mdm_console-${SLOT} -} |