summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-09-30 07:02:57 +0200
committerHans de Graaff <graaff@gentoo.org>2016-09-30 07:44:20 +0200
commita3261aeb9790632ee3f8b8788917cec87bf89c43 (patch)
treec3d881ed745986665ce20c24caf27447500e81aa /dev-util/cucumber-rails
parentsci-electronics/drawtiming: requires imagemagick to be build with USE=cxx. Bu... (diff)
downloadgentoo-a3261aeb9790632ee3f8b8788917cec87bf89c43.tar.gz
gentoo-a3261aeb9790632ee3f8b8788917cec87bf89c43.tar.bz2
gentoo-a3261aeb9790632ee3f8b8788917cec87bf89c43.zip
dev-util/cucumber-rails: add 1.4.5
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-util/cucumber-rails')
-rw-r--r--dev-util/cucumber-rails/Manifest1
-rw-r--r--dev-util/cucumber-rails/cucumber-rails-1.4.5.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-util/cucumber-rails/Manifest b/dev-util/cucumber-rails/Manifest
index da1ce555b198..7c2e93e817e1 100644
--- a/dev-util/cucumber-rails/Manifest
+++ b/dev-util/cucumber-rails/Manifest
@@ -1,2 +1,3 @@
DIST cucumber-rails-1.4.3.gem 405504 SHA256 35f210b2bf2a0c9d102f64d89e3b2a6245bb52154fcef9650b5b4840bb81af3f SHA512 44b5653fc44f483a20f32fc6ed99e446fd9c22e9abe3a5c5430b7b84ce0e95a0d806f21809fedcc1c1848244d6b0f8351299f1981882f9995a8491b896db5391 WHIRLPOOL f52f63f2cd1da0bc5f422986f9b733342c92a3b5470b362d0e956cf89437ce12e824a95622d501d927e587898a04dac5501bc77756b53e99ae52c22eda627034
DIST cucumber-rails-1.4.4.gem 406016 SHA256 b8298a430d97642cf4ef00140a5ce96177890519fb3ed4162592c336dab7f74d SHA512 b9355adda3c322b0f7cb6de8a3fbed00706f800cbc71105ac1292390ced37f040a4467e39fe8f8bc9b26026e94c96de97588bb724a7b442fda04ab919f6a3ec0 WHIRLPOOL 606a111ff2569af26a9db7d22fc226837487d79ef2ffedb0f8876ed06c4179a898f78cebcc93ffa83fa0c053c7d1a26b90cee580bedba9e2778a9e73fe994f71
+DIST cucumber-rails-1.4.5.gem 406016 SHA256 db127640c43fd1ccdda0d60a66af534235e9ce4504e1e20666ad9d6e5b316f7a SHA512 66ad3a23503a5f28202e13fd041ca8c75ee447c525daf4b4711cbf789c7ee924efaaabf9753173eb67b8d9fd201f08d2d2fa1905175b7615640d4f2861c92701 WHIRLPOOL 93406965de8bea61a4fb0129a90b896f8e0ef3d73f788754bd351f4bd820d4a524187281167188b282bf511f428dc7be08962f12c1d10bc747286a0d6905480c
diff --git a/dev-util/cucumber-rails/cucumber-rails-1.4.5.ebuild b/dev-util/cucumber-rails/cucumber-rails-1.4.5.ebuild
new file mode 100644
index 000000000000..f505564931b3
--- /dev/null
+++ b/dev-util/cucumber-rails/cucumber-rails-1.4.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+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-util/cucumber-4
+ >=dev-ruby/nokogiri-1.5.0
+ >=dev-ruby/capybara-1.1.2:* <dev-ruby/capybara-3:*
+ >=dev-ruby/railties-3.0.0:* <dev-ruby/railties-5.1:*
+ >=dev-ruby/mime-types-1.16:* <dev-ruby/mime-types-4:*"
+
+all_ruby_prepare() {
+ rm Gemfile || die
+ sed -i -e '/[Bb]undler/d' Rakefile || die
+ sed -i -e '/git ls/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+}