public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Richard Farina" <zerochaos@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasploit_data_models/
Date: Fri,  9 Oct 2015 01:26:03 +0000 (UTC)	[thread overview]
Message-ID: <1444353953.84f584df84b130de123ab88b5885f6538d0492f1.zerochaos@gentoo> (raw)

commit:     84f584df84b130de123ab88b5885f6538d0492f1
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  8 21:09:37 2015 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Fri Oct  9 01:25:53 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84f584df

dev-ruby/metasploit_data_models:

Package-Manager: portage-2.2.22

 dev-ruby/metasploit_data_models/Manifest           |  1 +
 .../metasploit_data_models-1.2.7.ebuild            | 63 ++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/dev-ruby/metasploit_data_models/Manifest b/dev-ruby/metasploit_data_models/Manifest
index fbf69cf..089d03b 100644
--- a/dev-ruby/metasploit_data_models/Manifest
+++ b/dev-ruby/metasploit_data_models/Manifest
@@ -1 +1,2 @@
 DIST metasploit_data_models-1.2.5.gem 170496 SHA256 7aa426e8f0d69c7a2c00f916dfbbbd19817ec0fe5e55e2d1260fb37ff8b32e29 SHA512 b7bb1f12da67b0a052cba68e5f870bc7512baba884573a79095abd4d55539c18956615bd7097f1c1260507222f80644a2d0a65bb9f3ca7cc4c45e275ee5c9500 WHIRLPOOL d6702bdeb59e8dcac3516f2ba8be3a319348e6a08803bcc93a8beba6a76a6e3ca5ce8e46263f9e30c37f01c745ab4badd3665a3984f7ea6ae015bb4b8c3330ec
+DIST metasploit_data_models-1.2.7.gem 170496 SHA256 b5c31cce2d94fed8129a23f08a54dc4dbdccfaaf302db3fb574d14c675434aa0 SHA512 8380bec869fc506cfd3e8c7f128af102e2a0bc6ea22c6a2b6e7a19576a70907c504387bd020627a45067a2faac091c3e5ff4533cd786e19a99525b6b01192c87 WHIRLPOOL 29821d7ce975f07b63aa172ea962fd69ae9e9f3b2169a6d336442deee51fc6c66ad83e2a6d827a71ede3facd478c1453036d8b3290a5ba9173602cedb0a92b5e

diff --git a/dev-ruby/metasploit_data_models/metasploit_data_models-1.2.7.ebuild b/dev-ruby/metasploit_data_models/metasploit_data_models-1.2.7.ebuild
new file mode 100644
index 0000000..60a553e
--- /dev/null
+++ b/dev-ruby/metasploit_data_models/metasploit_data_models-1.2.7.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 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 ~x86"
+RESTRICT=test
+#IUSE="development test"
+IUSE=""
+
+RDEPEND="${RDEPEND} !dev-ruby/metasploit_data_models:0"
+
+ruby_add_rdepend "
+		>=dev-ruby/activerecord-4.0.9:4.0[postgres]
+		>=dev-ruby/activesupport-4.0.9:4.0
+		dev-ruby/pg
+		dev-ruby/postgres_ext
+		>=dev-ruby/railties-4.0.9:4.0
+		dev-ruby/recog
+		dev-ruby/arel-helpers
+		>=dev-ruby/metasploit-concern-1.0.0:1.0
+		>=dev-ruby/metasploit-model-1.0.0:1.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}
+}


             reply	other threads:[~2015-10-09  1:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-09  1:26 Richard Farina [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-10-09  1:26 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasploit_data_models/ Richard Farina
2015-10-24 13:20 Richard Farina
2016-01-26 19:47 Richard Farina
2016-06-13  4:37 Richard Farina
2016-10-30 19:51 Hans de Graaff
2017-02-10  6:56 Hans de Graaff
2017-05-09  3:09 Richard Farina
2018-11-21 18:21 Rick Farina
2018-11-21 18:21 Rick Farina
2019-04-09  5:53 Hans de Graaff
2019-10-05  6:54 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444353953.84f584df84b130de123ab88b5885f6538d0492f1.zerochaos@gentoo \
    --to=zerochaos@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox