mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-ruby/sshkit: add 1.16.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST sshkit-1.15.1.gem 147968 BLAKE2B 52bde587de6a358174df6d79df8b8179960811d68ee933655f9df82e20e47481e9f32401276e613d97fc7327fce3891ccc70fe514ab8f5b2a30aff1f640ee139 SHA512 acac745b7ff1cfdd054b683219ca68233e1453430ec0bfc1efc96cb009ad257262c276857d9bc02854a6352a98feda845d728ae63e8b046a09210eebe8661665
|
||||
DIST sshkit-1.16.0.gem 147968 BLAKE2B 0d8943cca05c04946fe33bfafb690fffbc7ac19805891d0b7fcc40dda67b8522208b1588947bc0080243fc6bd08e84b918135b4b52e7bdc4f58f23d32a697cdb SHA512 87577469428e9332aa17eadb7d5fc8b5264f7d03db92f40f53e1b75431a1b8e4b381611ea86726272d130d6d2f6150c7cd37bfeaf7fe07e5f5eec77300002349
|
||||
|
||||
42
dev-ruby/sshkit/sshkit-1.16.0.ebuild
Normal file
42
dev-ruby/sshkit/sshkit-1.16.0.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
USE_RUBY="ruby23 ruby24"
|
||||
|
||||
# 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"; require "pathname"' 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