You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-ruby/file-tail/file-tail-1.0.6.ebuild

34 lines
804 B

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/file-tail/file-tail-1.0.6.ebuild,v 1.1 2011/06/25 07:15:40 graaff Exp $
EAPI=2
USE_RUBY="ruby18 ree18 jruby"
RUBY_FAKEGEM_TASK_TEST="none"
RUBY_FAKEGEM_TASK_DOC="doc"
RUBY_FAKEGEM_DOCDIR="doc"
inherit ruby-fakegem
DESCRIPTION="A small ruby library that allows it to 'tail' files in Ruby"
HOMEPAGE="http://flori.github.com/file-tail"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
ruby_add_rdepend ">=dev-ruby/spruz-0.2"
ruby_add_bdepend "test? ( virtual/ruby-test-unit ) "
all_ruby_prepare() {
# sdoc is not yet available
sed -i -e 's/sdoc/rdoc/' Rakefile || die
}
each_ruby_test() {
${RUBY} -Ilib tests/test_file-tail*.rb || die
}