2016-04-04 09:01:22 +03:00
|
|
|
# Copyright 1999-2016 Gentoo Foundation
|
2012-09-24 21:36:09 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-11 00:17:55 +03:00
|
|
|
# $Id$
|
2012-09-24 21:36:09 +04:00
|
|
|
|
2014-10-11 13:02:16 +04:00
|
|
|
EAPI=5
|
2016-04-04 09:01:22 +03:00
|
|
|
USE_RUBY="ruby20 ruby21"
|
2012-09-24 21:36:09 +04:00
|
|
|
|
|
|
|
RUBY_FAKEGEM_TASK_DOC=""
|
|
|
|
RUBY_FAKEGEM_EXTRADOC="FAQ.txt History.txt README.txt"
|
|
|
|
|
|
|
|
inherit ruby-fakegem
|
|
|
|
|
2014-08-06 17:12:35 +04:00
|
|
|
DESCRIPTION="Trollop is a commandline option parser for Ruby"
|
2012-09-24 21:36:09 +04:00
|
|
|
HOMEPAGE="http://trollop.rubyforge.org/"
|
|
|
|
LICENSE="Ruby"
|
|
|
|
|
2012-10-28 22:20:41 +04:00
|
|
|
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
2012-10-01 23:11:07 +04:00
|
|
|
SLOT="2"
|
2012-09-24 21:36:09 +04:00
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
each_ruby_test() {
|
|
|
|
${RUBY} -I lib test/test_trollop.rb || die "Tests failed."
|
|
|
|
}
|