graaff 14/04/19 07:57:13 Modified: ChangeLog childlabor-0.0.3-r1.ebuild Log: Add ruby21. Avoid spec failing with portage. (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Revision Changes Path 1.8 dev-ruby/childlabor/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/childlabor/ChangeLog?rev=1.8&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/childlabor/ChangeLog?rev=1.8&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/childlabor/ChangeLog?r1=1.7&r2=1.8 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-ruby/childlabor/ChangeLog,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- ChangeLog 11 Mar 2014 20:10:22 -0000 1.7 +++ ChangeLog 19 Apr 2014 07:57:13 -0000 1.8 @@ -1,6 +1,9 @@ # ChangeLog for dev-ruby/childlabor # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/childlabor/ChangeLog,v 1.7 2014/03/11 20:10:22 johu Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/childlabor/ChangeLog,v 1.8 2014/04/19 07:57:13 graaff Exp $ + + 19 Apr 2014; Hans de Graaff <[email protected]> childlabor-0.0.3-r1.ebuild: + Add ruby21. Avoid spec failing with portage. 11 Mar 2014; Johannes Huber <[email protected]> childlabor-0.0.3-r1.ebuild: ~x86 added, bug #487206 1.3 dev-ruby/childlabor/childlabor-0.0.3-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/childlabor/childlabor-0.0.3-r1.ebuild?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/childlabor/childlabor-0.0.3-r1.ebuild?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/childlabor/childlabor-0.0.3-r1.ebuild?r1=1.2&r2=1.3 Index: childlabor-0.0.3-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-ruby/childlabor/childlabor-0.0.3-r1.ebuild,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- childlabor-0.0.3-r1.ebuild 11 Mar 2014 20:10:22 -0000 1.2 +++ childlabor-0.0.3-r1.ebuild 19 Apr 2014 07:57:13 -0000 1.3 @@ -1,9 +1,9 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/childlabor/childlabor-0.0.3-r1.ebuild,v 1.2 2014/03/11 20:10:22 johu Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/childlabor/childlabor-0.0.3-r1.ebuild,v 1.3 2014/04/19 07:57:13 graaff Exp $ EAPI=5 -USE_RUBY="ruby18 ruby19 ruby20 jruby" +USE_RUBY="ruby19 ruby20 ruby21 jruby" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_TASK_TEST="" @@ -26,6 +26,12 @@ ruby_add_bdepend "test? ( dev-ruby/rspec )" +all_ruby_prepare() { + # Avoid failing spec. The signals work, but the stdout handling + # doesn't seem to play nice with portage. + sed -i -e '/can send signals/,/^ end/ s:^:#:' spec/task_spec.rb || die +} + each_ruby_test() { ${RUBY} -I. -Ilib -S rspec spec/task_spec.rb || die }
