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-ruby/maxitest/
Date: Thu, 19 Jun 2025 16:15:52 +0000 (UTC)	[thread overview]
Message-ID: <1750349742.cb18879e82596a9889dc91c9dcb4ce23c949a949.graaff@gentoo> (raw)

commit:     cb18879e82596a9889dc91c9dcb4ce23c949a949
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 19 14:13:19 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Jun 19 16:15:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb18879e

dev-ruby/maxitest: add 6.0.0

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

 dev-ruby/maxitest/Manifest              |  1 +
 dev-ruby/maxitest/maxitest-6.0.0.ebuild | 61 +++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/dev-ruby/maxitest/Manifest b/dev-ruby/maxitest/Manifest
index 531293831e94..e689f490795b 100644
--- a/dev-ruby/maxitest/Manifest
+++ b/dev-ruby/maxitest/Manifest
@@ -1,3 +1,4 @@
 DIST maxitest-5.5.0.tar.gz 65102 BLAKE2B 46c7d0c9bcc794066316cc244f4628771a14224903416c4547b9c6d3f58aabae3597db93034a35f40140ee0bc443419d7e856d7a99f91565e8d6c3bbaa71a86c SHA512 331fd82a069494fbf2d1e2874de1c4bc5fe9b1ee430505e43aab4d1049f2e9dcf9c50bfcee8f8b897b881c2e859dbd7fe66d9d98c13b0cbc637cd8f87715abf7
 DIST maxitest-5.7.1.tar.gz 65849 BLAKE2B c377923ae8e9a27bc57fba4a672deed04fbf397e518aa5ed33e63885176b8c2e6aff59b8eab2e2c7d6ba972ed4cde1033c5bc3017864c910275fcbdd7ecb967d SHA512 6b030a1d47e4c3c6502dc672d7aa0277965aadf371ba2037c7e9e21f5e305a71b3e19d7e67fd6adabe84f6c9686e28e6e2697fb1c4350915c2bdf58a7eef857c
 DIST maxitest-5.8.0.tar.gz 66194 BLAKE2B 3110fe8c000c54ff2cf66dabfd1f9a12a327330e8195138f1af2e98f0e2fc8f0a13cc97cf3cd9334a6ea221aded63b9fe425cadd870a15b6969ef4b662b509a6 SHA512 07e0828717b3d672398bfd76279707943983b319a068c1e07e20d807dcf7deeda3e98cc7a4314bdbfe6f534b9909aa551ec54f60c61e5c43147707370ed03e33
+DIST maxitest-6.0.0.tar.gz 65875 BLAKE2B 7108c344f7a2ce6cd3e718dc46b2931886dda6d6df844e14cd418e44054864df9e9f7a5ea0669468355fb0edc5297e320bbae7d45d81c560f486f1d9b4c6b675 SHA512 b8ce6f50d13d598596dd4c51781d0a79d48af8796509c9442ae3d65fbb9bd9086a880130a7b36eacddcc5c8399f19f86ed7de56feec528f679f3a7360f4a22a2

