blob: 5f5e8c0cb044d01491c8bcab3c0534403bbb8f95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/will_paginate/will_paginate-2.3.15.ebuild,v 1.4 2011/09/26 11:31:36 flameeyes Exp $
EAPI=2
USE_RUBY="ruby18"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc"
inherit ruby-fakegem
DESCRIPTION="Most awesome pagination solution for Ruby "
HOMEPAGE="http://github.com/mislav/will_paginate/"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-macos"
IUSE=""
ruby_add_bdepend "
test? (
dev-ruby/mocha
dev-ruby/rack
dev-ruby/rails:2.3
virtual/ruby-test-unit
!dev-ruby/test-unit:2
)"
ruby_add_rdepend 'dev-ruby/activesupport:2.3'
each_ruby_test() {
# Only works with 2.3.x, so guard against rails 3 being installed
# already.
RAILS_VERSION="~>2.3.5" rake test || die "Tests failed."
}
|