summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2018-02-28 12:38:48 -0500
committerZero_Chaos <zerochaos@gentoo.org>2018-02-28 12:43:48 -0500
commit683feeded8a6b00d6465afa1035b2aa96cc050ca (patch)
tree0517c051a1f7f44a19f653d5ffaadefd0ecf4282 /dev-ruby/ruby-gtk2
parentvirtual/mysql: Restore 5.6-r6 to fix dependencies (diff)
downloadgentoo-683feeded8a6b00d6465afa1035b2aa96cc050ca.tar.gz
gentoo-683feeded8a6b00d6465afa1035b2aa96cc050ca.tar.bz2
gentoo-683feeded8a6b00d6465afa1035b2aa96cc050ca.zip
dev-ruby/ruby-gtk2: experimental bump to fix bug #616682
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/ruby-gtk2')
-rw-r--r--dev-ruby/ruby-gtk2/Manifest1
-rw-r--r--dev-ruby/ruby-gtk2/ruby-gtk2-3.1.3.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/ruby-gtk2/Manifest b/dev-ruby/ruby-gtk2/Manifest
index 842325a1b658..de470f11d11f 100644
--- a/dev-ruby/ruby-gtk2/Manifest
+++ b/dev-ruby/ruby-gtk2/Manifest
@@ -1,2 +1,3 @@
DIST ruby-gnome2-all-3.0.8.tar.gz 1732574 BLAKE2B c41acfae9b48056047a3cd1f1b4341ad9f3b19bd328f0f408cbf8e555466d1f9b6f726fb69cabe7126dd1f4b537286ab311ed62740fe4b069ebddea2c2e9d9a0 SHA512 e30c2cd95db762eff4f5f6d6f03811338657a849fc94d1af71488bb912cc82b85c0aa6860658f6eba66119ef95382ad142661751471a52de9606c5514ec6a6cf
DIST ruby-gnome2-all-3.1.1.tar.gz 2233259 BLAKE2B 2758a2b34bbb96a9b2aba73f576d6213c9add2bd37ac85ed083a2bfb050d5327d7332ee1b9a8445e69aab0c4721ba446b4cb66c26273818ba930cce389eda152 SHA512 be264505d254248e0e6190b28c5311d10384c2ade19ac56f249bd17284b153368e6007862c4e19e6d1015ba3e441f9bc502a5dbcc45b7dc8036611ef554a6de9
+DIST ruby-gnome2-all-3.1.3.tar.gz 2202172 BLAKE2B c5da99d3e8901d7307c676f0c17e95418ba50abcd9218785985899757126f12830ddda32ebd57ca0300b55da84ec3895c155644e382ec85ad4153fb2c9b44dbd SHA512 e9f87ed8648742b601758be9c9395a57bed7c0b25602a09432e9da1158a79caac20e46c54d5b5941a4f41f562e202e6837c9ea5f6e19afb4289aa68ceb2e0a40
diff --git a/dev-ruby/ruby-gtk2/ruby-gtk2-3.1.3.ebuild b/dev-ruby/ruby-gtk2/ruby-gtk2-3.1.3.ebuild
new file mode 100644
index 000000000000..811d0e88a537
--- /dev/null
+++ b/dev-ruby/ruby-gtk2/ruby-gtk2-3.1.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+inherit virtualx ruby-ng-gnome2
+
+DESCRIPTION="Ruby Gtk2 bindings"
+#KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND+=" x11-libs/gtk+:2
+ x11-themes/hicolor-icon-theme"
+RDEPEND+=" x11-libs/gtk+:2"
+
+ruby_add_bdepend ">=dev-ruby/ruby-glib2-${PV}
+ >=dev-ruby/ruby-pango-${PV}"
+ruby_add_rdepend ">=dev-ruby/ruby-gdkpixbuf2-${PV}
+ >=dev-ruby/ruby-atk-${PV}
+ >=dev-ruby/ruby-pango-${PV}"
+
+all_ruby_prepare() {
+ # Avoid compilation of dependencies during test.
+ sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die
+
+ # Use standard icon
+ sed -i -e 's/"find"/"call-start"/' test/test_gtk_icon_theme.rb || die
+}
+
+each_ruby_test() {
+ VIRTUALX_COMMAND=${RUBY}
+ virtualmake test/run-test.rb || die
+}