mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
dev-ruby/sshkit: add 1.11.3
Package-Manager: portage-2.2.28
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST sshkit-1.11.2.gem 144896 SHA256 610cebe87c1c016693e2d80bb5e5411961a0405358bdba6a6b3f11d682bfc125 SHA512 11dc614eb79967b265732c0ec99ecc35545ec0c083f8693f0596373560ba58e6a7781b285037d81aa0325beadd6fe1c0aa0f1b7a760dbdc32ad6192ecc438dfc WHIRLPOOL d49c18288092b987c5548943e0fa92d64aad21bea9e11384bca06cf935ef26932ac6f830e2b92d06a99b23f774594962eb5fffabb888ab79638c6c389500f339
|
||||
DIST sshkit-1.11.3.gem 144896 SHA256 9448311f00d40810db9695460f45dbe879a8420c4200c8a11e9777df44def872 SHA512 037793b24159761fcd44a40e958edcefe0d362e4859d535b65031d800673c2a683fec617be87d13d70698e122720700ce6d0ffd2980aec5d951e303b37894d65 WHIRLPOOL ce4018f8a2a123d0eca883b92a8787b68376f25c9d0b09ed2b4e86b4448d6ce2396c4b4c2909dae69f6ec25eaa75c2913d2a0f696a552d499ddc3ec11aeea490
|
||||
|
||||
43
dev-ruby/sshkit/sshkit-1.11.3.ebuild
Normal file
43
dev-ruby/sshkit/sshkit-1.11.3.ebuild
Normal file
@@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
|
||||
# There are functional tests that require vagrant boxes to be set up.
|
||||
RUBY_FAKEGEM_TASK_TEST="test:units"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="SSHKit makes it easy to write structured, testable SSH commands in Ruby"
|
||||
HOMEPAGE="https://github.com/capistrano/sshkit"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/net-ssh-2.8.0:*
|
||||
>=dev-ruby/net-scp-1.1.2
|
||||
"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/minitest dev-ruby/mocha )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/bundler/I s:^:#:' Rakefile test/helper.rb || die
|
||||
sed -i -e '/\(turn\|unindent\|reporters\)/I s:^:#:' \
|
||||
-e '1irequire "set"' test/helper.rb || die
|
||||
|
||||
# Fix assumption about parent directory name
|
||||
sed -i -e '/assert_match/ s/sshkit/sshkit.*/' test/unit/test_deprecation_logger.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Run tests directly to avoid dependencies in the Rakefile
|
||||
${RUBY} -Ilib:test:. -e "Dir['test/unit/**/test*.rb'].each{|f| require f}" || die
|
||||
}
|
||||
Reference in New Issue
Block a user