Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasploit_data_models/
Date: Tue, 09 Apr 2019 05:53:59
Message-Id: 1554789182.6da5eaed2e1520b1dc8c7ec5e0945b928c10022c.graaff@gentoo
1 commit: 6da5eaed2e1520b1dc8c7ec5e0945b928c10022c
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 16 18:51:40 2019 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 9 05:53:02 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6da5eaed
7
8 dev-ruby/metasploit_data_models: cleanup ruby23-only version
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-ruby/metasploit_data_models/Manifest | 1 -
14 .../metasploit_data_models-2.0.14.ebuild | 62 ----------------------
15 2 files changed, 63 deletions(-)
16
17 diff --git a/dev-ruby/metasploit_data_models/Manifest b/dev-ruby/metasploit_data_models/Manifest
18 index f7bee127aaa..d78bf8f0847 100644
19 --- a/dev-ruby/metasploit_data_models/Manifest
20 +++ b/dev-ruby/metasploit_data_models/Manifest
21 @@ -1,2 +1 @@
22 -DIST metasploit_data_models-2.0.14.gem 182272 BLAKE2B 76162d66be5ddbad8186aef84bdc31ca06635737203f6e25dfc5d74d11775aa7ef5f0e5e5e07f5cce524e7712e484e548d56398bbae95dcc7cb93a22bca223f4 SHA512 204505fd9073eaa7c9467ef8241f0cf3167f33e68eb4e5aac6101fc0b1fa68d2ec85e11ac9ce4fb80ae3db8ba6fcc0f7f2a93dacf9735c2d4d1d92fa0a41e70b
23 DIST metasploit_data_models-2.0.16.gem 182272 BLAKE2B 918c57e62552e2b3288ca24e8ff7abeb30b0b6221906890c7b2e15c674356de6861a10500735d5a912b0deefb6b378b64111bd18770c65b10dcdbc911e6439d6 SHA512 bf2c2c162d23750eceeb315b9a5ba9e8b80bf4ace9e32f8c1e97c35939338d026d640675b3e5eaf61c6897007db07e186d4d5be944dc3bca16c138f1f6ae6ada
24
25 diff --git a/dev-ruby/metasploit_data_models/metasploit_data_models-2.0.14.ebuild b/dev-ruby/metasploit_data_models/metasploit_data_models-2.0.14.ebuild
26 deleted file mode 100644
27 index a79ca888643..00000000000
28 --- a/dev-ruby/metasploit_data_models/metasploit_data_models-2.0.14.ebuild
29 +++ /dev/null
30 @@ -1,62 +0,0 @@
31 -# Copyright 1999-2018 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -USE_RUBY="ruby23"
36 -
37 -inherit ruby-fakegem
38 -
39 -RUBY_FAKEGEM_EXTRAINSTALL="app config db script spec"
40 -
41 -DESCRIPTION="The database layer for Metasploit"
42 -HOMEPAGE="https://github.com/rapid7/metasploit_data_models"
43 -SRC_URI="mirror://rubygems/${P}.gem"
44 -
45 -LICENSE="BSD"
46 -SLOT="${PV}"
47 -KEYWORDS="~amd64 ~arm"
48 -RESTRICT=test
49 -#IUSE="development test"
50 -IUSE=""
51 -
52 -RDEPEND="${RDEPEND} !dev-ruby/metasploit_data_models:0"
53 -
54 -ruby_add_rdepend "
55 - >=dev-ruby/activerecord-4.2.6:4.2[postgres]
56 - >=dev-ruby/activesupport-4.2.6:4.2
57 - dev-ruby/pg:*
58 - dev-ruby/postgres_ext
59 - >=dev-ruby/railties-4.2.6:4.2
60 - >=dev-ruby/recog-2.0.0:*
61 - dev-ruby/arel-helpers
62 - >=dev-ruby/metasploit-concern-2.0.0
63 - >=dev-ruby/metasploit-model-2.0.0
64 - <dev-ruby/thor-2.0"
65 -
66 -ruby_add_bdepend "dev-ruby/bundler"
67 -
68 -all_ruby_prepare() {
69 - [ -f Gemfile.lock ] && rm Gemfile.lock
70 - #if ! use development; then
71 - sed -i -e "/^group :development do/,/^end$/d" Gemfile || die
72 - sed -i -e "/s.add_development_dependency/d" "${PN}".gemspec || die
73 - #fi
74 - #if ! use test; then
75 - sed -i -e "/^group :test do/,/^end$/d" Gemfile || die
76 - #fi
77 - #if ! use test && ! use development; then
78 - sed -i -e "/^group :development, :test do/,/^end$/d" Gemfile || die
79 - #fi
80 -}
81 -
82 -each_ruby_prepare() {
83 - if [ -f Gemfile ]
84 - then
85 - BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
86 - BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
87 - fi
88 -}
89 -
90 -all_ruby_install() {
91 - ruby_fakegem_binwrapper mdm_console mdm_console-${SLOT}
92 -}