diff options
Diffstat (limited to 'dev-ruby/ruby-gio2/ruby-gio2-4.1.2.ebuild')
-rw-r--r-- | dev-ruby/ruby-gio2/ruby-gio2-4.1.2.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-ruby/ruby-gio2/ruby-gio2-4.1.2.ebuild b/dev-ruby/ruby-gio2/ruby-gio2-4.1.2.ebuild index e1bf4e07c34e..7d7f5758fca8 100644 --- a/dev-ruby/ruby-gio2/ruby-gio2-4.1.2.ebuild +++ b/dev-ruby/ruby-gio2/ruby-gio2-4.1.2.ebuild @@ -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 } |