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

Contents of /dev-ruby/radiant/radiant-0.8.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Sep 11 17:57:14 2012 UTC (23 months, 2 weeks ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Cleanup.

(Portage version: 2.1.11.9/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.8.2-r1.ebuild,v 1.1 2010/06/01 07:59:44 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 RUBY_PATCHES=( "${P}-migration.patch" )
24
25 # Testing depends on a working database but creating this currently
26 # fails. This may be breakage related to Rails 2.3.8. Further
27 # investigation needed.
28 RESTRICT="test"
29
30 #ruby_add_bdepend "test? ( dev-db/sqlite3-ruby dev-ruby/rspec dev-util/cucumber )"
31
32 ruby_add_rdepend ">=dev-ruby/redcloth-4.0.0
33 >=dev-ruby/rack-1.0.0
34 =dev-ruby/rails-2.3*
35 >=dev-ruby/highline-1.5.1
36 >=dev-ruby/radius-0.5.1"
37
38 # Remove code from vendor that we support as an external dependency.
39 all_ruby_prepare() {
40 rm -rf vendor/{highline,radius,rails,redcloth} || die "Unable to remove vendored code."
41 }
42
43 #each_ruby_test() {
44 # cp config/database.sqlite.yml config/database.yml || die "Unable to provide database.yml for testing."
45 # ${RUBY} -S rake db:migrate
46 # each_fakegem_test
47 # rm config/database.yml || die "Unable to remove testing database.yml."
48 #}

  ViewVC Help
Powered by ViewVC 1.1.20