From 310615add7b4be144ba0a7d7a156fe2c7949116d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 30 Oct 2023 09:41:01 +0000 Subject: gentoo auto-resync : 30:10:2023 - 09:41:01 --- dev-util/aruba/Manifest | 2 ++ dev-util/aruba/aruba-2.2.0.ebuild | 69 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 dev-util/aruba/aruba-2.2.0.ebuild (limited to 'dev-util/aruba') diff --git a/dev-util/aruba/Manifest b/dev-util/aruba/Manifest index 0ddcadcf6b74..cfb5a22a5b04 100644 --- a/dev-util/aruba/Manifest +++ b/dev-util/aruba/Manifest @@ -1,5 +1,7 @@ DIST aruba-0.6.2.gem 75776 BLAKE2B 569af009cc20b644878fda25b5e7f79bd2f7c6f5fa9ef2503a5e730b8eb5938872563dace27031d31847bacfbb7e4764079da74fa2a917cc3d98a596cf2248c7 SHA512 ad859aa34f6e6778d9eb92b7e8f298180250e0690b21285e48b85dda88c09c74437ed0dff4e07ea8a02e8c784841ef89504219aa844457273349b8072ebc761e DIST aruba-2.1.0.tar.gz 130073 BLAKE2B 534bc67cbc4b5871a1bc6e37170586b3a5829e70d611dde9fe130a4cfdce98044c1a3fe29de961419a605eb4bbe8e21b8efb52a61aa8a2d2b2b9fa7e42bd3169 SHA512 f30d67ba94157eaf0477a09f4049174ff0cd6195b92c4121117775e56502178525eb5a7f69148e7f5531d6d4e67f4ecd9d840e693c38340a10819a19247021fa +DIST aruba-2.2.0.tar.gz 130616 BLAKE2B f2f359d5ba79232e575a240e6d278b936f17d532d01e58f840f537a4d1e6a3663c04b24636aa20fda64ac3eccd4111c61d2f18e26e8c18cef35c7eeaaf7d797b SHA512 e4802dd915062b61e0a536d31294165310ce80aca3e4560f59bb23fcb3e01ea73a547d3f5738d3590c33175fb55268fa69512fe8f33f7cea6b83070e26b7cfee EBUILD aruba-0.6.2-r3.ebuild 1044 BLAKE2B 20631d4dc9c2dd8371b93f67c0aa1cc92a4fc3c16d84cc7eccc0d91bd3e60d02caa985ef01dc4b21b80fb8afdcc2b28d9b633dd7a4de15acef0d9ed993258a51 SHA512 4848be3d58ed4407dc55f7f6ae9267b92cb1ebad9dd12d1cf97fe9e50e813dc8d8ea3086db3ff5962041f8da160c04d983f34c8fafac5009c4f9dc911517e10e EBUILD aruba-2.1.0.ebuild 2241 BLAKE2B b9a220b21e0347a1b5ed8e332d242a5f835dd1e06c26ab328cc124a2fd2507fa840804458b84ea674041293e1f6a3c245114a4851cd812f808d6f3bee09bd565 SHA512 66ea5442ff6cd7706bae991d8c98f88b0f2eebc057eae141bbbe202a2c58814266fdb94f5b6df56a50fc603f8170cb7a64c4c27d2dc3210c85cd2b45990c6c03 +EBUILD aruba-2.2.0.ebuild 2155 BLAKE2B 2b344a95c6bdf3e67c9263aa5e3da00c128923e7ebc67c20da78fa1baa9ed158a9642f3b7c2436d4a255a77dd9bcc83fbefd8d556d277f9ab45129e7bb063135 SHA512 4a93910a0349e1456bd200a180e17203cd618ed66b023cbf2d9fbafdb7293e30f45d1c7cc00daaf2722b6c7a068d46c2bb7f91ef4a5cd2dce4a6e055db97c970 MISC metadata.xml 297 BLAKE2B 013e79bd25020910ff023586ed3e1349ee1dcbf195b73c230133775c2fe031794f91fd7e54d4df43bfc61de716f452492f2b7af3ba7dbf7e04cf4a47ac16a00d SHA512 c57a4e881304d3bdc2001d4f221ec7d4789223fa36b104271ec9a2439e7730ccbfd349b16209ac6a59fe782618b14423cf3b7b345ef2a7d4944a535eaed75c9a diff --git a/dev-util/aruba/aruba-2.2.0.ebuild b/dev-util/aruba/aruba-2.2.0.ebuild new file mode 100644 index 000000000000..b5aa1560ca58 --- /dev/null +++ b/dev-util/aruba/aruba-2.2.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +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" +SLOT="$(ver_cut 1)" +IUSE="" + +DEPEND="${DEPEND} test? ( sys-devel/bc )" +RDEPEND="${RDEPEND}" + +ruby_add_rdepend " + =dev-ruby/bundler-2* + >=dev-ruby/contracts-0.16.0 =dev-util/cucumber-8.0 =dev-ruby/rspec-expectations-3.4:3 + dev-ruby/thor:1 + !=dev-ruby/appraisal-2.4:2 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/' \ + -e '/\(pry-doc\|rake-manifest\|rubocop\|yard-junk\)/ s:^:#:' \ + -e '/simplecov/ s/22/23/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid features with minor output differences + sed -e '/Use .aruba. with .Minitest./i\ @wip' \ + -i features/01_getting_started_with_aruba/supported_testing_frameworks.feature || die + sed -e '/Create files for Minitest/i\ @wip' \ + -i features/06_use_aruba_cli/initialize_project_with_aruba.feature || die + rm -f features/03_testing_frameworks/cucumber/steps/command/wait_for_output_of_command.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 --tags "not @wip" +} -- cgit v1.2.3