diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-07-09 07:28:39 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-07-09 07:42:23 +0200 |
commit | d74a346e8d0ed9535f2f77c50e47c41b438c9bb3 (patch) | |
tree | 7493f0b8d90d010379c7a78ad29546615485e3b2 /dev-ruby/io-console | |
parent | p/p/darwin/macos/arch/x64: allow users to tune the x86 CPU flags. (diff) | |
download | gentoo-d74a346e8d0ed9535f2f77c50e47c41b438c9bb3.tar.gz gentoo-d74a346e8d0ed9535f2f77c50e47c41b438c9bb3.tar.bz2 gentoo-d74a346e8d0ed9535f2f77c50e47c41b438c9bb3.zip |
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@gentoo.org>
Diffstat (limited to 'dev-ruby/io-console')
-rw-r--r-- | dev-ruby/io-console/io-console-0.6.0-r1.ebuild (renamed from dev-ruby/io-console/io-console-0.6.0.ebuild) | 4 |
1 files changed, 4 insertions, 0 deletions
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 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() { |