summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-09-26 07:24:52 +0000
committerHans de Graaff <graaff@gentoo.org>2010-09-26 07:24:52 +0000
commit8105e2b0569554bf52459027d029dc024279ec32 (patch)
treec9b8c44a2e55439d2419929f8a80704c807958ed /dev-ruby/spork
parent*portage-2.2_rc87 (26 Sep 2010) (diff)
downloadgentoo-2-8105e2b0569554bf52459027d029dc024279ec32.tar.gz
gentoo-2-8105e2b0569554bf52459027d029dc024279ec32.tar.bz2
gentoo-2-8105e2b0569554bf52459027d029dc024279ec32.zip
Add ree18 target. Add missing dependency.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/spork')
-rw-r--r--dev-ruby/spork/ChangeLog7
-rw-r--r--dev-ruby/spork/spork-0.8.4-r1.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/dev-ruby/spork/ChangeLog b/dev-ruby/spork/ChangeLog
index 1c5281889fa6..17e10e2b9d5e 100644
--- a/dev-ruby/spork/ChangeLog
+++ b/dev-ruby/spork/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/spork
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/spork/ChangeLog,v 1.1 2010/07/11 17:49:04 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/spork/ChangeLog,v 1.2 2010/09/26 07:24:52 graaff Exp $
+
+*spork-0.8.4-r1 (26 Sep 2010)
+
+ 26 Sep 2010; Hans de Graaff <graaff@gentoo.org> +spork-0.8.4-r1.ebuild:
+ Add ree18 target. Add missing dependency.
*spork-0.8.4 (11 Jul 2010)
diff --git a/dev-ruby/spork/spork-0.8.4-r1.ebuild b/dev-ruby/spork/spork-0.8.4-r1.ebuild
new file mode 100644
index 000000000000..e7ff70ecbd0c
--- /dev/null
+++ b/dev-ruby/spork/spork-0.8.4-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/spork/spork-0.8.4-r1.ebuild,v 1.1 2010/09/26 07:24:52 graaff Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ree18"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.rdoc"
+RUBY_FAKEGEM_EXTRAINSTALL="assets"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Spork is Tim Harper's implementation of test server."
+HOMEPAGE="http://github.com/timcharper/spork"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE=""
+
+ruby_add_bdepend "dev-util/cucumber
+ >=dev-ruby/rspec-1.2.9
+ >=dev-ruby/rspec-rails-1.2.9
+ dev-util/cucumber-rails
+ >=dev-ruby/rails-2.3
+ >=dev-ruby/ruby-debug-0.10.3"
+
+each_ruby_prepare() {
+ # Don't use deprecated name in feature file.
+ sed -i -e 's/Fonction/Fonctionnalité/' features/cucumber_rails_integration.feature || die
+}
+
+each_ruby_test() {
+ ${RUBY} -S spec spec || die
+ ${RUBY} -Ilib -S cucumber features || die
+}