public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/aruba/
Date: Mon, 30 Oct 2023 06:55:53 +0000 (UTC)	[thread overview]
Message-ID: <1698648950.97b36792de4251d362da9bd66f575ce660b6d658.graaff@gentoo> (raw)

commit:     97b36792de4251d362da9bd66f575ce660b6d658
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 30 06:55:40 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Oct 30 06:55:50 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97b36792

dev-util/aruba: add 2.2.0

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-util/aruba/Manifest           |  1 +
 dev-util/aruba/aruba-2.2.0.ebuild | 69 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/dev-util/aruba/Manifest b/dev-util/aruba/Manifest
index c8c5651cbb6a..9edbe1927b23 100644
--- a/dev-util/aruba/Manifest
+++ b/dev-util/aruba/Manifest
@@ -1,2 +1,3 @@
 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

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-ruby/contracts-0.18
+	>=dev-util/cucumber-8.0 <dev-util/cucumber-10
+	>=dev-ruby/rspec-expectations-3.4:3
+	dev-ruby/thor:1
+	!<dev-util/aruba-1.1.2-r1
+"
+
+ruby_add_bdepend "test? ( >=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"
+}


             reply	other threads:[~2023-10-30  6:55 UTC|newest]

Thread overview: 97+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-30  6:55 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-03 15:11 [gentoo-commits] repo/gentoo:master commit in: dev-util/aruba/ Hans de Graaff
2025-01-03  8:51 Hans de Graaff
2024-12-24  8:04 Hans de Graaff
2024-09-11 15:04 Arthur Zamarin
2024-07-12  6:21 Ionen Wolkens
2024-07-11 16:58 Hans de Graaff
2024-07-02  3:56 Ionen Wolkens
2024-06-08 11:12 Arthur Zamarin
2024-05-25  7:28 Hans de Graaff
2024-02-02  4:21 Ionen Wolkens
2024-01-18  8:06 Florian Schmaus
2024-01-18  8:06 Florian Schmaus
2024-01-18  8:06 Florian Schmaus
2024-01-18  8:06 Florian Schmaus
2024-01-03  8:53 WANG Xuerui
2023-12-23 16:25 Arthur Zamarin
2023-12-23  7:31 Hans de Graaff
2023-12-17 12:34 Hans de Graaff
2023-12-08 20:15 Arthur Zamarin
2023-11-08 13:37 Jakov Smolić
2023-07-12 18:53 Hans de Graaff
2023-03-29 13:04 Sam James
2023-03-29 13:04 Sam James
2023-03-29  9:36 Hans de Graaff
2023-03-27  7:37 Hans de Graaff
2022-11-26 10:28 Hans de Graaff
2022-05-16  0:51 Yixun Lan
2022-05-08 16:12 WANG Xuerui
2022-04-23  8:01 Hans de Graaff
2021-10-03  7:38 Hans de Graaff
2021-10-03  7:38 Hans de Graaff
2021-08-04  6:41 Hans de Graaff
2021-07-18  4:48 Hans de Graaff
2020-12-15  2:37 Matt Turner
2020-11-29  0:13 Sergei Trofimovich
2020-09-24 18:23 Sergei Trofimovich
2020-09-20  6:39 Hans de Graaff
2020-09-14  6:09 Hans de Graaff
2020-07-23 15:02 Hans de Graaff
2020-07-23 15:02 Hans de Graaff
2020-07-23 15:02 Hans de Graaff
2020-07-11  9:28 Hans de Graaff
2020-05-02  5:18 Hans de Graaff
2020-03-30  5:39 Hans de Graaff
2020-03-18  6:19 Matt Turner
2020-02-15  6:44 Hans de Graaff
2019-10-20  7:00 Hans de Graaff
2019-06-05 17:56 Hans de Graaff
2019-06-05  7:28 Agostino Sarubbo
2019-05-04  7:49 Hans de Graaff
2019-05-02 21:38 Mikle Kolyada
2019-04-28 20:12 Mikle Kolyada
2019-04-27 19:20 Sergei Trofimovich
2019-04-27 16:25 Sergei Trofimovich
2019-04-27 16:03 Sergei Trofimovich
2019-04-26 20:54 Mikle Kolyada
2019-04-24 17:02 Sergei Trofimovich
2019-04-23 19:33 Mikle Kolyada
2018-12-27  2:57 Matt Turner
2018-12-27  2:57 Matt Turner
2018-06-25 19:24 Hans de Graaff
2018-06-25 19:24 Hans de Graaff
2018-06-25 19:24 Hans de Graaff
2018-06-18 18:07 Tobias Klausmann
2018-06-14 19:22 Mikle Kolyada
2018-05-22 16:33 Hans de Graaff
2018-05-06 16:18 Hans de Graaff
2018-04-08 23:44 Matt Turner
2018-03-22 20:23 Jeroen Roovers
2018-03-18 22:38 Sergei Trofimovich
2018-03-18 19:59 Markus Meier
2018-03-06 22:28 Sergei Trofimovich
2018-01-24 16:43 Hans de Graaff
2018-01-24 16:43 Hans de Graaff
2018-01-24  7:02 Hans de Graaff
2018-01-21  8:56 Hans de Graaff
2017-12-29 17:41 Sergei Trofimovich
2017-12-28 18:45 Thomas Deutschmann
2017-12-27 20:06 Sergei Trofimovich
2017-12-20 22:21 Sergei Trofimovich
2017-11-26 10:02 Hans de Graaff
2017-10-01  0:56 Thomas Deutschmann
2017-09-02  6:53 Hans de Graaff
2017-08-22  9:19 Sergei Trofimovich
2017-07-29 22:22 Sergei Trofimovich
2017-07-23  5:59 Hans de Graaff
2017-06-06 22:12 Sergei Trofimovich
2017-04-17  6:45 Hans de Graaff
2017-02-27 17:01 Michael Weber
2017-02-14  0:36 Michael Weber
2017-02-14  0:36 Michael Weber
2016-12-03  6:37 Hans de Graaff
2016-09-01 19:49 Hans de Graaff
2016-04-10  0:26 Manuel Rüger
2015-10-26  6:01 Jeroen Roovers
2015-09-21 14:14 Tobias Klausmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1698648950.97b36792de4251d362da9bd66f575ce660b6d658.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox