public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/msgpack: msgpack-0.3.9.ebuild ChangeLog msgpack-0.3.3.ebuild msgpack-0.3.6.ebuild
@ 2010-05-26 11:55 Diego Petteno (flameeyes)
  0 siblings, 0 replies; only message in thread
From: Diego Petteno (flameeyes) @ 2010-05-26 11:55 UTC (permalink / raw
  To: gentoo-commits

flameeyes    10/05/26 11:55:02

  Modified:             msgpack-0.3.9.ebuild ChangeLog
  Removed:              msgpack-0.3.3.ebuild msgpack-0.3.6.ebuild
  Log:
  Reduce size of configure/compile functions, die if tests fail, add ree18 support.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  dev-ruby/msgpack/msgpack-0.3.9.ebuild

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

Index: msgpack-0.3.9.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/msgpack/msgpack-0.3.9.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- msgpack-0.3.9.ebuild	22 May 2010 15:26:59 -0000	1.2
+++ msgpack-0.3.9.ebuild	26 May 2010 11:55:02 -0000	1.3
@@ -1,9 +1,12 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/msgpack/msgpack-0.3.9.ebuild,v 1.2 2010/05/22 15:26:59 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/msgpack/msgpack-0.3.9.ebuild,v 1.3 2010/05/26 11:55:02 flameeyes Exp $
 
 EAPI="2"
-USE_RUBY="ruby18"
+
+# ruby19 → tests fail
+# jruby → uses a binary extension
+USE_RUBY="ruby18 ree18"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_TASK_TEST=""
@@ -23,20 +26,16 @@
 ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
 
 each_ruby_configure() {
-	pushd ext
-	${RUBY} extconf.rb || die "Configuration of extension failed."
-	popd
+	${RUBY} -Cext extconf.rb || die "Configuration of extension failed."
 }
 
 each_ruby_compile() {
-	pushd ext
-	emake || die
-	popd
+	emake -Cext || die
 
 	mkdir lib || die "Unable to make lib directory."
 	cp ext/msgpack.so lib/ || die "Unable to install msgpack library."
 }
 
 each_ruby_test() {
-	${RUBY} test/msgpack_test.rb
+	${RUBY} test/msgpack_test.rb || die "tests failed"
 }



1.5                  dev-ruby/msgpack/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/msgpack/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog	22 May 2010 15:26:59 -0000	1.4
+++ ChangeLog	26 May 2010 11:55:02 -0000	1.5
@@ -1,6 +1,11 @@
 # ChangeLog for dev-ruby/msgpack
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/msgpack/ChangeLog,v 1.4 2010/05/22 15:26:59 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/msgpack/ChangeLog,v 1.5 2010/05/26 11:55:02 flameeyes Exp $
+
+  26 May 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+  -msgpack-0.3.3.ebuild, -msgpack-0.3.6.ebuild, msgpack-0.3.9.ebuild:
+  Reduce size of configure/compile functions, die if tests fail, add ree18
+  support.
 
   22 May 2010; Diego E. Pettenò <flameeyes@gentoo.org>
   msgpack-0.3.6.ebuild, msgpack-0.3.9.ebuild:






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-26 11:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-26 11:55 [gentoo-commits] gentoo-x86 commit in dev-ruby/msgpack: msgpack-0.3.9.ebuild ChangeLog msgpack-0.3.3.ebuild msgpack-0.3.6.ebuild Diego Petteno (flameeyes)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox