2012-07-09 11:14:04 +04:00
|
|
|
# Copyright 1999-2012 Gentoo Foundation
|
2012-02-06 16:39:49 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2012-07-09 11:14:04 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/termcolor/termcolor-1.2.0.ebuild,v 1.3 2012/07/08 21:46:13 naota Exp $
|
2012-02-06 16:39:49 +04:00
|
|
|
|
|
|
|
EAPI="2"
|
|
|
|
#*** Using highline effectively in JRuby requires manually installing the ffi-ncurses gem.
|
|
|
|
USE_RUBY="ruby18 ruby19 ree18"
|
|
|
|
|
|
|
|
RUBY_FAKEGEM_TASK_TEST="spec"
|
|
|
|
|
|
|
|
RUBY_FAKEGEM_TASK_DOC=""
|
|
|
|
RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
|
|
|
|
|
|
|
|
inherit ruby-fakegem
|
|
|
|
|
|
|
|
DESCRIPTION="a library for ANSI color formatting like HTML for output in terminal"
|
|
|
|
HOMEPAGE="http://termcolor.rubyforge.org/"
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
ruby_add_bdepend "dev-ruby/rspec:0"
|
|
|
|
ruby_add_rdepend ">=dev-ruby/highline-1.5.0"
|
|
|
|
|
|
|
|
each_ruby_test() {
|
|
|
|
${RUBY} -S spec spec || die
|
|
|
|
}
|