/[gentoo-x86]/dev-ruby/bones/bones-3.6.5.ebuild
Gentoo

Contents of /dev-ruby/bones/bones-3.6.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Feb 11 08:36:11 2011 UTC (3 years, 7 months ago) by graaff
Branch: MAIN
Version bump. Drop bones-extras which is now a no-op. Fix tests accordingly.

(Portage version: 2.1.9.25/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.6.2.ebuild,v 1.1 2011/01/28 08:06:43 graaff Exp $
4
5 EAPI=2
6
7 USE_RUBY="ruby18 ruby19 jruby"
8
9 RUBY_FAKEGEM_TASK_TEST=""
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"
27
28 ruby_add_rdepend "
29 >=dev-ruby/loquacious-1.7.0
30 >=dev-ruby/little-plugger-1.1.2-r1
31 >=dev-ruby/rake-0.8.7"
32
33 ruby_add_bdepend "
34 test? ( >=dev-ruby/rspec-1.3.0:0 )"
35
36 all_ruby_prepare() {
37 # Avoid double --format specdoc option which causes problems for rspec.
38 sed -i -e 's/--format specdoc//' Rakefile || die
39 }
40
41 each_ruby_test() {
42 ${RUBY} -S spec spec || die "tests failed"
43 }

  ViewVC Help
Powered by ViewVC 1.1.20