diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-08-04 08:39:23 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-08-04 08:41:52 +0200 |
commit | 87a14dce5839bfb6b0109507caf8984603346dae (patch) | |
tree | cebbc7b12d6b9fdfda54c090268e2f7b82ce7546 /dev-util/aruba | |
parent | dev-ruby/rbs: add 1.3.3 (diff) | |
download | gentoo-87a14dce5839bfb6b0109507caf8984603346dae.tar.gz gentoo-87a14dce5839bfb6b0109507caf8984603346dae.tar.bz2 gentoo-87a14dce5839bfb6b0109507caf8984603346dae.zip |
dev-util/aruba: add 2.0.0
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-util/aruba')
-rw-r--r-- | dev-util/aruba/Manifest | 1 | ||||
-rw-r--r-- | dev-util/aruba/aruba-1.1.2-r1.ebuild | 62 | ||||
-rw-r--r-- | dev-util/aruba/aruba-2.0.0.ebuild | 64 |
3 files changed, 127 insertions, 0 deletions
diff --git a/dev-util/aruba/Manifest b/dev-util/aruba/Manifest index bc5fd83ce2d0..bcd83126e49e 100644 --- a/dev-util/aruba/Manifest +++ b/dev-util/aruba/Manifest @@ -3,3 +3,4 @@ DIST aruba-0.6.2.gem 75776 BLAKE2B 569af009cc20b644878fda25b5e7f79bd2f7c6f5fa9ef 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 +DIST aruba-2.0.0.tar.gz 132762 BLAKE2B b06190d3a1698c5a2d295df16096b2bd587c60a9c428d35e8ad24204b71b7a3d86f5b52a5f601f57204903412508faad3d4032f1499d78a309a99df63e8a68e5 SHA512 214de8dd3dd29b46ddac2605bab5008ac9d9755eef53c140aea5f160aba60ed9ac71ac5e1410f59700ddd8a506faedf6b54d99682c875faeaecbb47ad8660435 diff --git a/dev-util/aruba/aruba-1.1.2-r1.ebuild b/dev-util/aruba/aruba-1.1.2-r1.ebuild new file mode 100644 index 000000000000..0d5d922bf2ac --- /dev/null +++ b/dev-util/aruba/aruba-1.1.2-r1.ebuild @@ -0,0 +1,62 @@ +# 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_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 +} diff --git a/dev-util/aruba/aruba-2.0.0.ebuild b/dev-util/aruba/aruba-2.0.0.ebuild new file mode 100644 index 000000000000..a3476f7ee530 --- /dev/null +++ b/dev-util/aruba/aruba-2.0.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +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-8 + !<dev-util/aruba-1.1.2-r1" + +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 +} |