summaryrefslogtreecommitdiff
path: root/dev-ruby/ruby-gtksourceview
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/ruby-gtksourceview')
-rw-r--r--dev-ruby/ruby-gtksourceview/Manifest2
-rw-r--r--dev-ruby/ruby-gtksourceview/ruby-gtksourceview-3.3.2.ebuild32
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/ruby-gtksourceview/Manifest b/dev-ruby/ruby-gtksourceview/Manifest
index 8cce6b316b47..cf6479247722 100644
--- a/dev-ruby/ruby-gtksourceview/Manifest
+++ b/dev-ruby/ruby-gtksourceview/Manifest
@@ -1,3 +1,5 @@
DIST ruby-gnome2-all-3.1.1.tar.gz 2233259 BLAKE2B 2758a2b34bbb96a9b2aba73f576d6213c9add2bd37ac85ed083a2bfb050d5327d7332ee1b9a8445e69aab0c4721ba446b4cb66c26273818ba930cce389eda152 SHA512 be264505d254248e0e6190b28c5311d10384c2ade19ac56f249bd17284b153368e6007862c4e19e6d1015ba3e441f9bc502a5dbcc45b7dc8036611ef554a6de9
+DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c
EBUILD ruby-gtksourceview-3.1.1.ebuild 697 BLAKE2B 116636da6e93d72776627cdd614742b1b04a93df93cff3fa57ecf7a4eb27a275125e7e71f06c39a2de50ad6c28be31fc79faa06dc9ba266967ec91c93850b4cb SHA512 15c0575c97a8e72f6f57ebb388e62b0cb32f681776baf4b39f42dc2b1852f89fd23b704a5d6ecb99b917675f6245f97a72c20a4e4308651856b1fa0ab1f7ecfe
+EBUILD ruby-gtksourceview-3.3.2.ebuild 816 BLAKE2B 05e12f3b183822831057c2241db3f4801a8bd69aea9a3a79404773af441c97ad4d75547fb3e4939af175852b55578c445155bdecf5f837bb4cd9669b7cafd106 SHA512 c323e981eac2bacfac37a419e41bd03e010feb3c1d880966c0d87db3587e2b7e1c3f170bd5879df982335ba2508255130abcd8c48488a1c882e450edc0ce6c44
MISC metadata.xml 391 BLAKE2B b68c9928d0cae2572bb8737d6a9b5aa90acd0fea2ef7c1de4fa0e2079685cb69b508107f6c651e21fe747d86a4caf0a7171086b2bd6c35af0721cde99f7ec8f3 SHA512 84903daa0e4584dd1e631df4a25becbd4e1a599c998d0384978fa82d971a6fd119e920fd0e4830771a98efd3075f1529a6bfbd64739bdecaa22ec70f31be1ab2
diff --git a/dev-ruby/ruby-gtksourceview/ruby-gtksourceview-3.3.2.ebuild b/dev-ruby/ruby-gtksourceview/ruby-gtksourceview-3.3.2.ebuild
new file mode 100644
index 000000000000..e52a2c57fadc
--- /dev/null
+++ b/dev-ruby/ruby-gtksourceview/ruby-gtksourceview-3.3.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_NAME="gtksourceview2"
+
+inherit virtualx ruby-ng-gnome2
+
+RUBY_S=ruby-gnome2-all-${PV}/gtksourceview2
+
+DESCRIPTION="Ruby bindings for gtksourceview"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND+=" x11-libs/gtksourceview:2.0"
+DEPEND+=" x11-libs/gtksourceview:2.0"
+
+ruby_add_rdepend ">=dev-ruby/ruby-gtk2-${PV}"
+
+all_ruby_prepare() {
+ # Avoid native installer
+ sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew_libffi/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die
+
+ # Avoid compilation of dependencies during test.
+ sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die
+}
+
+each_ruby_test() {
+ virtx ${RUBY} test/run-test.rb || die
+}