summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-01-19 14:30:20 +0100
committerHans de Graaff <graaff@gentoo.org>2019-01-19 15:47:51 +0100
commit6f109f234ca1409fc1e7994e1def5af38be070f6 (patch)
tree8d4d39f52a7d014b9658afdfa17144892ab6edcc /dev-ruby/net-scp
parentdev-ruby/net-ssh: add ruby26 (diff)
downloadgentoo-6f109f234ca1409fc1e7994e1def5af38be070f6.tar.gz
gentoo-6f109f234ca1409fc1e7994e1def5af38be070f6.tar.bz2
gentoo-6f109f234ca1409fc1e7994e1def5af38be070f6.zip
dev-ruby/net-scp: add ruby26; allow net-ssh:5
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/net-scp')
-rw-r--r--dev-ruby/net-scp/net-scp-1.2.1-r1.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/dev-ruby/net-scp/net-scp-1.2.1-r1.ebuild b/dev-ruby/net-scp/net-scp-1.2.1-r1.ebuild
index e3c0bb9e4c6a..d717fa4a1aa6 100644
--- a/dev-ruby/net-scp/net-scp-1.2.1-r1.ebuild
+++ b/dev-ruby/net-scp/net-scp-1.2.1-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-USE_RUBY="ruby23 ruby24 ruby25"
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc"
@@ -30,13 +30,13 @@ RUBY_PATCHES=(
)
ruby_add_bdepend "
- doc? ( >=dev-ruby/net-ssh-4.0:4 )
+ doc? ( || ( dev-ruby/net-ssh:5 dev-ruby/net-ssh:4 ) )
test? (
- >=dev-ruby/net-ssh-4.0:4
+ || ( dev-ruby/net-ssh:5 dev-ruby/net-ssh:4 )
dev-ruby/mocha
)"
-ruby_add_rdepend ">=dev-ruby/net-ssh-4.0:4"
+ruby_add_rdepend "|| ( dev-ruby/net-ssh:5 dev-ruby/net-ssh:4 )"
all_ruby_prepare() {
sed -i -e 's/>= 2.0.0/~> 2.0/' test/common.rb || die