diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-04-22 21:10:22 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-04-22 21:13:11 +0200 |
commit | 7c033f806593e6dc45112ec494ee531bae94f810 (patch) | |
tree | ceb1334ad6b07e7aa53c94c04939137fec994c03 /dev-ruby/net-sftp/net-sftp-2.1.2-r2.ebuild | |
parent | dev-ruby/net-ssh: document ruby24 status (diff) | |
download | gentoo-7c033f806593e6dc45112ec494ee531bae94f810.tar.gz gentoo-7c033f806593e6dc45112ec494ee531bae94f810.tar.bz2 gentoo-7c033f806593e6dc45112ec494ee531bae94f810.zip |
dev-ruby/net-sftp: also allow net-ssh:3
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/net-sftp/net-sftp-2.1.2-r2.ebuild')
-rw-r--r-- | dev-ruby/net-sftp/net-sftp-2.1.2-r2.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/dev-ruby/net-sftp/net-sftp-2.1.2-r2.ebuild b/dev-ruby/net-sftp/net-sftp-2.1.2-r2.ebuild index 0fea846c2c4a..06d83b14fd7f 100644 --- a/dev-ruby/net-sftp/net-sftp-2.1.2-r2.ebuild +++ b/dev-ruby/net-sftp/net-sftp-2.1.2-r2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -USE_RUBY="ruby20 ruby21 ruby22 ruby23" +USE_RUBY="ruby22 ruby23" RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc" @@ -16,9 +16,13 @@ SLOT="2" KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="" -ruby_add_rdepend ">=dev-ruby/net-ssh-2.6.5" +ruby_add_rdepend "|| ( dev-ruby/net-ssh:3 dev-ruby/net-ssh:2.6 )" ruby_add_bdepend " test? ( >=dev-ruby/mocha-0.13 )" + +all_ruby_prepare() { + sed -i -e '1i gem "net-ssh", "< 4"' test/common.rb || die +} |