From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/io-console/
Date: Sun, 9 Jul 2023 05:42:28 +0000 (UTC) [thread overview]
Message-ID: <1688881343.d74a346e8d0ed9535f2f77c50e47c41b438c9bb3.graaff@gentoo> (raw)
commit: d74a346e8d0ed9535f2f77c50e47c41b438c9bb3
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 9 05:28:39 2023 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jul 9 05:42:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d74a346e
dev-ruby/io-console: only install expected files
The gemspec file installs different files depending on the
ruby engine. Match this to avoid loading the wrong files.
Closes: https://bugs.gentoo.org/909442
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
.../{io-console-0.6.0.ebuild => io-console-0.6.0-r1.ebuild} | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dev-ruby/io-console/io-console-0.6.0.ebuild b/dev-ruby/io-console/io-console-0.6.0-r1.ebuild
similarity index 86%
rename from dev-ruby/io-console/io-console-0.6.0.ebuild
rename to dev-ruby/io-console/io-console-0.6.0-r1.ebuild
index 6c1240d7498a..54a0ae2fb86d 100644
--- a/dev-ruby/io-console/io-console-0.6.0.ebuild
+++ b/dev-ruby/io-console/io-console-0.6.0-r1.ebuild
@@ -29,6 +29,10 @@ all_ruby_prepare() {
# Avoid test that require a proper TTY
sed -e '/test_\(bad_keyword\|failed_path\)/aomit "requires TTY"' \
-i test/io/console/test_io_console.rb || die
+
+ # Remove ruby and ffi files in accordance with the gemspec. These
+ # are only used when using a different ruby engine like jruby.
+ rm -fr lib/io/console.rb lib/io/console/ffi || die
}
each_ruby_test() {
next reply other threads:[~2023-07-09 5:42 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-09 5:42 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-14 7:47 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/io-console/ Hans de Graaff
2024-05-18 8:33 Sam James
2024-05-18 7:59 Sam James
2024-04-30 2:30 Ionen Wolkens
2024-04-30 2:30 Ionen Wolkens
2024-04-30 2:30 Ionen Wolkens
2024-04-30 2:30 Ionen Wolkens
2024-04-30 2:30 Ionen Wolkens
2024-03-29 9:19 Hans de Graaff
2024-01-21 14:06 Fabian Groffen
2024-01-19 8:08 Hans de Graaff
2023-12-26 15:53 Hans de Graaff
2023-12-22 8:08 Hans de Graaff
2023-12-13 7:10 Hans de Graaff
2023-10-08 10:07 Hans de Graaff
2023-07-01 8:41 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=1688881343.d74a346e8d0ed9535f2f77c50e47c41b438c9bb3.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