From 6ac29dd9942912eda44cf6340a29b609015ba1ae Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò <flameeyes@gentoo.org> Date: Tue, 14 Aug 2012 14:32:45 +0000 Subject: Version bump; skip tests on JRuby as java itself crashes. (Portage version: 2.2.0_alpha120/cvs/Linux x86_64) --- dev-ruby/bones/ChangeLog | 7 ++++++- dev-ruby/bones/bones-3.8.0.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 dev-ruby/bones/bones-3.8.0.ebuild diff --git a/dev-ruby/bones/ChangeLog b/dev-ruby/bones/ChangeLog index d97a28da7a77..63adff3aae5a 100644 --- a/dev-ruby/bones/ChangeLog +++ b/dev-ruby/bones/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/bones # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bones/ChangeLog,v 1.17 2012/08/14 01:22:02 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bones/ChangeLog,v 1.18 2012/08/14 14:32:45 flameeyes Exp $ + +*bones-3.8.0 (14 Aug 2012) + + 14 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> +bones-3.8.0.ebuild: + Version bump; skip tests on JRuby as java itself crashes. 14 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> bones-3.7.0.ebuild: Port to rspec helper for testing. Bump to EAPI 4. diff --git a/dev-ruby/bones/bones-3.8.0.ebuild b/dev-ruby/bones/bones-3.8.0.ebuild new file mode 100644 index 000000000000..49650b11ee8f --- /dev/null +++ b/dev-ruby/bones/bones-3.8.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bones/bones-3.8.0.ebuild,v 1.1 2012/08/14 14:32:45 flameeyes Exp $ + +EAPI=4 + +USE_RUBY="ruby18 ruby19 jruby ree18" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_TASK_DOC="doc:rdoc" +RUBY_FAKEGME_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="default version.txt" + +inherit ruby-fakegem + +DESCRIPTION="Tool that creates new Ruby projects from a code skeleton" +HOMEPAGE="http://github.com/TwP/bones" + +IUSE="test" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +ruby_add_rdepend " + >=dev-ruby/loquacious-1.7.0 + >=dev-ruby/little-plugger-1.1.2-r1 + >=dev-ruby/rake-0.8.7" + +each_ruby_test() { + if [[ ${RUBY} == *jruby ]]; then + ewarn "JRuby up to 1.6.7.2 is known to crash even after passing the tests." + return 0 + fi + each_fakegem_test +} -- cgit v1.2.3-65-gdbad