commit:     6cda8e004e674b3aa44ba446b368e36ef04fcdb7
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 10 06:59:31 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Sep 10 07:00:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cda8e00

dev-ruby/sys-filesystem: fix tests

Add mising test dependency and avoid test that fails on large file
systems.

Closes: https://bugs.gentoo.org/913915
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/sys-filesystem/sys-filesystem-1.4.3.ebuild | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/dev-ruby/sys-filesystem/sys-filesystem-1.4.3.ebuild 
b/dev-ruby/sys-filesystem/sys-filesystem-1.4.3.ebuild
index ba0b8f230bc1..47e9e9296164 100644
--- a/dev-ruby/sys-filesystem/sys-filesystem-1.4.3.ebuild
+++ b/dev-ruby/sys-filesystem/sys-filesystem-1.4.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+USE_RUBY="ruby30 ruby31 ruby32"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
@@ -22,11 +22,9 @@ IUSE=""
 
 ruby_add_rdepend ">=dev-ruby/ffi-1.15.0"
 
-#ruby_add_bdepend "test? ( dev-ruby/mkmf-lite )"
+ruby_add_bdepend "test? ( dev-ruby/mkmf-lite )"
 
 all_ruby_prepare() {
-       :
-       #sed -e 's/__dir__/"."/' \
-       #       -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \
-       #       -i "${RUBY_FAKEGEM_GEMSPEC}" || die
+       sed -e '/stat fragment_size is a plausible value/askip "Fails with e.g. 
ZFS"' \
+               -i spec/sys_filesystem_unix_spec.rb || die
 }

Reply via email to