diff options
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 -} |