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: Sat, 28 Oct 2023 06:42:33 +0000 (UTC)	[thread overview]
Message-ID: <1698475349.51306c31251b3e26234931655d1667e7cb554006.graaff@gentoo> (raw)

commit:     51306c31251b3e26234931655d1667e7cb554006
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 28 06:39:59 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Oct 28 06:42:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51306c31

dev-ruby/maxitest: add 5.4.0

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

 dev-ruby/maxitest/Manifest              |  1 +
 dev-ruby/maxitest/maxitest-5.4.0.ebuild | 50 +++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/dev-ruby/maxitest/Manifest b/dev-ruby/maxitest/Manifest
index 70da69864011..c7a70cb45168 100644
--- a/dev-ruby/maxitest/Manifest
+++ b/dev-ruby/maxitest/Manifest
@@ -1,3 +1,4 @@
 DIST maxitest-4.4.1.tar.gz 62757 BLAKE2B 0023472200643dcc17aa7fc3720ebdaccb988628eedd55d69c47a0702b4700760dcc9178f1d63a29d8b0a461ceb7195f9d13579cf0393a3ca669515bcf77239a SHA512 927c5619541f13b2af064f1adb01670ec43570252a62d32b98674b7d4dd72ebc02594c000f6dfae7b9de275086df23e418f13c4c21595d47f429b86d0941dbc2
 DIST maxitest-5.2.0.tar.gz 63610 BLAKE2B 98efc803f43d02cfdec0431279446e555650928442593be436e0ebfcb0d21e505e69b9e26fd8560b12c4feb2ce307d9d46954ff8a82a80b328c2d0442c451f5a SHA512 10251961613a6a014c868c3fd2a8c4c51253b2dee058561450e88ef628de25b6042b17d04d7338afd400ca30e8c3c12923f0976ec28578b726630699d2a0d5b5
 DIST maxitest-5.3.1.tar.gz 64755 BLAKE2B 8de322902638a284dadcf269fc16d82ee70a4b5fe4211c1859ce832a8b424c98347b005f103e9a2342df8384591ff98b23171bf2f61285177aa3bf1a0520bac9 SHA512 a287f880a1eb8695e716654c3921ffcf27430657285ec29002834145f87db620ae481f9dd5c023edec0473ce947c366eaeb78ddbbf556d26e08605f0b9341f69
+DIST maxitest-5.4.0.tar.gz 64727 BLAKE2B 99751c419386ab1b2a10233371c151f8d7a55315dca223e65a72ccab5b6aabb655c2e853190dc94c09dacb77542a0cdadc4121f45207d1d756f5d8b0d727f457 SHA512 7bdff3081b294fa43fc9a03352eb8c3be4b1a0010de5ea6a3027a9207ffcee09aeb69cec5faf430cba8ed094e76e75e6b46c6ab60f749cde1f4fcfe763ab1242

diff --git a/dev-ruby/maxitest/maxitest-5.4.0.ebuild b/dev-ruby/maxitest/maxitest-5.4.0.ebuild
new file mode 100644
index 000000000000..737952209473
--- /dev/null
+++ b/dev-ruby/maxitest/maxitest-5.4.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+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=""
+
+ruby_add_rdepend ">=dev-ruby/minitest-5.14.0:* <dev-ruby/minitest-5.21.0:*"
+
+ruby_add_bdepend "test? ( dev-ruby/bundler )"
+
+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 -i -e '/\(debug\|bump\)/ s:^:#:' 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}' -S bin/mtest:' \
+		-i spec/maxitest_spec.rb || die
+}
+
+each_ruby_test() {
+	PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" RSPEC_VERSION=3 ruby-ng_rspec spec
+}


             reply	other threads:[~2023-10-28  6:42 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-28  6:42 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-14  5:56 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/maxitest/ 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-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=1698475349.51306c31251b3e26234931655d1667e7cb554006.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