/[gentoo-x86]/dev-ruby/railties/railties-3.1.6.ebuild
Gentoo

Contents of /dev-ruby/railties/railties-3.1.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jul 29 07:39:32 2012 UTC (7 years, 2 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove vulnerable versions.

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/railties-3.1.6.ebuild,v 1.1 2012/06/17 09:28:13 graaff Exp $
4
5 EAPI=4
6 USE_RUBY="ruby18 ruby19 ree18"
7
8 RUBY_FAKEGEM_TASK_TEST="test:regular"
9 RUBY_FAKEGEM_TASK_DOC="generate_guides"
10 RUBY_FAKEGEM_DOCDIR="guides/output"
11 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
12
13 RUBY_FAKEGEM_GEMSPEC="railties.gemspec"
14
15 inherit ruby-fakegem
16
17 DESCRIPTION="Tools for creating, working with, and running Rails applications."
18 HOMEPAGE="http://github.com/rails/rails"
19 SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
20
21 LICENSE="MIT"
22 SLOT="3.1"
23 KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
24 IUSE=""
25
26 RUBY_S="rails-rails-*/railties"
27
28 # The test suite has many failures, most likely due to a mismatch in
29 # exact dependencies or environment specifics. Needs further
30 # investigation.
31 RESTRICT="test"
32
33 ruby_add_rdepend "
34 ~dev-ruby/activesupport-${PV}
35 ~dev-ruby/actionpack-${PV}
36 >=dev-ruby/rdoc-3.4
37 >=dev-ruby/thor-0.14.6
38 >=dev-ruby/rack-ssl-1.3.2:1.3
39 >=dev-ruby/rake-0.8.7"
40
41 ruby_add_bdepend "
42 test? (
43 >=dev-ruby/mocha-0.9.5
44 virtual/ruby-test-unit
45 )
46 doc? (
47 >=dev-ruby/redcloth-4.1.1
48 )"
49
50 all_ruby_prepare() {
51 # Remove items from the common Gemfile that we don't need for this
52 # test run. This also requires handling some gemspecs.
53 sed -i -e '/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\)/d' ../Gemfile || die
54 }

  ViewVC Help
Powered by ViewVC 1.1.20