diff options
author | Hans de Graaff <graaff@gentoo.org> | 2010-07-29 13:05:24 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2010-07-29 13:05:24 +0000 |
commit | eb17d4eab90d292618bf930227b894212ec5f15f (patch) | |
tree | 9dbd872e9e7d01ae232f2aa5163ffe5481cea5e0 /dev-ruby/radiant | |
parent | Version bump (diff) | |
download | gentoo-2-eb17d4eab90d292618bf930227b894212ec5f15f.tar.gz gentoo-2-eb17d4eab90d292618bf930227b894212ec5f15f.tar.bz2 gentoo-2-eb17d4eab90d292618bf930227b894212ec5f15f.zip |
Version bump.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/radiant')
-rw-r--r-- | dev-ruby/radiant/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/radiant/radiant-0.9.1.ebuild | 46 |
2 files changed, 52 insertions, 1 deletions
diff --git a/dev-ruby/radiant/ChangeLog b/dev-ruby/radiant/ChangeLog index 0b1a82b96f02..64d5b2b87fe8 100644 --- a/dev-ruby/radiant/ChangeLog +++ b/dev-ruby/radiant/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/radiant # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/radiant/ChangeLog,v 1.17 2010/06/01 07:59:44 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/radiant/ChangeLog,v 1.18 2010/07/29 13:05:24 graaff Exp $ + +*radiant-0.9.1 (29 Jul 2010) + + 29 Jul 2010; Hans de Graaff <graaff@gentoo.org> +radiant-0.9.1.ebuild: + Version bump. *radiant-0.8.2-r1 (01 Jun 2010) diff --git a/dev-ruby/radiant/radiant-0.9.1.ebuild b/dev-ruby/radiant/radiant-0.9.1.ebuild new file mode 100644 index 000000000000..cccbc7e7c2c0 --- /dev/null +++ b/dev-ruby/radiant/radiant-0.9.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/radiant/radiant-0.9.1.ebuild,v 1.1 2010/07/29 13:05:24 graaff Exp $ + +EAPI="2" +USE_RUBY="ruby18" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="spec cucumber" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG CONTRIBUTORS README" +RUBY_FAKEGEM_EXTRAINSTALL="app config db public script vendor" + +inherit ruby-fakegem + +DESCRIPTION="A no-fluff, open source content management system" +HOMEPAGE="http://radiantcms.org/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# Testing depends on a working database and a bundled version of Rails 2.3.8 +# Needs more work later. +RESTRICT="test" + +#ruby_add_bdepend "test? ( dev-db/sqlite3-ruby dev-ruby/rspec dev-util/cucumber )" + +ruby_add_rdepend ">=dev-ruby/redcloth-4.0.0 + >=dev-ruby/rack-1.1.0 + =dev-ruby/rails-2.3* + >=dev-ruby/highline-1.5.1 + >=dev-ruby/radius-0.5.1 + =dev-ruby/will_paginate-2.3*" + +# Remove code from vendor that we support as an external dependency. +all_ruby_prepare() { + rm -rf vendor/{highline,radius,rails,redcloth} || die "Unable to remove vendored code." +} + +each_ruby_test() { + cp config/database.sqlite.yml config/database.yml || die "Unable to provide database.yml for testing." + ${RUBY} -S rake db:migrate + each_fakegem_test + rm config/database.yml || die "Unable to remove testing database.yml." +} |