1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 USE_RUBY="ruby20 ruby21 ruby22 ruby23"
9 RUBY_FAKEGEM_TASK_TEST=""
10 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
11 RUBY_FAKEGEM_TASK_DOC="doc"
13 RUBY_FAKEGEM_EXTRADOC="ChangeLog.txt README.rdoc TODO.rdoc"
15 inherit ruby-fakegem eutils
17 DESCRIPTION="A very simple library to use URL shortening services such as TinyURL or RubyURL"
18 HOMEPAGE="http://shorturl.rubyforge.org/"
22 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~x86-macos"
25 # All tests require network connectivity.
29 ${RUBY} -Ilib:test test/ts_all.rb || die "tests failed"
36 # If the doc build fails, the doc directory might not exist
37 pushd doc &>/dev/null || die "pushd doc failed"