diff options
Diffstat (limited to 'dev-util/aruba')
-rw-r--r-- | dev-util/aruba/Manifest | 2 | ||||
-rw-r--r-- | dev-util/aruba/aruba-1.1.2.ebuild | 63 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-util/aruba/Manifest b/dev-util/aruba/Manifest index 9e810ddeb375..46e8add80879 100644 --- a/dev-util/aruba/Manifest +++ b/dev-util/aruba/Manifest @@ -2,9 +2,11 @@ DIST aruba-0.14.14.gem 172544 BLAKE2B 085a0a030c5c4d1527e80ce004adeb80fc8a9eca85 DIST aruba-0.6.2.gem 75776 BLAKE2B 569af009cc20b644878fda25b5e7f79bd2f7c6f5fa9ef2503a5e730b8eb5938872563dace27031d31847bacfbb7e4764079da74fa2a917cc3d98a596cf2248c7 SHA512 ad859aa34f6e6778d9eb92b7e8f298180250e0690b21285e48b85dda88c09c74437ed0dff4e07ea8a02e8c784841ef89504219aa844457273349b8072ebc761e DIST aruba-1.0.2.tar.gz 132977 BLAKE2B 762abef412a62e91931690a0a56ee1b04868c9f446f79e1c282e15c1ded1faf609d480e7fb032b09c3230e2d233b3cb0e09a58b2950c7a138f486c34339b8a0c SHA512 ff9161a94627e1bd123c00a0c3dd8624034b10741867d60c85264322e4ae5f2226d585d361fe8f2229003c187a1dff38c4278c359f018ca28cef1fd6efd26aa0 DIST aruba-1.0.3.tar.gz 133790 BLAKE2B 4008cfec1bc1d63113b1d8961e3bd6219f3884875350b5f2ec6676f6a6167e9bbc6b759c8cc0a29a6774877d3ab2f1c95954d83dbfe3e79669cc8968c1c533ec SHA512 ff89846b805267e2a4bff394c8285b9227d40a2cd93a7ca8fdf8cd6d38a3b2144d5e96b0bd1cef94714df630ad7a779d609e05585c671371124b400130f3b3b4 +DIST aruba-1.1.2.tar.gz 132680 BLAKE2B 328c012eccfb988eec280a102da94150d1811fc67816c09aa2b94f1b6a06ca68e21cd4612e87fba089f4eb9f3b90716cfe121bda306936eeb53019cec539e651 SHA512 58f658c118fe83ddfbb6c361ab3ce6ae5e6084e4233dba62350eba1c911d8ad0558d1ca604206691d097a48453d608042bd992730b92971cdd3d2475d8f6ca4e EBUILD aruba-0.14.14.ebuild 1746 BLAKE2B 419b70985f18519c23aab2e13b006d867a19ae534fda30c9a4ab88a3df18bab5a38b74b5614c8fa00f1577acca27b90ab260c05de2da8700133d33c71edbc97f SHA512 84eb8be2f99c0e7a65a61450ed56ddf632565da6db96e1b10e5cd5dffeae24f476a765507a2e57fffa22a7d90447036967f66cd346bf03c7151c5797d6118140 EBUILD aruba-0.6.2-r2.ebuild 967 BLAKE2B 6a11fa4ca7af64f825b1251d470190a64608279aa1f2735e1ffd458479e22e9ffa6739bef16d3e714cab5ec53a16fd31401d1a47c675538a5fe8b2480d48204b SHA512 c922d4e5a19162aefb55b4415547222d1b799bcb7f239e6e9167a96349c76804b569829b60f91289e781c1dd4211361ac7b3ef547be92a8b35712dd5075b6916 EBUILD aruba-1.0.2.ebuild 1922 BLAKE2B f7d9aa054e862cf7aeef26a322a067ef8b279c8a96a472471aa0dd2a027c0e06d66908ede4730ccfeeec07c76dcc52657a497f7040d9b83104a60cee83d4f032 SHA512 e8451f0ec7ec1c9967dd0046050eb01b96ce616c55fb50ab98705595ad4b98b747df4be1c468da45163c710398d2de2b253d3b3ff58f042153f45e30664bc311 EBUILD aruba-1.0.3-r1.ebuild 1968 BLAKE2B 1423a47057cd55850ddffa55a807832d6c88a3d6c52b40151e6722f7b06c2486c6757286f184528e34b962ad39e87ff4853f94fa3422febf8c79b67529ba7fad SHA512 145d0ea4cc31df24758d3baa19567b82fc68a2a890034d3e03fc64ade8ea262954796c96f421bf77e45de6d79cd4db99cb59a25d26e71fa79c4680e18c35c897 EBUILD aruba-1.0.3.ebuild 1955 BLAKE2B 0b36d1b42e8a9cf1ca22a19118189f2a8bcd5291cf8e4626d2de1542fa3352a0e9c2a777394f93b7bc92888debfa32673863a52137c8077cc0b97040eeded385 SHA512 25587725ee21665a2d36bbae4eae8e836cc96f57b95b974a7dd0f0ba0e9a8a8b520451e1543d80ae335d1ad6ab00b681beb67bc294e71ad0160dcad5e732053c +EBUILD aruba-1.1.2.ebuild 1974 BLAKE2B e72155ac6254e637f690956f5f8c5ee8fddc820ad53431c895c3934f512e20569c0ac90e027d3d6148fea9751683d59863cc41feb4319ea1911dd05cc315d623 SHA512 5a86831f7a0679f1e40b64f4c028d60636bb8b6417f5b3c86126fec17a4e8e00484089398b71c58456616e9a83e08a8944be0fc2c04e3249132ac4ea561922e8 MISC metadata.xml 296 BLAKE2B 5d13c2f0fdb1a3a5e8278e93124af9b7f8e069ccca8ac9327132e8aea862aaee163d778260bd0ba6cd0d6488372b04b4330cc2838447fe2d075ec5fdcb28cadc SHA512 6add4a1a905857c1d96e347089fa8f47643f990a153f6457c4d424978bcf76b89607c89f60d3e312365525b1d0dbd17db62b4baf48ee3da9a0f2ab77435d68b4 diff --git a/dev-util/aruba/aruba-1.1.2.ebuild b/dev-util/aruba/aruba-1.1.2.ebuild new file mode 100644 index 000000000000..1b77e133244a --- /dev/null +++ b/dev-util/aruba/aruba-1.1.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="cucumber" +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_BINDIR="exe" + +RUBY_FAKEGEM_GEMSPEC="aruba.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Cucumber steps for driving out command line applications" +HOMEPAGE="https://github.com/cucumber/aruba" +SRC_URI="https://github.com/cucumber/aruba/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86" +SLOT="$(ver_cut 1)" +IUSE="" + +DEPEND="${DEPEND} test? ( sys-devel/bc )" +RDEPEND="${RDEPEND}" + +ruby_add_rdepend " + =dev-ruby/bundler-2* + >=dev-ruby/childprocess-2.0 <dev-ruby/childprocess-5 + >=dev-ruby/contracts-0.16.0:0 <dev-ruby/contracts-0.18:0 + >=dev-ruby/rspec-expectations-3.4:3 + dev-ruby/thor:1 + >=dev-util/cucumber-2.4 <dev-util/cucumber-7" + +ruby_add_bdepend "test? ( dev-ruby/pry dev-ruby/rspec:3 )" + +all_ruby_prepare() { + # Remove bundler-related code. + sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb || die + rm Gemfile || die + + sed -i -e '/simplecov/I s:^:#:' \ + -e '/Before/,/^end/ s:^:#:' \ + spec/spec_helper.rb features/support/env.rb || die + rm -f features/support/simplecov_setup.rb || die + + sed -e 's:_relative ": "./:' \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid features with minor output differences + sed -i -e '/Use .aruba. with .Minitest./i@wip' features/01_getting_started_with_aruba/supported_testing_frameworks.feature || die + sed -i -e '/Create files for Minitest/i@wip' features/06_use_aruba_cli/initialize_project_with_aruba.feature || die + + # Avoid feature that requires aruba to be installed already + rm -r features/03_testing_frameworks/cucumber/disable_bundler.feature || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + RUBYLIB="$(pwd)/lib" ruby-ng_cucumber +} |