From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/i18n/
Date: Sun, 10 Sep 2023 16:57:50 +0000 (UTC) [thread overview]
Message-ID: <1694365058.71b44ff96cc15bbc8d281cbe553c8d2022320f6c.graaff@gentoo> (raw)
commit: 71b44ff96cc15bbc8d281cbe553c8d2022320f6c
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 10 16:56:55 2023 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Sep 10 16:57:38 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71b44ff9
dev-ruby/i18n: fix minitest deprecation
Use mocha 2.x.
Closes: https://bugs.gentoo.org/911952
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/i18n/i18n-1.14.1.ebuild | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/dev-ruby/i18n/i18n-1.14.1.ebuild b/dev-ruby/i18n/i18n-1.14.1.ebuild
index 04fe9890e028..2365a2bde7a6 100644
--- a/dev-ruby/i18n/i18n-1.14.1.ebuild
+++ b/dev-ruby/i18n/i18n-1.14.1.ebuild
@@ -19,13 +19,12 @@ KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-l
ruby_add_rdepend "dev-ruby/concurrent-ruby:1"
-# We need mocha:1.0 which corresponds to the Gemfiles used in each_ruby_test
ruby_add_bdepend "
test? (
>=dev-ruby/activesupport-5.1
dev-ruby/bundler
>=dev-ruby/minitest-5.14:5
- >=dev-ruby/mocha-1.7.0:1.0
+ dev-ruby/mocha:2
dev-ruby/test_declarative
)
"
@@ -37,7 +36,10 @@ all_ruby_prepare() {
sed -i -e '/oj/ s:^:#:' gemfiles/* || die
# Update old test dependencies
- sed -i -e '/rake/ s/~>/>=/' -e 's/1.7.0/1.7/' -e '3igem "json"' gemfiles/* || die
+ sed -i -e '/rake/ s/~>/>=/' -e '/mocha/ s/1.7.0/2.0/' -e '3igem "json"' gemfiles/* || die
+
+ # Use mocha 2 to avoid minitest deprecation issues.
+ sed -i -e 's:mocha/setup:mocha/minitest:' test/test_helper.rb || die
}
each_ruby_test() {
next reply other threads:[~2023-09-10 16:57 UTC|newest]
Thread overview: 136+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-10 16:57 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-14 4:59 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/i18n/ Jakov Smolić
2024-11-14 4:00 Sam James
2024-11-14 4:00 Sam James
2024-11-14 4:00 Sam James
2024-11-14 3:39 Sam James
2024-10-13 20:53 Sam James
2024-10-09 7:54 Arthur Zamarin
2024-10-09 2:53 Jakov Smolić
2024-10-06 18:39 Arthur Zamarin
2024-10-06 13:30 Arthur Zamarin
2024-10-06 13:30 Jakov Smolić
2024-10-06 11:36 Sam James
2024-09-18 8:56 Hans de Graaff
2024-09-18 8:56 Hans de Graaff
2024-05-07 4:33 Hans de Graaff
2024-03-07 6:46 Hans de Graaff
2024-03-07 6:46 Hans de Graaff
2024-03-06 6:42 Hans de Graaff
2024-01-06 8:02 Hans de Graaff
2023-12-05 18:25 Ionen Wolkens
2023-08-21 3:50 Sam James
2023-08-19 7:53 Arthur Zamarin
2023-08-19 7:46 Arthur Zamarin
2023-08-19 6:10 Sam James
2023-08-19 6:09 Sam James
2023-08-02 8:17 Sam James
2023-06-12 2:27 Sam James
2023-04-27 8:32 Hans de Graaff
2023-04-27 8:32 Hans de Graaff
2023-04-23 22:21 Sam James
2023-04-23 21:40 Sam James
2023-04-23 21:33 Sam James
2023-04-23 21:33 Sam James
2023-04-23 21:33 Sam James
2023-04-02 1:51 Sam James
2023-04-02 1:51 Sam James
2023-03-26 10:42 Hans de Graaff
2023-03-12 14:46 Hans de Graaff
2022-12-18 8:38 Sam James
2022-12-18 8:38 Sam James
2022-12-05 18:35 Hans de Graaff
2022-08-01 5:41 Hans de Graaff
2022-07-25 6:53 Hans de Graaff
2022-07-25 6:53 Hans de Graaff
2022-07-22 7:49 Agostino Sarubbo
2022-07-21 7:12 Agostino Sarubbo
2022-07-16 6:53 Hans de Graaff
2022-07-11 6:06 Hans de Graaff
2022-06-04 7:43 Hans de Graaff
2022-05-10 1:07 WANG Xuerui
2022-04-26 14:38 Sam James
2022-03-20 5:49 Hans de Graaff
2022-03-14 6:34 Hans de Graaff
2022-02-08 6:19 Hans de Graaff
2021-11-03 6:43 Hans de Graaff
2021-10-03 6:30 Hans de Graaff
2021-10-02 20:40 Sam James
2021-09-07 15:34 Marek Szuba
2021-04-10 6:17 Hans de Graaff
2021-04-04 6:53 Hans de Graaff
2021-04-04 6:53 Hans de Graaff
2021-04-04 6:53 Hans de Graaff
2021-04-04 6:53 Hans de Graaff
2021-03-08 9:29 Hans de Graaff
2021-02-13 7:55 Hans de Graaff
2021-02-02 5:56 Hans de Graaff
2021-01-07 7:48 Fabian Groffen
2021-01-07 6:45 Hans de Graaff
2021-01-03 8:05 Hans de Graaff
2020-12-20 17:24 Sam James
2020-12-20 16:44 Sam James
2020-09-14 6:09 Hans de Graaff
2020-09-14 6:09 Hans de Graaff
2020-08-21 6:57 Hans de Graaff
2020-07-24 4:19 Hans de Graaff
2020-07-20 6:15 Hans de Graaff
2020-07-20 6:15 Hans de Graaff
2020-06-05 6:28 Hans de Graaff
2020-06-05 6:28 Hans de Graaff
2020-06-05 6:28 Hans de Graaff
2020-04-25 12:44 Sergei Trofimovich
2020-04-20 17:05 Sergei Trofimovich
2020-02-15 15:24 Hans de Graaff
2020-01-13 6:33 Hans de Graaff
2020-01-11 7:41 Hans de Graaff
2020-01-09 5:51 Hans de Graaff
2020-01-08 6:28 Hans de Graaff
2019-10-05 6:02 Hans de Graaff
2019-06-30 5:37 Hans de Graaff
2019-06-30 5:37 Hans de Graaff
2019-05-13 16:51 Mikle Kolyada
2019-03-29 7:17 Hans de Graaff
2019-03-04 6:42 Hans de Graaff
2019-01-25 6:10 Hans de Graaff
2019-01-18 9:14 Hans de Graaff
2019-01-18 9:14 Hans de Graaff
2018-12-27 17:41 Matt Turner
2018-12-21 6:29 Hans de Graaff
2018-12-11 7:07 Hans de Graaff
2018-12-11 7:07 Hans de Graaff
2018-10-15 5:36 Hans de Graaff
2018-08-08 5:18 Hans de Graaff
2018-08-08 5:17 Hans de Graaff
2018-08-08 5:17 Hans de Graaff
2018-07-24 17:53 Hans de Graaff
2018-07-10 19:11 Sergei Trofimovich
2018-07-08 4:32 Hans de Graaff
2018-06-25 18:44 Hans de Graaff
2018-05-04 5:46 Hans de Graaff
2018-04-19 4:36 Hans de Graaff
2018-04-10 5:26 Hans de Graaff
2018-04-10 5:26 Hans de Graaff
2018-01-13 8:19 Hans de Graaff
2018-01-13 8:19 Hans de Graaff
2017-11-03 6:18 Hans de Graaff
2017-10-16 5:11 Hans de Graaff
2017-10-16 5:11 Hans de Graaff
2017-08-13 5:28 Hans de Graaff
2017-07-13 4:39 Hans de Graaff
2017-07-10 6:04 Hans de Graaff
2017-07-05 4:28 Hans de Graaff
2017-06-30 12:47 Alexis Ballier
2017-06-19 19:04 Hans de Graaff
2017-05-31 3:34 Hans de Graaff
2017-05-24 8:10 Michael Weber
2017-04-19 4:47 Hans de Graaff
2017-02-22 5:47 Hans de Graaff
2017-02-14 0:36 Michael Weber
2017-02-01 7:02 Hans de Graaff
2016-12-29 13:06 Hans de Graaff
2016-05-28 8:41 Hans de Graaff
2016-05-28 8:41 Hans de Graaff
2016-05-28 8:41 Hans de Graaff
2016-04-19 5:29 Hans de Graaff
2016-04-17 8:06 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=1694365058.71b44ff96cc15bbc8d281cbe553c8d2022320f6c.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