diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-05-22 14:00:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-05-22 14:00:47 +0100 |
commit | 91c0ec2d7067f6ab1ef578bd9967b32ca07eb502 (patch) | |
tree | f4c7f54d0aeb344c21de9b9d1a3f1e9826d7a64c /dev-ruby/sshkit | |
parent | 2bacbb3374587799c77a999f56352233a353b19e (diff) |
gentoo resync : 22.05.2018
Diffstat (limited to 'dev-ruby/sshkit')
-rw-r--r-- | dev-ruby/sshkit/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/sshkit/sshkit-1.16.1.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/sshkit/Manifest b/dev-ruby/sshkit/Manifest index 0a661654fc6b..59246f20ecbd 100644 --- a/dev-ruby/sshkit/Manifest +++ b/dev-ruby/sshkit/Manifest @@ -1,5 +1,7 @@ DIST sshkit-1.15.1.gem 147968 BLAKE2B 52bde587de6a358174df6d79df8b8179960811d68ee933655f9df82e20e47481e9f32401276e613d97fc7327fce3891ccc70fe514ab8f5b2a30aff1f640ee139 SHA512 acac745b7ff1cfdd054b683219ca68233e1453430ec0bfc1efc96cb009ad257262c276857d9bc02854a6352a98feda845d728ae63e8b046a09210eebe8661665 DIST sshkit-1.16.0.gem 147968 BLAKE2B 0d8943cca05c04946fe33bfafb690fffbc7ac19805891d0b7fcc40dda67b8522208b1588947bc0080243fc6bd08e84b918135b4b52e7bdc4f58f23d32a697cdb SHA512 87577469428e9332aa17eadb7d5fc8b5264f7d03db92f40f53e1b75431a1b8e4b381611ea86726272d130d6d2f6150c7cd37bfeaf7fe07e5f5eec77300002349 +DIST sshkit-1.16.1.gem 148480 BLAKE2B 4d33e5258a0a4fb9dd063bf914724d69bb838e6f5a461b1b6b355306e5a99f58021ddd9d8f5bc2074bbfdbab2a823132f491a4d3d76c86b2ee9c9156bef7223d SHA512 3866381a4a4c34ac29199f9eb295fb642af624f7e96971f2c752688a24e36787698a4817943317b1e6735afe0bb035e7d7e3d8b81b49022caed2ef20ee57ec57 EBUILD sshkit-1.15.1.ebuild 1189 BLAKE2B a38368258cb9069dcb50155b70a1f85f9a70e6426d2a6127fb5c4214320025e97c761a7e20a787a934ecc9b351aa55a1bdf85f6ef670971ef03534caf77f67f2 SHA512 934510900389a939ef2d9a8c94ff4d6c7784a798bc91c48d8d6013bf5574149e48a8214497d59566098500daeedfc48ba0c454eabfaa1c69c8015150ab294de8 EBUILD sshkit-1.16.0.ebuild 1182 BLAKE2B 4fbe7ff4e930cb56f7cb69a04a44d956769aa1695b4cb4bfd84fe4d8a6142f3430fa5168f43afc155da5a4c1d7a7a5432990c0aa8c3f40056606448472e32f24 SHA512 2421e2189070bf5dc8c0151a57a97332ab764e081fd860cdb03a2759e62db2148bf29cce0f9a73ad0eff7ab5827634ffeb0efd32d37b827fda4f2c7ebdd363c6 +EBUILD sshkit-1.16.1.ebuild 1189 BLAKE2B 2c28fa74d4b9b1f59546b3eb196a7f2c868c8f5889bfd5a5e95e81f3ec54766640f8cd57c4681125a5cb8724436926a90ed66beb376fc42279ae1ff385f9beff SHA512 e315c2d47cf33bd034fde158f21a669e1bbe3e79732657d9c91f3620bb1f921edcbc0d77f55927a4edb15825b02db8eb50f4291756487e5d8b20fdb82e5a462e MISC metadata.xml 343 BLAKE2B 0f8326d45916642aa200df9ede8640367ffbf73022b847f54f8869884a592489bc26a0da45406cd5409973e43290dafa3cb785460e7da61c20de3a796e025a03 SHA512 852971e242c5500cf6ce4fb0c2bc58560b96fdb8cc0f366fa41cac8e066f408330962cb86a35171c08bdea3493be81fbb10bb501ce207f7016a2a1b7c42d263b diff --git a/dev-ruby/sshkit/sshkit-1.16.1.ebuild b/dev-ruby/sshkit/sshkit-1.16.1.ebuild new file mode 100644 index 000000000000..3a0854292a59 --- /dev/null +++ b/dev-ruby/sshkit/sshkit-1.16.1.ebuild @@ -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 ruby25" + +# 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 +} |