| 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/termcolor/termcolor-1.2.0.ebuild,v 1.3 2012/07/08 21:46:13 naota Exp $ |
| 4 |
|
| 5 |
EAPI="2" |
| 6 |
#*** Using highline effectively in JRuby requires manually installing the ffi-ncurses gem. |
| 7 |
USE_RUBY="ruby18 ruby19 ree18" |
| 8 |
|
| 9 |
RUBY_FAKEGEM_TASK_TEST="spec" |
| 10 |
|
| 11 |
RUBY_FAKEGEM_TASK_DOC="" |
| 12 |
RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" |
| 13 |
|
| 14 |
inherit ruby-fakegem |
| 15 |
|
| 16 |
DESCRIPTION="a library for ANSI color formatting like HTML for output in terminal" |
| 17 |
HOMEPAGE="http://termcolor.rubyforge.org/" |
| 18 |
|
| 19 |
LICENSE="MIT" |
| 20 |
SLOT="0" |
| 21 |
KEYWORDS="~amd64 ~x86" |
| 22 |
IUSE="" |
| 23 |
|
| 24 |
ruby_add_bdepend "dev-ruby/rspec:0" |
| 25 |
ruby_add_rdepend ">=dev-ruby/highline-1.5.0" |
| 26 |
|
| 27 |
each_ruby_test() { |
| 28 |
${RUBY} -S spec spec || die |
| 29 |
} |