From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 37424138BED for ; Sun, 11 Oct 2015 13:49:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9E47E07FA; Sun, 11 Oct 2015 13:49:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6A64FE07FA for ; Sun, 11 Oct 2015 13:49:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 73314340634 for ; Sun, 11 Oct 2015 13:49:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4E250DF1 for ; Sun, 11 Oct 2015 13:49:16 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1444571279.4dc6b2542c2055d6151e1f9a05bcd5cdac80a17d.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-gobject-introspection/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/ruby-gobject-introspection/Manifest dev-ruby/ruby-gobject-introspection/ruby-gobject-introspection-3.0.7.ebuild X-VCS-Directories: dev-ruby/ruby-gobject-introspection/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 4dc6b2542c2055d6151e1f9a05bcd5cdac80a17d X-VCS-Branch: master Date: Sun, 11 Oct 2015 13:49:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0e733e7b-f7f3-44e8-b641-105f617514ef X-Archives-Hash: e0b65add2fdd7eefd2515ba66babd5f6 commit: 4dc6b2542c2055d6151e1f9a05bcd5cdac80a17d Author: Hans de Graaff gentoo org> AuthorDate: Sun Oct 11 13:42:15 2015 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Oct 11 13:47:59 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dc6b254 dev-ruby/ruby-gobject-introspection: add ruby-gnome 3.0.7 Package-Manager: portage-2.2.20.1 dev-ruby/ruby-gobject-introspection/Manifest | 1 + .../ruby-gobject-introspection-3.0.7.ebuild | 43 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-ruby/ruby-gobject-introspection/Manifest b/dev-ruby/ruby-gobject-introspection/Manifest index eeb791e..f88b5ce 100644 --- a/dev-ruby/ruby-gobject-introspection/Manifest +++ b/dev-ruby/ruby-gobject-introspection/Manifest @@ -1,2 +1,3 @@ DIST ruby-gnome2-all-2.2.3.tar.gz 1657315 SHA256 1611038c2a49fe051dfcc779aeca8eb47273718d80a0680442504fd54e228154 SHA512 cf6b0c88c91e444f5ff65a4a863630c5455315c08f1b44a5f7c81db51f998d6e83ab62e00276edb4a81ea9942405d76724f52134d2388010ec0f157a6a5dc34e WHIRLPOOL e5a6347b360b64f6b690a28483f8618d58786bbbf1fd6c691952271c85bf1d96dc8c97f1e4ed541f6cf8afac56221950db30873cc83a24210b6feef969eaf4b7 DIST ruby-gnome2-all-2.2.5.tar.gz 1696485 SHA256 ef22418c95ce9f997235aee1a1b4d1265fad023e78a8f452bdd9e95267dd52b9 SHA512 60693ec2db4c4159a634f33bf7021e078cc06e25d4e10c6ac0c8a30ac03f9b8119ed94d9b62408a2010c9c3d1f812dea3ab5c6c617eda5d4c73272d64934159e WHIRLPOOL 161ae5b591bd1b6ba3601d46bc4fcfa6c57b006bd5903ba5a8c7ec670f11e06091ce5314290e24b312ecb61ceef22fb91231079f03f16a873a4e890142389123 +DIST ruby-gnome2-all-3.0.7.tar.gz 1692752 SHA256 4b65da24a5fdd4a774d6f238abcce8a3aca2bad093211bb824fb6a06e5430375 SHA512 0cfd5dd13ef0e0986ddd2235f88ffb21d15e6cb709b47252bb34e587fef88c0234e65f178eccec7dbfd45759ba37f1bbdcee6c7908d3f9daaf3369453b2478ee WHIRLPOOL 0a0e2749f6642485bada7ab22d69a3ed0e4d170a2d0dec6db88e62179264c6093a51c05cca87c64a4a3e9d1bdedb05a92fba81f6098872c06c8cbfa451ccedf2 diff --git a/dev-ruby/ruby-gobject-introspection/ruby-gobject-introspection-3.0.7.ebuild b/dev-ruby/ruby-gobject-introspection/ruby-gobject-introspection-3.0.7.ebuild new file mode 100644 index 0000000..0f03ada --- /dev/null +++ b/dev-ruby/ruby-gobject-introspection/ruby-gobject-introspection-3.0.7.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +inherit ruby-ng-gnome2 + +RUBY_S=ruby-gnome2-all-${PV}/gobject-introspection + +DESCRIPTION="Ruby GObjectIntrospection bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" dev-libs/gobject-introspection" +RDEPEND+=" dev-libs/gobject-introspection" + +ruby_add_rdepend "~dev-ruby/ruby-glib2-${PV}" + +all_ruby_prepare() { + # Remove pregenerated Makefile since it will otherwise be shared by all targets. + rm -f Makefile Makefile.lib ext/gobject-introspection/Makefile || die + + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' test/gobject-introspection-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/system/,/^ end/ s:^:#:' test/run-test.rb || die +} + +each_ruby_prepare() { + case ${RUBY} in + *ruby19) + # Avoid test with ruby20+ code. + rm -f test/test-repository.rb || die + ;; + esac +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +}