| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bones/bones-3.8.0.ebuild,v 1.1 2012/08/14 14:32:45 flameeyes Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
|
| 7 |
USE_RUBY="ruby18 ruby19 jruby ree18" |
| 8 |
|
| 9 |
RUBY_FAKEGEM_RECIPE_TEST="rspec" |
| 10 |
|
| 11 |
RUBY_FAKEGEM_TASK_DOC="doc:rdoc" |
| 12 |
RUBY_FAKEGME_DOCDIR="doc" |
| 13 |
|
| 14 |
RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" |
| 15 |
|
| 16 |
RUBY_FAKEGEM_EXTRAINSTALL="default version.txt" |
| 17 |
|
| 18 |
inherit ruby-fakegem |
| 19 |
|
| 20 |
DESCRIPTION="Tool that creates new Ruby projects from a code skeleton" |
| 21 |
HOMEPAGE="http://github.com/TwP/bones" |
| 22 |
|
| 23 |
IUSE="test" |
| 24 |
LICENSE="MIT" |
| 25 |
SLOT="0" |
| 26 |
KEYWORDS="~amd64 ~x86" |
| 27 |
|
| 28 |
ruby_add_rdepend " |
| 29 |
>=dev-ruby/loquacious-1.9.1 |
| 30 |
>=dev-ruby/little-plugger-1.1.3 |
| 31 |
>=dev-ruby/rake-0.8.7" |
| 32 |
|
| 33 |
each_ruby_test() { |
| 34 |
if [[ ${RUBY} == *jruby ]]; then |
| 35 |
ewarn "JRuby up to 1.6.7.2 is known to crash even after passing the tests." |
| 36 |
return 0 |
| 37 |
fi |
| 38 |
each_fakegem_test |
| 39 |
} |