diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-06-10 06:55:25 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-06-10 06:58:04 +0200 |
commit | fc8519418f87e8048df8f502aeb2fe4534f4c8a8 (patch) | |
tree | 1ba59c677b37740c294e1f4d52485a1aeb517614 /dev-ruby/net-ssh | |
parent | dev-ruby/ffi: add 1.13.1 (diff) | |
download | gentoo-fc8519418f87e8048df8f502aeb2fe4534f4c8a8.tar.gz gentoo-fc8519418f87e8048df8f502aeb2fe4534f4c8a8.tar.bz2 gentoo-fc8519418f87e8048df8f502aeb2fe4534f4c8a8.zip |
dev-ruby/net-ssh: add 6.1.0
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/net-ssh')
-rw-r--r-- | dev-ruby/net-ssh/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/net-ssh/net-ssh-6.1.0.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/net-ssh/Manifest b/dev-ruby/net-ssh/Manifest index f0a76c8cb6c8..61adbe190e25 100644 --- a/dev-ruby/net-ssh/Manifest +++ b/dev-ruby/net-ssh/Manifest @@ -2,3 +2,4 @@ DIST net-ssh-git-4.2.0.tgz 197417 BLAKE2B 5714185d9b83d3010e6b9baa07ac541e922737 DIST net-ssh-git-5.2.0.tgz 209986 BLAKE2B 6a1bc97da733420607c6ebe69a01f42d58998297a12394a29c9b4f5af425781d6b1b3535cecef21a0918eefc2e032f519fce9c5691c0a735c7810452f468d780 SHA512 cf2fa9817b124f0f35115abef51a4865073b3126b94d66cd307994bba06745513aaab1c1bcf64907a7b3bbce793b272b3f521cfa93f9339ca78ec8cef09cbeeb DIST net-ssh-git-6.0.0.tgz 218503 BLAKE2B 5cd2126513233eaf169fd0eab4876e7c0c4b61f7cb3df19d7e369403fbba39ee68f4ade61ec58ed9124c460af5d39bc93ccf32a320ea19d02fc3d34bb8413f37 SHA512 18dd1f694e6b57f6f22c356a0726f5eb8aff9921f097b50f072c2829c4bda8fa697c5e71a49da862beca59a703a3146b29b80f8b5dfed3a3b661e05bc68b3387 DIST net-ssh-git-6.0.2.tgz 219657 BLAKE2B c514237e6edf4a9f7581850a1a5ecce352fd5f56c633587ddc26571c6bff06172f177168d8e55d053615050fff5d7f0946c4aafc0e31890ea630b741c99b27ee SHA512 f6fa4ab3b009429e08d76bf412bb0a93083c17d58ad6e24cef7d4152915dca2d335a533223ff57b65c9053a7ed5df4905e3231d50b0d52ea03f6403a6c1cdec4 +DIST net-ssh-git-6.1.0.tgz 220190 BLAKE2B a5ae0f15cf3dac8934de0b3216541415cc947214ea33d57770b5f2bf2594fa5b29b8dd9a417233de0ed243a12cdc547e5e87861767c5bbc65adb90cdbe58a484 SHA512 1d92ad19cb8bf80aec4ada23c49b91588c722551695cb0dd7b2954001fd71b4b4c030f8317b86766451847273c6116baa041c03e2415df2b0f81b20551dd8566 diff --git a/dev-ruby/net-ssh/net-ssh-6.1.0.ebuild b/dev-ruby/net-ssh/net-ssh-6.1.0.ebuild new file mode 100644 index 000000000000..124bde4b5785 --- /dev/null +++ b/dev-ruby/net-ssh/net-ssh-6.1.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.md THANKS.txt" +RUBY_FAKEGEM_EXTRAINSTALL="support" + +RUBY_FAKEGEM_GEMSPEC="net-ssh.gemspec" + +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="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="ed25519 test" + +ruby_add_rdepend "virtual/ruby-ssl ed25519? ( >=dev-ruby/ed25519-1.2:1 dev-ruby/bcrypt_pbkdf:1 )" +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 + + sed -e "s:require_relative ':require './:" \ + -e 's/git ls-files -z/find -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || 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 +} |