diff options
Diffstat (limited to 'dev-ruby/ruby-gio2/ruby-gio2-3.1.1.ebuild')
-rw-r--r-- | dev-ruby/ruby-gio2/ruby-gio2-3.1.1.ebuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-ruby/ruby-gio2/ruby-gio2-3.1.1.ebuild b/dev-ruby/ruby-gio2/ruby-gio2-3.1.1.ebuild index 3d47790a2933..f24512e7bc42 100644 --- a/dev-ruby/ruby-gio2/ruby-gio2-3.1.1.ebuild +++ b/dev-ruby/ruby-gio2/ruby-gio2-3.1.1.ebuild @@ -1,19 +1,21 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -USE_RUBY="ruby21 ruby22 ruby23 ruby24" +USE_RUBY="ruby23 ruby24" inherit ruby-ng-gnome2 DESCRIPTION="Ruby binding of GooCanvas" -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="amd64 ~ppc ~x86" IUSE="" ruby_add_rdepend ">=dev-ruby/ruby-glib2-${PV} >=dev-ruby/ruby-gobject-introspection-${PV}" all_ruby_prepare() { + epatch "${FILESDIR}/${P}-schema-path.patch" + # Avoid unneeded dependency on test-unit-notify. sed -i -e '/notify/ s:^:#:' \ test/gio2-test-utils.rb || die @@ -26,5 +28,5 @@ all_ruby_prepare() { } each_ruby_test() { - dbus-launch ${RUBY} test/run-test.rb || die + XDG_RUNTIME_DIR=${T} dbus-launch ${RUBY} test/run-test.rb || die } |