diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-04-23 07:29:57 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-04-23 07:55:59 +0200 |
commit | 224c321b7fca5590b3d06dc2ef65ab56cc58efd1 (patch) | |
tree | 4bcba10c42155773cb4edc7890639c4080fd45f0 /dev-ruby/net-sftp/net-sftp-2.1.2-r2.ebuild | |
parent | dev-ruby/http: add 3.2.0 (diff) | |
download | gentoo-224c321b7fca5590b3d06dc2ef65ab56cc58efd1.tar.gz gentoo-224c321b7fca5590b3d06dc2ef65ab56cc58efd1.tar.bz2 gentoo-224c321b7fca5590b3d06dc2ef65ab56cc58efd1.zip |
dev-ruby/net-sftp: add ruby24 with support for net-ssh-4
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, 4 insertions, 6 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 06d83b14fd7f..355c2a819361 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 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=5 -USE_RUBY="ruby22 ruby23" +USE_RUBY="ruby22 ruby23 ruby24" RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc" @@ -16,13 +16,11 @@ 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:3 dev-ruby/net-ssh:2.6 )" +RUBY_PATCHES=( "${FILESDIR}/${P}-net-ssh-4.patch" ) + +ruby_add_rdepend "|| ( dev-ruby/net-ssh:4 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 -} |