diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-08-10 07:28:06 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-08-10 07:28:06 +0200 |
commit | 00a36b7bf752b15f4f56cf9005427963790d8a4d (patch) | |
tree | eba276cf46645dcf192ad529e36bddfb3cb592f8 /dev-util | |
parent | dev-util/cucumber-rails: cleanup (diff) | |
download | gentoo-00a36b7bf752b15f4f56cf9005427963790d8a4d.tar.gz gentoo-00a36b7bf752b15f4f56cf9005427963790d8a4d.tar.bz2 gentoo-00a36b7bf752b15f4f56cf9005427963790d8a4d.zip |
dev-util/cucumber-rails: add 1.4.4
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/cucumber-rails/Manifest | 1 | ||||
-rw-r--r-- | dev-util/cucumber-rails/cucumber-rails-1.4.4.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-util/cucumber-rails/Manifest b/dev-util/cucumber-rails/Manifest index 40869c8ea70e..da1ce555b198 100644 --- a/dev-util/cucumber-rails/Manifest +++ b/dev-util/cucumber-rails/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-util/cucumber-rails/cucumber-rails-1.4.4.ebuild b/dev-util/cucumber-rails/cucumber-rails-1.4.4.ebuild new file mode 100644 index 000000000000..d553521a6ead --- /dev/null +++ b/dev-util/cucumber-rails/cucumber-rails-1.4.4.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" + +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-3 + >=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 +} |