diff options
Diffstat (limited to 'dev-util/cucumber-rails')
-rw-r--r-- | dev-util/cucumber-rails/Manifest | 2 | ||||
-rw-r--r-- | dev-util/cucumber-rails/cucumber-rails-2.4.0.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-util/cucumber-rails/Manifest b/dev-util/cucumber-rails/Manifest index e5f54ee237ef..99a2f4eb8120 100644 --- a/dev-util/cucumber-rails/Manifest +++ b/dev-util/cucumber-rails/Manifest @@ -1,7 +1,9 @@ DIST cucumber-rails-1.8.0.gem 43008 BLAKE2B ac2fbc89ea952add031429b281986de37b3a8511e398b34d49435c70221b3c454589c51acd5b1fcecdf0285a8e446d4c2c0e0a77216eb78f8fa222086fb6db36 SHA512 757f50719309418353cf1e6b42902ce6166806d2e2a9cd1a27842ffde3d8ce61af97de12f4ffa9e31a50693cc8c40ece9a74e5ec91973096e77860b56034d439 DIST cucumber-rails-2.2.0.gem 136704 BLAKE2B 660037bb5938ad01aa0b1188e5e48522f9932662d6578f1c0a107cdacbd5cf8527e48b6ddb2c91d975577a71db0259a7250d762004ef0a49ebc063f45103aab0 SHA512 ca8a0ce9c9cdb1306b6a5f8e3d9ba68a2beb3d0a35a58fd6c51ba3ce76e2104045b2768054d27bb4bfcd437534aeb6d39fa2be87396f3a4084c0044201e96252 DIST cucumber-rails-2.3.0.tar.gz 39492 BLAKE2B 73c45db7b3b445804b29814fa7add1ee5d66ea75bf3bd7b19456cef38340adc37f6129911a49d7e9996bf20299e31511e51758e18d9f8ffdb53fa9ea320aad42 SHA512 fee78784bd21084271c611073bce8b399783a2ce1900bf12a27cd8b70edbedc525b501d5d71856ad42f19174664d95d97bd4adf75b1791af60bc237a9f16e00d +DIST cucumber-rails-2.4.0.tar.gz 41130 BLAKE2B abe10f72aad684691f863a7aeb952a7e45c945d22e1998dbd860ff47808c253607d6502fdb9dbcb1d573a0e3d615859ab56b9e34eabc5de33ff3c47483f8314d SHA512 b57134227e807da4f64d5d8d1435e597f28adab27f2f4d7148b8e997cedf721916dfa73de5a226953827053db2dbc3f3300a88f71d72327514585ae9fada9e0c EBUILD cucumber-rails-1.8.0.ebuild 1184 BLAKE2B 4e2c858cfbb65f591442aefb56f6c50916c58adec4a40394a578f4cbc09dc5a2770a7d2da02d2897bf052957395b51157c77319370e882e2c55c406bcb871c05 SHA512 72d72915af22e3ed24e9a9e1965cad8f5a37c1748302787b7ba665f6dcf1834e19fbabdfc7257fa338b2db777ed8b1d0d1355d2377c33b2ac07a4d9666bc0ca9 EBUILD cucumber-rails-2.2.0.ebuild 1196 BLAKE2B 204bff27ac75def4b5e88ccfb332b824d8cceec2672f4a2b298c9afc4c32c5c176fd03534fbd6136c9f6d9356a2692ad4a6b1dbf43444334735e3f5e28a714f2 SHA512 70a349b9c1e0b6417fc9e7625ae09f670220bef05f7a8a5c820637ff2cae11b0a5918bee4baa29b1a2e701d6f37d4b2844fabb497a2003abda5857dfafcbdbc9 EBUILD cucumber-rails-2.3.0.ebuild 1306 BLAKE2B e38089ec8e150c8af7418c5fe67310f6be53f84c9a19859683cd14fe8a12147277792a10159b1f56f86a22970a47fdd779e381318a757292c6bd6851832a24d2 SHA512 786cf0c4ee54ed2d560b7f7d1356b1976e2e093dede1f7aeaf7830f2526429faec7ec5ec284a821e9de980c0aada270883d973add3ddd75729e51a8030844936 +EBUILD cucumber-rails-2.4.0.ebuild 1324 BLAKE2B 9758ef2b398869d3258fd2a6b8f1c9f3558277a6a3802a63c3ad94246d27d8bd5c29630fcd8268e1faf22c200ebfc31330e75abc295084a048f2decb9713ebe1 SHA512 d71a95087d9822fa979c8b34088b783ba9cfbb96e66ace17ab13ae5e6d104762cb8e49e0614e5367e324fb6600c183cff354b499c23999bca32d030b7ce35926 MISC metadata.xml 299 BLAKE2B 1f0765d5fb94004b9a72b4b9b4c50cb14b05e611c84016704210aa24909d554a6f817d475fb924573d2ec6ccbd389165d9689ee8ccb7212744292dfbc55a0749 SHA512 b655a45650726e475ccae46d7bc062ba32c527277160c9033382684f6a7aed520220c6a197f7abb9dfe18f8ebea051b5fdcbfd10c744031f123ac684ce3225c7 diff --git a/dev-util/cucumber-rails/cucumber-rails-2.4.0.ebuild b/dev-util/cucumber-rails/cucumber-rails-2.4.0.ebuild new file mode 100644 index 000000000000..0dec57043e00 --- /dev/null +++ b/dev-util/cucumber-rails/cucumber-rails-2.4.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby26 ruby27" + +# 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://github.com/cucumber/cucumber/wikis" +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.0.2 <dev-util/cucumber-8 + >=dev-ruby/mime-types-3.3:3 + >=dev-ruby/nokogiri-1.10 + >=dev-ruby/rails-5.0:* <dev-ruby/rails-7:* + 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 '/files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die +} |