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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Apr 27 05:58:50 2013 UTC (6 years, 5 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Cleanup.

(Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)

1 # Copyright 1999-2013 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.10.ebuild,v 1.2 2013/01/16 00:49:20 zerochaos 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 ~arm ~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
55 # allow newer thor
56 sed -i -e '/dependency.*thor/s:~>:>=:' ${RUBY_FAKEGEM_GEMSPEC} || die
57 }

  ViewVC Help
Powered by ViewVC 1.1.20