summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-01-16 12:36:50 +0000
committerHans de Graaff <graaff@gentoo.org>2015-01-16 12:36:50 +0000
commite5245d25bdf32cba500251135547d29a966a8b46 (patch)
treea089aa44a281ea2b2cf1f8acf4f98abe118d2ffe /dev-util/cucumber-rails
parentsparc/x86 stable wrt #534846 (diff)
downloadgentoo-2-e5245d25bdf32cba500251135547d29a966a8b46.tar.gz
gentoo-2-e5245d25bdf32cba500251135547d29a966a8b46.tar.bz2
gentoo-2-e5245d25bdf32cba500251135547d29a966a8b46.zip
Version bump.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-util/cucumber-rails')
-rw-r--r--dev-util/cucumber-rails/ChangeLog9
-rw-r--r--dev-util/cucumber-rails/cucumber-rails-1.4.2.ebuild48
2 files changed, 55 insertions, 2 deletions
diff --git a/dev-util/cucumber-rails/ChangeLog b/dev-util/cucumber-rails/ChangeLog
index f7632859b565..c976a3594527 100644
--- a/dev-util/cucumber-rails/ChangeLog
+++ b/dev-util/cucumber-rails/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/cucumber-rails
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber-rails/ChangeLog,v 1.29 2014/05/27 08:21:57 graaff Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber-rails/ChangeLog,v 1.30 2015/01/16 12:36:50 graaff Exp $
+
+*cucumber-rails-1.4.2 (16 Jan 2015)
+
+ 16 Jan 2015; Hans de Graaff <graaff@gentoo.org> +cucumber-rails-1.4.2.ebuild:
+ Version bump.
27 May 2014; Hans de Graaff <graaff@gentoo.org> cucumber-rails-1.4.1.ebuild:
Add ruby20.
diff --git a/dev-util/cucumber-rails/cucumber-rails-1.4.2.ebuild b/dev-util/cucumber-rails/cucumber-rails-1.4.2.ebuild
new file mode 100644
index 000000000000..942d0734290e
--- /dev/null
+++ b/dev-util/cucumber-rails/cucumber-rails-1.4.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber-rails/cucumber-rails-1.4.2.ebuild,v 1.1 2015/01/16 12:36:50 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+# There are also cucumber features. They require a Rails project with
+# factory girl which we don't have packaged yet.
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_EXTRADOC="History.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="cucumber-rails.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Executable feature scenarios for Rails"
+HOMEPAGE="https://github.com/cucumber/cucumber/wikis"
+LICENSE="Ruby"
+
+KEYWORDS="~amd64"
+SLOT="1"
+IUSE=""
+
+# Restrict tests since Appraisal is now mandatory to manage different
+# rails versions, even for the specs.
+RESTRICT="test"
+#ruby_add_bdepend "
+# test? (
+# >=dev-ruby/ammeter-0.2.2
+# >=dev-ruby/rspec-rails-2.7.0:2
+# )"
+
+ruby_add_rdepend "
+ >=dev-util/cucumber-1.3.8
+ >=dev-ruby/nokogiri-1.5.0
+ >=dev-ruby/capybara-1.1.2 <dev-ruby/capybara-3
+ >=dev-ruby/rails-3.0.0
+ >=dev-ruby/mime-types-1.16:0"
+
+all_ruby_prepare() {
+ rm Gemfile || die
+ sed -i -e '/[Bb]undler/d' Rakefile || die
+ sed -i -e '/git ls/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+}