public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/radiant: radiant-1.0.0_rc3.ebuild ChangeLog
@ 2011-12-05 20:52 Diego Petteno (flameeyes)
  0 siblings, 0 replies; only message in thread
From: Diego Petteno (flameeyes) @ 2011-12-05 20:52 UTC (permalink / raw
  To: gentoo-commits

flameeyes    11/12/05 20:52:44

  Modified:             ChangeLog
  Added:                radiant-1.0.0_rc3.ebuild
  Log:
  Add an ebuild for the latest release candidate; I was unable to get 0.9.1 to work, and this one seem not to work with Rails 3 installed, but it can't hurt.. more.
  
  (Portage version: 2.2.0_alpha79/cvs/Linux x86_64)

Revision  Changes    Path
1.22                 dev-ruby/radiant/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/radiant/ChangeLog?rev=1.22&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/radiant/ChangeLog?rev=1.22&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/radiant/ChangeLog?r1=1.21&r2=1.22

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/radiant/ChangeLog,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- ChangeLog	14 Aug 2010 08:05:01 -0000	1.21
+++ ChangeLog	5 Dec 2011 20:52:44 -0000	1.22
@@ -1,6 +1,14 @@
 # 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.21 2010/08/14 08:05:01 graaff Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/radiant/ChangeLog,v 1.22 2011/12/05 20:52:44 flameeyes Exp $
+
+*radiant-1.0.0_rc3 (05 Dec 2011)
+
+  05 Dec 2011; Diego E. Pettenò <flameeyes@gentoo.org>
+  +files/radiant-1.0.0_rc3-deps.patch, +radiant-1.0.0_rc3.ebuild:
+  Add an ebuild for the latest release candidate; I was unable to get 0.9.1 to
+  work, and this one seem not to work with Rails 3 installed, but it can't
+  hurt.. more.
 
 *radiant-0.9.1-r3 (14 Aug 2010)
 



1.1                  dev-ruby/radiant/radiant-1.0.0_rc3.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/radiant/radiant-1.0.0_rc3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/radiant/radiant-1.0.0_rc3.ebuild?rev=1.1&content-type=text/plain

Index: radiant-1.0.0_rc3.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/radiant/radiant-1.0.0_rc3.ebuild,v 1.1 2011/12/05 20:52:44 flameeyes Exp $

EAPI="2"
USE_RUBY="ruby18"

RUBY_FAKEGEM_VERSION=${PV/_/.}

RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_TASK_TEST="spec cucumber"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md CONTRIBUTORS.md README.md"

# All these files are needed because the generator expect to install them.
RUBY_FAKEGEM_EXTRAINSTALL="CHANGELOG.md CONTRIBUTORS.md INSTALL.md LICENSE.md README.md Gemfile Gemfile.lock Rakefile app config db log 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"
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.14:2.3
	>=dev-ruby/highline-1.5.1
	>=dev-ruby/radius-0.5.1
	=dev-ruby/will_paginate-2.3*
	dev-ruby/rack-cache
	>=dev-ruby/sqlite3-ruby-1.3.4
	dev-ruby/bundler"

# Remove code from vendor that we support as an external dependency.
all_ruby_prepare() {
	rm -rf vendor/{highline,radius,rails,redcloth} Gemfile.lock

	epatch "${FILESDIR}"/${P}-deps.patch
}

each_ruby_compile() {
	# we force a lock here so that it actually works without trying to
	# write in /usr as user.
	bundle install --local || die
}

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."
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-12-05 20:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-05 20:52 [gentoo-commits] gentoo-x86 commit in dev-ruby/radiant: radiant-1.0.0_rc3.ebuild ChangeLog Diego Petteno (flameeyes)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox