mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-12 19:36:45 +01:00
30 lines
843 B
Bash
30 lines
843 B
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/metasploit_data_models/metasploit_data_models-0.17.0.ebuild,v 1.3 2014/07/09 21:13:54 zerochaos Exp $
|
|
|
|
EAPI=5
|
|
USE_RUBY="ruby19 ruby20"
|
|
|
|
inherit ruby-fakegem versionator
|
|
|
|
DESCRIPTION="EventMachine based, async HTTP Request client"
|
|
HOMEPAGE="http://github.com/igrigorik/em-http-request"
|
|
SRC_URI="https://www.rubygems.org/gems/${P}.gem"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="$(get_version_component_range 1-2)"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
ruby_add_rdepend "
|
|
=dev-ruby/mongrel-1.2.0
|
|
dev-ruby/rspec
|
|
dev-ruby/em-websocket"
|
|
|
|
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
|
|
}
|