summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-10-15 08:24:04 +0200
committerHans de Graaff <graaff@gentoo.org>2022-10-17 07:24:46 +0200
commita431985fbe902146f3054533a18e1f3ab6975f88 (patch)
tree92afd6df6b9202cb0d43c1fae708a5cc2e79fcf6 /dev-util/cucumber-rails
parentmedia-libs/libjxl: Stabilize 0.7.0_pre20220825 amd64, #877289 (diff)
downloadgentoo-a431985fbe902146f3054533a18e1f3ab6975f88.tar.gz
gentoo-a431985fbe902146f3054533a18e1f3ab6975f88.tar.bz2
gentoo-a431985fbe902146f3054533a18e1f3ab6975f88.zip
dev-util/cucumber-rails: add 2.6.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-util/cucumber-rails')
-rw-r--r--dev-util/cucumber-rails/Manifest1
-rw-r--r--dev-util/cucumber-rails/cucumber-rails-2.6.1.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-util/cucumber-rails/Manifest b/dev-util/cucumber-rails/Manifest
index 829b387e12d8..8c3369ac3097 100644
--- a/dev-util/cucumber-rails/Manifest
+++ b/dev-util/cucumber-rails/Manifest
@@ -1,3 +1,4 @@
DIST cucumber-rails-2.5.0.tar.gz 42030 BLAKE2B 96279b72c597bcb40eebb2270ee996c08fd599f257b91beea50f84cb0cf221258bb5fec4f91ce6a2400d865763072bdd47c1b4c4a03b35b5e35e6384ab3f31fa SHA512 cb689beac565d0b193ebcfb0ce4d673cad2d50fe8db5718fda6779d08d5458e2234ccb5a1ff13eaf22b3048c9a10b4dd6148cfdedf841dd0b41366059acb0b67
DIST cucumber-rails-2.5.1.tar.gz 42456 BLAKE2B 91448ce88fdfed2e219a6c46b7915deeccb5678ceaaf57db06fc1348facff756b0c1dd67f6d8bcbc1b36ba555ca2d31167fa20c8b5f48138c018ef5d2f65bafc SHA512 2bb1748d9710998f974fc253ae03595d8e972593423d027840d2b437a0f13a60ec0df3cc2fb7d6e30c0003d414d093e4fd3c398e0fa27441ccb431f308f89405
DIST cucumber-rails-2.6.0.tar.gz 42630 BLAKE2B 2fac80af5cc8d5cbe2ab445d56e58188e34fd86d05ec75893eaefb3d11e58d5f86e677f1349729d21b145912931620bd76ed4e9acbbd5cc124bdfbdae3f007ab SHA512 d691cdca0f4d8a5d7a0794f5a5a15102a244da476ebd8ccda0e1c2e3521f5553373ab4a3b9bcaca20d10fd4a8a836910a938ca09450eff6b39c4446dbc5be5c8
+DIST cucumber-rails-2.6.1.tar.gz 43079 BLAKE2B c45211c8a2375fc2b488d22fb74041e5dcf56027d6644721b5023b8ad9e68f07593c448acb88b7c0e51dcad7da0213d48726e20175ecd5fd04f16174e44b848a SHA512 dd2ed4afecf74e8aac0fa360d81a27407df999b041b21c597e9ac141422cb0ece89eaa74d8da9a4fc2858efaf242837d8237a9ceee44875cff2c50d288fad480
diff --git a/dev-util/cucumber-rails/cucumber-rails-2.6.1.ebuild b/dev-util/cucumber-rails/cucumber-rails-2.6.1.ebuild
new file mode 100644
index 000000000000..abe938d10275
--- /dev/null
+++ b/dev-util/cucumber-rails/cucumber-rails-2.6.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30"
+
+# There are also cucumber features. They require a Rails project with
+# factory girl which we don't have packaged yet.
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="cucumber-rails.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Executable feature scenarios for Rails"
+HOMEPAGE="https://cucumber.io/"
+SRC_URI="https://github.com/cucumber/cucumber-rails/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Ruby"
+
+KEYWORDS="~amd64"
+SLOT="$(ver_cut 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-ruby/capybara-2.18:* <dev-ruby/capybara-4:*
+ >=dev-util/cucumber-3.2 <dev-util/cucumber-9
+ >=dev-ruby/mime-types-3.3:3
+ >=dev-ruby/nokogiri-1.10
+ >=dev-ruby/rails-5.0:* <dev-ruby/rails-8:*
+ dev-ruby/rexml:3
+ >=dev-ruby/webrick-1.7:0
+"
+
+all_ruby_prepare() {
+ rm Gemfile || die
+ sed -i -e '/[Bb]undler/d' Rakefile || die
+ sed -i -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}