| 1 |
ranger |
1.4 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
graaff |
1.1 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
flameeyes |
1.5 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-test/rack-test-0.6.1.ebuild,v 1.4 2012/03/11 14:14:04 ranger Exp $
|
| 4 |
graaff |
1.1 |
|
| 5 |
flameeyes |
1.5 |
EAPI=4
|
| 6 |
graaff |
1.2 |
USE_RUBY="ruby18 ruby19 ree18"
|
| 7 |
graaff |
1.1 |
|
| 8 |
|
|
# no documentation is generable, it needs hanna, which is broken
|
| 9 |
|
|
RUBY_FAKEGEM_TASK_DOC=""
|
| 10 |
|
|
|
| 11 |
flameeyes |
1.5 |
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
| 12 |
graaff |
1.1 |
|
| 13 |
|
|
RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
|
| 14 |
|
|
|
| 15 |
|
|
inherit versionator ruby-fakegem
|
| 16 |
|
|
|
| 17 |
|
|
DESCRIPTION="Rack::Test is a small, simple testing API for Rack apps."
|
| 18 |
|
|
HOMEPAGE="http://github.com/brynary/rack-test"
|
| 19 |
|
|
|
| 20 |
|
|
LICENSE="MIT"
|
| 21 |
|
|
SLOT="$(get_version_component_range 1-2)"
|
| 22 |
ranger |
1.4 |
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
| 23 |
graaff |
1.1 |
IUSE=""
|
| 24 |
|
|
|
| 25 |
|
|
ruby_add_rdepend '>=dev-ruby/rack-1.0'
|
| 26 |
flameeyes |
1.5 |
ruby_add_bdepend "
|
| 27 |
|
|
test? ( >=dev-ruby/sinatra-1.2.6 )"
|
| 28 |
graaff |
1.1 |
|
| 29 |
|
|
all_ruby_prepare() {
|
| 30 |
flameeyes |
1.5 |
rm Gemfile* || die
|
| 31 |
|
|
sed -i -e '/bundler/d' spec/spec_helper.rb || die
|
| 32 |
graaff |
1.1 |
}
|