graaff      14/10/26 14:51:23

  Modified:             ChangeLog ruby-glib2-2.2.2.ebuild
  Log:
  Fix failing test due to use of our sandbox.
  
  (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 
0x8883FA56A308A8D7!)

Revision  Changes    Path
1.115                dev-ruby/ruby-glib2/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-glib2/ChangeLog?rev=1.115&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-glib2/ChangeLog?rev=1.115&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-glib2/ChangeLog?r1=1.114&r2=1.115

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-glib2/ChangeLog,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -r1.114 -r1.115
--- ChangeLog   14 Oct 2014 22:50:01 -0000      1.114
+++ ChangeLog   26 Oct 2014 14:51:23 -0000      1.115
@@ -1,6 +1,9 @@
 # ChangeLog for dev-ruby/ruby-glib2
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-glib2/ChangeLog,v 1.114 
2014/10/14 22:50:01 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-glib2/ChangeLog,v 1.115 
2014/10/26 14:51:23 graaff Exp $
+
+  26 Oct 2014; Hans de Graaff <[email protected]> ruby-glib2-2.2.2.ebuild:
+  Fix failing test due to use of our sandbox.
 
 *ruby-glib2-2.2.2 (14 Oct 2014)
 



1.2                  dev-ruby/ruby-glib2/ruby-glib2-2.2.2.ebuild

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

Index: ruby-glib2-2.2.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-glib2/ruby-glib2-2.2.2.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ruby-glib2-2.2.2.ebuild     14 Oct 2014 22:50:01 -0000      1.1
+++ ruby-glib2-2.2.2.ebuild     26 Oct 2014 14:51:23 -0000      1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: 
/var/cvsroot/gentoo-x86/dev-ruby/ruby-glib2/ruby-glib2-2.2.2.ebuild,v 1.1 
2014/10/14 22:50:01 mrueg Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/dev-ruby/ruby-glib2/ruby-glib2-2.2.2.ebuild,v 1.2 
2014/10/26 14:51:23 graaff Exp $
 
 EAPI=5
 USE_RUBY="ruby19 ruby20 ruby21"
@@ -15,6 +15,11 @@
 
 ruby_add_bdepend "dev-ruby/pkg-config"
 
+all_ruby_prepare() {
+       # Our sandbox always provides LD_PRELOAD in the environment.
+       sed -i -e 's/unless ENV.empty?/unless (ENV.keys - 
["LD_PRELOAD"]).empty?/' test/test_spawn.rb || die
+}
+
 each_ruby_configure() {
        ${RUBY} extconf.rb || die "extconf.rb failed"
 }




Reply via email to