Files
gentoo/dev-ruby/capistrano/capistrano-2.15.5-r1.ebuild
T
Agostino Sarubbo 4da5cfcf4e dev-ruby/capistrano: ppc64 stable wrt bug #551138
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ppc64"
2015-09-23 14:51:52 +02:00

42 lines
1.1 KiB
Bash

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
USE_RUBY="ruby19 ruby20"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
inherit ruby-fakegem
DESCRIPTION="A distributed application deployment system"
HOMEPAGE="http://capistranorb.com/"
LICENSE="MIT"
SLOT="2"
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
IUSE=""
ruby_add_rdepend "
>=dev-ruby/net-ssh-2.0.14
>=dev-ruby/net-sftp-2.0.2
>=dev-ruby/net-scp-1.0.2
>=dev-ruby/net-ssh-gateway-1.1.0
>=dev-ruby/highline-1.2.7"
ruby_add_bdepend "
test? ( dev-ruby/mocha:0.12 )"
RUBY_PATCHES=( ${P}-sudo-cleanup.patch )
all_ruby_prepare() {
rm Gemfile || die
sed -i -e '/[Bb]undler/d' Rakefile test/utils.rb || die
sed -i -e '/pry/ s:^:#:' -e '4igem "mocha", "~>0.12.0"' test/utils.rb || die
# Avoid copy strategy tests since these fail in some cases due to
# complicated (aka unknown) interactions with other parts of the
# test suite.
rm test/deploy/strategy/copy_test.rb || die
}