From 1f7da26788cef674fa0c54bd0a4fa25d9948e61e Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Mon, 31 Dec 2018 07:47:08 +0100 Subject: dev-ruby/net-ssh: add 5.1.0 Signed-off-by: Hans de Graaff Package-Manager: Portage-2.3.51, Repoman-2.3.11 --- dev-ruby/net-ssh/Manifest | 1 + dev-ruby/net-ssh/net-ssh-5.1.0.ebuild | 38 +++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 dev-ruby/net-ssh/net-ssh-5.1.0.ebuild (limited to 'dev-ruby/net-ssh') diff --git a/dev-ruby/net-ssh/Manifest b/dev-ruby/net-ssh/Manifest index 38fbd67a1167..b971881b9572 100644 --- a/dev-ruby/net-ssh/Manifest +++ b/dev-ruby/net-ssh/Manifest @@ -1,3 +1,4 @@ DIST net-ssh-git-2.10.0.tgz 172885 BLAKE2B 6b5c9928191fe40afe289fc2639d12e56160522c85553cba13393347c8ef02bbe6206dbefc23b65c04980cf9761b2b40a364d8e3e13e4073950736cf53fbf480 SHA512 f66db6465667baf0c253868cc15aab3261675a8c15ca4b244c3cd587ae5e8b7a273959b97d5fc498ff1b19e1f06f51ea571573d243366a59ef56faf41c2ae347 DIST net-ssh-git-4.2.0.tgz 197417 BLAKE2B 5714185d9b83d3010e6b9baa07ac541e9227379cbfecc3a506d870d8d9fa528f59b605df4ff02ae6bfc16893bfb22734395096a77fcbe19fb939ecc1a343a9b5 SHA512 0a3609590d797a8cb4732e8cf743606a4919f57475b6eb2447a3db0c28f1bd405804fdc47a4062e503acdd4b785a1de9794a6db433cabb884105166eff6a8c5b DIST net-ssh-git-5.0.2.tgz 206757 BLAKE2B ac9a317dc238f7e3e794e4d8fcccc063d5d34dbe2e50a142e701957ad5c754985523624e97ca0b7d5773d2fefc3f10f3d61b2976997abd29511cd3934ea0e0bd SHA512 6e96d4b3cb2f4f14aa046af72b70a5e3b218153db40dc64996ad0061ea89cc9ac0dc0510a4231734c7385c03436d4116dfe4c9ac4b313c9fc5b029fc8a6c04d6 +DIST net-ssh-git-5.1.0.tgz 208940 BLAKE2B f4661bb8d0071717d342521126c0b8a834ab7775b67ad21b3d381205fc74aa1bb39f0cb406f0b90815be13c430eb5f69af2a86fe10214ec8db7829425e9c0399 SHA512 49f8f749f5e711af8002c8eb281505eb249362d58f870aabe55e8043bb8d1e94b1428246bd488508b58ec2fe089aeaf46ef758625af0573201e2ae830846525d diff --git a/dev-ruby/net-ssh/net-ssh-5.1.0.ebuild b/dev-ruby/net-ssh/net-ssh-5.1.0.ebuild new file mode 100644 index 000000000000..5709cd84bd9c --- /dev/null +++ b/dev-ruby/net-ssh/net-ssh-5.1.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc THANKS.txt" +RUBY_FAKEGEM_EXTRAINSTALL="support" + +inherit ruby-fakegem + +DESCRIPTION="Non-interactive SSH processing in pure Ruby" +HOMEPAGE="https://github.com/net-ssh/net-ssh" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> net-ssh-git-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="5" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="ed25519 test" + +ruby_add_rdepend "virtual/ruby-ssl ed25519? ( dev-ruby/ed25519 dev-ruby/bcrypt_pbkdf )" +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 >=dev-ruby/mocha-0.13 )" + +all_ruby_prepare() { + # Avoid bundler dependency + sed -i -e '/\(bundler\|:release\)/ s:^:#:' Rakefile || die +} + +src_test() { + # prevent tests from trying to connect to ssh-agent socket and failing + unset SSH_AUTH_SOCK + if ! use ed25519; then + export NET_SSH_NO_ED25519=true + fi + ruby-ng_src_test +} -- cgit v1.2.3-65-gdbad