summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-02-15 09:10:15 +0100
committerHans de Graaff <graaff@gentoo.org>2019-02-15 11:16:29 +0100
commitb4e1fbc0f78a05e9deb18a51806dc317326d2d66 (patch)
treee14a3feaafda62a902d5cde68b8814cbbd2cfc21 /dev-ruby/ruby-gtksourceview3/ruby-gtksourceview3-3.3.2.ebuild
parentnet-p2p/gtk-gnutella: amd64 stable (diff)
downloadgentoo-b4e1fbc0f78a05e9deb18a51806dc317326d2d66.tar.gz
gentoo-b4e1fbc0f78a05e9deb18a51806dc317326d2d66.tar.bz2
gentoo-b4e1fbc0f78a05e9deb18a51806dc317326d2d66.zip
dev-ruby/ruby-gtksourceview3: add 3.3.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/ruby-gtksourceview3/ruby-gtksourceview3-3.3.2.ebuild')
-rw-r--r--dev-ruby/ruby-gtksourceview3/ruby-gtksourceview3-3.3.2.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/ruby-gtksourceview3/ruby-gtksourceview3-3.3.2.ebuild b/dev-ruby/ruby-gtksourceview3/ruby-gtksourceview3-3.3.2.ebuild
new file mode 100644
index 00000000000..d09f2d48de6
--- /dev/null
+++ b/dev-ruby/ruby-gtksourceview3/ruby-gtksourceview3-3.3.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+
+inherit virtualx ruby-ng-gnome2
+
+DESCRIPTION="Ruby Gtk3 bindings"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND+=" x11-libs/gtksourceview:3.0"
+RDEPEND+=" x11-libs/gtksourceview:3.0"
+
+ruby_add_bdepend ">=dev-ruby/ruby-glib2-${PV}"
+ruby_add_rdepend ">=dev-ruby/ruby-gtk3-${PV}"
+
+all_ruby_prepare() {
+ # Avoid compilation of dependencies during test.
+ sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die
+}
+
+each_ruby_configure() {
+ :
+}
+
+each_ruby_compile() {
+ :
+}
+
+each_ruby_test() {
+ virtx ${RUBY} test/run-test.rb || die
+}
+
+each_ruby_install() {
+ each_fakegem_install
+}