/[gentoo-x86]/dev-ruby/radiant/radiant-0.9.1.ebuild
Gentoo

Contents of /dev-ruby/radiant/radiant-0.9.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Aug 13 06:31:46 2010 UTC (4 years, 1 month ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old versions.
(Portage version: 2.1.8.3/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/radiant/radiant-0.9.1.ebuild,v 1.1 2010/07/29 13:05:24 graaff Exp $
4
5 EAPI="2"
6 USE_RUBY="ruby18"
7
8 RUBY_FAKEGEM_TASK_DOC=""
9 RUBY_FAKEGEM_TASK_TEST="spec cucumber"
10 RUBY_FAKEGEM_EXTRADOC="CHANGELOG CONTRIBUTORS README"
11 RUBY_FAKEGEM_EXTRAINSTALL="app config db public script vendor"
12
13 inherit ruby-fakegem
14
15 DESCRIPTION="A no-fluff, open source content management system"
16 HOMEPAGE="http://radiantcms.org/"
17
18 LICENSE="MIT"
19 SLOT="0"
20 KEYWORDS="~amd64 ~x86"
21 IUSE=""
22
23 # Testing depends on a working database and a bundled version of Rails 2.3.8
24 # Needs more work later.
25 RESTRICT="test"
26
27 #ruby_add_bdepend "test? ( dev-db/sqlite3-ruby dev-ruby/rspec dev-util/cucumber )"
28
29 ruby_add_rdepend ">=dev-ruby/redcloth-4.0.0
30 >=dev-ruby/rack-1.1.0
31 =dev-ruby/rails-2.3*
32 >=dev-ruby/highline-1.5.1
33 >=dev-ruby/radius-0.5.1
34 =dev-ruby/will_paginate-2.3*"
35
36 # Remove code from vendor that we support as an external dependency.
37 all_ruby_prepare() {
38 rm -rf vendor/{highline,radius,rails,redcloth} || die "Unable to remove vendored code."
39 }
40
41 each_ruby_test() {
42 cp config/database.sqlite.yml config/database.yml || die "Unable to provide database.yml for testing."
43 ${RUBY} -S rake db:migrate
44 each_fakegem_test
45 rm config/database.yml || die "Unable to remove testing database.yml."
46 }

  ViewVC Help
Powered by ViewVC 1.1.20