summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-07-09 11:49:58 +0000
committerHans de Graaff <graaff@gentoo.org>2015-07-09 11:49:58 +0000
commitb8351fb7dce328fdfdef212ab211ddfb14c44225 (patch)
treebb3f88b72ec7ee07e4bb62db5aefae8c3ab7ab97 /dev-ruby/ruby-cairo-gobject
parentVersion bump. (diff)
downloadgentoo-2-b8351fb7dce328fdfdef212ab211ddfb14c44225.tar.gz
gentoo-2-b8351fb7dce328fdfdef212ab211ddfb14c44225.tar.bz2
gentoo-2-b8351fb7dce328fdfdef212ab211ddfb14c44225.zip
Version bump. Run tests.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/ruby-cairo-gobject')
-rw-r--r--dev-ruby/ruby-cairo-gobject/ChangeLog8
-rw-r--r--dev-ruby/ruby-cairo-gobject/ruby-cairo-gobject-2.2.5.ebuild34
2 files changed, 41 insertions, 1 deletions
diff --git a/dev-ruby/ruby-cairo-gobject/ChangeLog b/dev-ruby/ruby-cairo-gobject/ChangeLog
index a7ddd826a7e8..09ae76faae41 100644
--- a/dev-ruby/ruby-cairo-gobject/ChangeLog
+++ b/dev-ruby/ruby-cairo-gobject/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/ruby-cairo-gobject
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-cairo-gobject/ChangeLog,v 1.9 2015/07/06 09:36:25 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-cairo-gobject/ChangeLog,v 1.10 2015/07/09 11:49:58 graaff Exp $
+
+*ruby-cairo-gobject-2.2.5 (09 Jul 2015)
+
+ 09 Jul 2015; Hans de Graaff <graaff@gentoo.org>
+ +ruby-cairo-gobject-2.2.5.ebuild:
+ Version bump. Run tests.
*ruby-cairo-gobject-2.2.3-r1 (06 Jul 2015)
diff --git a/dev-ruby/ruby-cairo-gobject/ruby-cairo-gobject-2.2.5.ebuild b/dev-ruby/ruby-cairo-gobject/ruby-cairo-gobject-2.2.5.ebuild
new file mode 100644
index 000000000000..e33c53a3c66b
--- /dev/null
+++ b/dev-ruby/ruby-cairo-gobject/ruby-cairo-gobject-2.2.5.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-cairo-gobject/ruby-cairo-gobject-2.2.5.ebuild,v 1.1 2015/07/09 11:49:58 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+inherit ruby-ng-gnome2
+
+RUBY_S="ruby-gnome2-all-${PV}/cairo-gobject"
+
+DESCRIPTION="Ruby cairo-gobject bindings"
+KEYWORDS="~amd64 ~ppc"
+IUSE=""
+
+DEPEND+=" x11-libs/cairo"
+RDEPEND+=" x11-libs/cairo"
+
+ruby_add_rdepend "dev-ruby/rcairo
+ >=dev-ruby/ruby-glib2-${PV}"
+
+all_ruby_prepare() {
+ # Avoid unneeded dependency on test-unit-notify.
+ sed -i -e '/notify/ s:^:#:' \
+ ../gobject-introspection/test/gobject-introspection-test-utils.rb \
+ test/cairo-gobject-test-utils.rb || die
+
+ # Avoid compilation of dependencies during test.
+ sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} test/run-test.rb || die
+}