mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/ruby-gio2: enable ruby32 for 4.1.x, fix tests
Fix tests by skipping network test, like we do for 3.x. Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
USE_RUBY="ruby27 ruby30 ruby31"
|
||||
USE_RUBY="ruby27 ruby30 ruby31 ruby32"
|
||||
|
||||
inherit ruby-ng-gnome2
|
||||
|
||||
@@ -16,6 +16,13 @@ RDEPEND+=" dev-libs/glib"
|
||||
ruby_add_rdepend "~dev-ruby/ruby-glib2-${PV}
|
||||
~dev-ruby/ruby-gobject-introspection-${PV}"
|
||||
|
||||
all_ruby_prepare() {
|
||||
ruby-ng-gnome2_all_ruby_prepare
|
||||
|
||||
# Avoid test requiring network access
|
||||
rm -f test/test-resolver.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
XDG_RUNTIME_DIR=${T} dbus-launch ${RUBY} test/run-test.rb || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user