diff --git a/dev-ruby/maxitest/maxitest-6.0.0.ebuild b/dev-ruby/maxitest/maxitest-6.0.0.ebuild
new file mode 100644
index 000000000000..33388f4d858c
--- /dev/null
+++ b/dev-ruby/maxitest/maxitest-6.0.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Minitest + all the features you always wanted"
+HOMEPAGE="https://github.com/grosser/maxitest"
+SRC_URI="https://github.com/grosser/maxitest/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="1"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="test"
+
+ruby_add_rdepend ">=dev-ruby/minitest-5.20.0:* <dev-ruby/minitest-5.26.0:*"
+
+ruby_add_bdepend "test? ( dev-ruby/bundler >=dev-ruby/minitest-5.21.0 )"
+
+all_ruby_prepare() {
+	rm -f Gemfile.lock || die
+	# Remove developer-only gems from the gemspec and avoid git issues
+	sed -e 's:_relative ": "./:' \
+		-i ${RUBY_FAKEGEM_GEMSPEC} || die
+	sed -e '/\(debug\|bump\)/ s:^:#:' \
+		-i Gemfile || die
+
+	sed -e '/shows backtrace for/askip' \
+		-e '/describe.*line/ s/describe/xdescribe/' \
+		-e '/describe.*color/ s/describe/xdescribe/' \
+		-i spec/maxitest_spec.rb || die
+}
+
+each_ruby_prepare() {
+	# Use the correct target
+	sed -e '/\(run_cmd\|sh\)/ s:ruby:'${RUBY}':' \
+		-e '/\(run_cmd\|sh\)/ s:mtest:'${RUBY}' -rmaxitest/version -S bin/mtest:' \
+		-i spec/maxitest_spec.rb || die
+
+	case ${RUBY} in
+		*ruby34)
+			# Avoid test failing due to changed messages in Ruby.
+			sed -e '/stops on ctrl+c and prints errors/ s/it/xit/' \
+				-e '/shows backtraces when in verbose mode/ s/it/xit/' \
+				-i spec/maxitest_spec.rb || die
+			;;
+	esac
+}
+
+each_ruby_test() {
+	PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" RSPEC_VERSION=3 ruby-ng_rspec spec
+}


             reply	other threads:[~2025-06-19 16:15 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-19 16:15 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-19 10:55 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/maxitest/ Hans de Graaff
2025-03-31 16:53 Hans de Graaff
2025-03-31 16:53 Hans de Graaff
2025-03-15 12:06 Hans de Graaff
2024-10-14  5:56 Hans de Graaff
2024-10-04  6:12 Hans de Graaff
2024-10-04  6:12 Hans de Graaff
2024-08-17  6:32 Hans de Graaff
2024-07-15  6:05 Ionen Wolkens
2024-07-15  6:05 Ionen Wolkens
2024-07-15  6:05 Ionen Wolkens
2024-07-15  6:05 Ionen Wolkens
2024-07-05  5:29 Hans de Graaff
2024-06-24  5:30 Hans de Graaff
2024-06-19  5:45 Hans de Graaff
2024-05-30  5:07 Hans de Graaff
2024-03-08  8:00 Hans de Graaff
2023-10-28  6:42 Hans de Graaff
2023-10-21  5:09 Hans de Graaff
2023-09-10  5:57 Hans de Graaff
2023-06-16  5:22 Hans de Graaff
2023-05-13  5:07 Hans de Graaff
2023-04-10 10:51 Sam James
2023-04-10 10:51 Sam James
2023-04-10 10:51 Sam James
2023-04-10 10:51 Sam James
2023-04-10 10:51 Sam James
2023-04-07  3:07 Sam James
2023-03-27  8:35 Sam James
2023-02-18  7:29 Hans de Graaff
2023-01-08  7:49 Hans de Graaff
2022-12-24 15:00 Hans de Graaff
2022-03-23  6:42 Hans de Graaff
2021-11-21  4:58 Arthur Zamarin
2021-11-17  9:02 Arthur Zamarin
2021-11-17  9:02 Arthur Zamarin
2021-11-09 21:49 Jakov Smolić
2021-11-09 14:16 Jakov Smolić
2021-11-08  2:51 Yixun Lan
2021-09-04  6:53 Hans de Graaff
2021-07-07  6:53 Hans de Graaff
2021-07-07  6:53 Hans de Graaff
2020-09-11  6:58 Hans de Graaff
2020-06-09 17:07 Sergei Trofimovich
2020-06-07  8:37 Hans de Graaff
2020-04-25 12:16 Hans de Graaff
2020-04-25 12:16 Hans de Graaff
2019-11-11  6:56 Hans de Graaff
2019-11-01  5:40 Hans de Graaff
2019-11-01  5:40 Hans de Graaff
2019-09-25  6:11 Hans de Graaff
2019-09-09  5:40 Hans de Graaff
2019-09-09  5:40 Hans de Graaff
2019-09-09  5:40 Hans de Graaff
2019-06-05  6:06 Hans de Graaff
2019-06-05  6:06 Hans de Graaff
2019-01-27 19:13 Hans de Graaff
2018-05-30  4:18 Hans de Graaff
2018-05-30  4:18 Hans de Graaff
2018-05-05  7:29 Hans de Graaff
2018-05-05  7:29 Hans de Graaff
2018-05-05  7:29 Hans de Graaff
2018-04-02  5:50 Hans de Graaff
2018-04-02  5:50 Hans de Graaff
2018-03-07  6:31 Hans de Graaff
2018-02-27  5:00 Hans de Graaff
2018-02-25 22:01 Sergei Trofimovich
2018-01-27  7:18 Hans de Graaff
2018-01-13  8:46 Hans de Graaff
2018-01-03  7:05 Hans de Graaff
2017-05-13  6:33 Hans de Graaff
2017-01-24  6:06 Hans de Graaff
2016-12-09  6:10 Hans de Graaff
2016-12-01  7:46 Hans de Graaff
2016-12-01  7:46 Hans de Graaff
2016-08-25  5:12 Hans de Graaff
2016-08-15  5:36 Hans de Graaff
2016-08-15  5:36 Hans de Graaff
2016-07-01  4:30 Hans de Graaff
2016-05-19  5:30 Hans de Graaff
2016-04-27 11:54 Hans de Graaff
2016-03-23  6:16 Hans de Graaff
2016-03-23  6:16 Hans de Graaff
2016-01-27  6:36 Hans de Graaff
2016-01-20 13:42 Fabian Groffen
2016-01-07  6:39 Hans de Graaff
2015-11-21 15:45 Markus Meier
2015-11-16  5:55 Jeroen Roovers
2015-11-15  7:53 Hans de Graaff

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=1750349742.cb18879e82596a9889dc91c9dcb4ce23c949a949.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