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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EA2DA158064 for ; Sat, 4 May 2024 05:39:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38D9BE2A20; Sat, 4 May 2024 05:39:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1A5F2E2A20 for ; Sat, 4 May 2024 05:39:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 59F62343029 for ; Sat, 4 May 2024 05:38:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E58B915AF for ; Sat, 4 May 2024 05:38:57 +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: <1714801129.ba1aac5db46984d9d359fa5edbd11663661e57e5.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/launchy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/launchy/Manifest dev-ruby/launchy/launchy-3.0.1.ebuild X-VCS-Directories: dev-ruby/launchy/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: ba1aac5db46984d9d359fa5edbd11663661e57e5 X-VCS-Branch: master Date: Sat, 4 May 2024 05:38:57 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f0206e59-8b33-48b2-8d13-11a55e629559 X-Archives-Hash: 4b427e4dcb0c7ef7ed2b527bd0bf0df8 commit: ba1aac5db46984d9d359fa5edbd11663661e57e5 Author: Hans de Graaff gentoo org> AuthorDate: Sat May 4 05:33:36 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat May 4 05:38:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba1aac5d dev-ruby/launchy: add 3.0.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/launchy/Manifest | 1 + dev-ruby/launchy/launchy-3.0.1.ebuild | 45 +++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-ruby/launchy/Manifest b/dev-ruby/launchy/Manifest index 24a854f7441e..287413e9a024 100644 --- a/dev-ruby/launchy/Manifest +++ b/dev-ruby/launchy/Manifest @@ -1,2 +1,3 @@ DIST launchy-2.5.2.gem 30208 BLAKE2B 7e3c3464292026a93953995c5df7dd407b51bd36b363bb0c57fed6ebf2122390348f415273b6ce7ee2dcb89bd444a58458c0a95b84428fec02280654239223e0 SHA512 40777dabd25e6646c6673b33d9d296b66de7976fdf7454c9a7ae809a161ed992572b2232d94591731a7c8405875803172c6fafd09a5570f09e5eb119e23e7773 DIST launchy-3.0.0.gem 27648 BLAKE2B 71fb8dadc37d9b25f861177c6579c9328786d16e64758d24ca297c8b6a773d307abd26b674c221b9a6318a2edd56e90d889fcf66cb1e3c279d85d045e9b1243d SHA512 6c4a8c320b4d149a3ab322f9cc03c73b7decb50d8dd2a8954bae27f5d265594fc6498af4a3d41a0693d232cbdce3dbbdf76cba3da2199a4bc85d8cda60e59187 +DIST launchy-3.0.1.tar.gz 26613 BLAKE2B 4646fa7eef280fe439c513e1780ff80bf97eb2d084ca9a35d583568a1babbc2c85abb951382dceffbf08986b9cae07bea56078fd437097c6b1f5816e9cf4bba5 SHA512 98ec8f0389da8bc56491f4cda4fc128184a09f923bc7c0c7b2275a505f9af074172754abbbd5e9c48680c26fac5d10c23b9fee3e14af1e73dc176b3793ff2311 diff --git a/dev-ruby/launchy/launchy-3.0.1.ebuild b/dev-ruby/launchy/launchy-3.0.1.ebuild new file mode 100644 index 000000000000..36f5cc8cee4e --- /dev/null +++ b/dev-ruby/launchy/launchy-3.0.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md" +RUBY_FAKEGEM_GEMSPEC="launchy.gemspec" + +inherit ruby-fakegem virtualx + +DESCRIPTION="Helper class for launching cross-platform applications" +HOMEPAGE="https://github.com/copiousfreetime/launchy" +SRC_URI="https://github.com/copiousfreetime/launchy/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" + +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/addressable-2.8 + dev-ruby/childprocess:5 + !=dev-ruby/minitest-5.0:5 )" + +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 + sed -e "/'darwin'/ s:^:#:" \ + -i spec/applications/browser_spec.rb || die +} + +each_ruby_test() { + CI=true virtx each_fakegem_test +}