graaff      15/03/05 06:27:10

  Modified:             ChangeLog net-ssh-gateway-1.2.0.ebuild
  Log:
  Add ruby20. Backport test fixes.
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0x8883FA56A308A8D7!)

Revision  Changes    Path
1.42                 dev-ruby/net-ssh-gateway/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/net-ssh-gateway/ChangeLog?rev=1.42&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/net-ssh-gateway/ChangeLog?rev=1.42&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/net-ssh-gateway/ChangeLog?r1=1.41&r2=1.42

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/net-ssh-gateway/ChangeLog,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- ChangeLog   11 Oct 2014 05:25:49 -0000      1.41
+++ ChangeLog   5 Mar 2015 06:27:10 -0000       1.42
@@ -1,6 +1,9 @@
 # ChangeLog for dev-ruby/net-ssh-gateway
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-ssh-gateway/ChangeLog,v 1.41 
2014/10/11 05:25:49 mrueg Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-ssh-gateway/ChangeLog,v 1.42 
2015/03/05 06:27:10 graaff Exp $
+
+  05 Mar 2015; Hans de Graaff <[email protected]> net-ssh-gateway-1.2.0.ebuild:
+  Add ruby20. Backport test fixes.
 
   11 Oct 2014; Manuel RĂ¼ger <[email protected]> net-ssh-gateway-1.2.0-r1.ebuild:
   Add ruby21 target. Restrict tests to <mocha-1



1.2                  dev-ruby/net-ssh-gateway/net-ssh-gateway-1.2.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/net-ssh-gateway/net-ssh-gateway-1.2.0.ebuild?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/net-ssh-gateway/net-ssh-gateway-1.2.0.ebuild?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/net-ssh-gateway/net-ssh-gateway-1.2.0.ebuild?r1=1.1&r2=1.2

Index: net-ssh-gateway-1.2.0.ebuild
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/dev-ruby/net-ssh-gateway/net-ssh-gateway-1.2.0.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- net-ssh-gateway-1.2.0.ebuild        13 Apr 2013 05:57:58 -0000      1.1
+++ net-ssh-gateway-1.2.0.ebuild        5 Mar 2015 06:27:10 -0000       1.2
@@ -1,9 +1,9 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: 
/var/cvsroot/gentoo-x86/dev-ruby/net-ssh-gateway/net-ssh-gateway-1.2.0.ebuild,v 
1.1 2013/04/13 05:57:58 graaff Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/dev-ruby/net-ssh-gateway/net-ssh-gateway-1.2.0.ebuild,v 
1.2 2015/03/05 06:27:10 graaff Exp $
 
 EAPI=4
-USE_RUBY="ruby19"
+USE_RUBY="ruby19 ruby20"
 
 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
 
@@ -19,10 +19,15 @@
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
 IUSE=""
 
-ruby_add_bdepend "dev-ruby/test-unit:2"
+ruby_add_bdepend "dev-ruby/test-unit:2
+       <dev-ruby/mocha-1"
 
 ruby_add_rdepend ">=dev-ruby/net-ssh-2.6.5"
 
+all_ruby_prepare() {
+       sed -i -e "1igem 'mocha', '~>0.10'" test/gateway_test.rb || die
+}
+
 each_ruby_test() {
        RUBYLIB=lib ruby-ng_testrb-2 test/*
 }




Reply via email to