/[gentoo-x86]/dev-ruby/rack-test/rack-test-0.6.1.ebuild
Gentoo

Contents of /dev-ruby/rack-test/rack-test-0.6.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Sun Aug 12 20:51:39 2012 UTC (22 months, 4 weeks ago) by flameeyes
Branch: MAIN
Changes since 1.4: +7 -5 lines
Bump to EAPI 4; use the new rspec recipe for testing, and stop using bundler (these last two let the test work instead of failing on a missing diff/lcs).

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

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 }

  ViewVC Help
Powered by ViewVC 1.1.20