From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 17AF7138332 for ; Sun, 4 Sep 2016 06:47:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E90E21C0FE; Sun, 4 Sep 2016 06:47:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B0B6C21C0FE for ; Sun, 4 Sep 2016 06:47:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D41E8340961 for ; Sun, 4 Sep 2016 06:47:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 757282472 for ; Sun, 4 Sep 2016 06:47:10 +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: <1472971624.7a14b7c65437bf815b84343aa7aec976bc89b867.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/launchy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/launchy/launchy-2.4.3-r1.ebuild X-VCS-Directories: dev-ruby/launchy/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 7a14b7c65437bf815b84343aa7aec976bc89b867 X-VCS-Branch: master Date: Sun, 4 Sep 2016 06:47:10 +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: fd21dddd-5193-441c-b786-4479d5047963 X-Archives-Hash: 5d61fb575eea4b59b9c11e2647f07dfd commit: 7a14b7c65437bf815b84343aa7aec976bc89b867 Author: Hans de Graaff gentoo org> AuthorDate: Sun Sep 4 06:42:48 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Sep 4 06:47:04 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a14b7c6 dev-ruby/launchy: add ruby23 revision Package-Manager: portage-2.2.28 dev-ruby/launchy/launchy-2.4.3-r1.ebuild | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/dev-ruby/launchy/launchy-2.4.3-r1.ebuild b/dev-ruby/launchy/launchy-2.4.3-r1.ebuild new file mode 100644 index 00000000..a7e9b83 --- /dev/null +++ b/dev-ruby/launchy/launchy-2.4.3-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md" + +inherit ruby-fakegem + +DESCRIPTION="Helper class for launching cross-platform applications" +HOMEPAGE="https://github.com/copiousfreetime/launchy" + +LICENSE="ISC" + +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +# File collision conflict with x11-misc/launchy, bug 545170 +ruby_add_rdepend ">=dev-ruby/addressable-2.3 !!x11-misc/launchy" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.0:5 )" + +# This test is expected to fail on linux, drop it +RUBY_PATCHES=( "${FILESDIR}"/${PN}-2.4.2-drop-failing-test.patch ) + +all_ruby_prepare() { + sed -i -e "/[Ss]implecov/d" spec/spec_helper.rb || die + + # Avoid tests depending on the current user's desktop environment. + sed -e '/returns NotFound if it cannot determine/askip "gentoo"' \ + -i spec/detect/nix_desktop_environment_spec.rb || die + sed -e '/asssumes we open a local file if we have an exception/askip "gentoo"' \ + -i spec/launchy_spec.rb || die +}