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 AFCB8158041 for ; Thu, 7 Mar 2024 06:47:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D523E29D7; Thu, 7 Mar 2024 06:47:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 6A736E29D7 for ; Thu, 7 Mar 2024 06:47:03 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8091F343070 for ; Thu, 7 Mar 2024 06:47:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C449314EE for ; Thu, 7 Mar 2024 06:46:59 +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: <1709793990.baff7ff4902c7a9983191e7c64deccc4c4341f59.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/console/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/console/Manifest dev-ruby/console/console-1.23.5.ebuild X-VCS-Directories: dev-ruby/console/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: baff7ff4902c7a9983191e7c64deccc4c4341f59 X-VCS-Branch: master Date: Thu, 7 Mar 2024 06:46:59 +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: bdb070b1-d166-471c-bee5-a3420ed91b2c X-Archives-Hash: 68c4b70144bb36e439dba5e35428efc9 commit: baff7ff4902c7a9983191e7c64deccc4c4341f59 Author: Hans de Graaff gentoo org> AuthorDate: Thu Mar 7 06:46:30 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Mar 7 06:46:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baff7ff4 dev-ruby/console: add 1.23.5 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/console/Manifest | 1 + dev-ruby/console/console-1.23.5.ebuild | 37 ++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-ruby/console/Manifest b/dev-ruby/console/Manifest index f477c05dfa9c..5c987d7a06a9 100644 --- a/dev-ruby/console/Manifest +++ b/dev-ruby/console/Manifest @@ -2,3 +2,4 @@ DIST console-1.17.2.tar.gz 24861 BLAKE2B c738249eadafe43c4528ebf75d30b51aa1d015f DIST console-1.23.2.tar.gz 27339 BLAKE2B 46d411a63934673bb956d9e898c00db08d16e0aec9d036f767d7dc078240934cc26695bada687a2cc7656d736d7d2622e3727470d6c864c19a85cbab586d2c9c SHA512 6dc0cc934e4f28fc196d9861676e8d4cf8f601d5ad779146b594f5847818b76620d434c9817a9944872371031d012eafe5a3b1ccb82807449584aa9c5af5282b DIST console-1.23.3.tar.gz 27768 BLAKE2B e421b6fd7ff0490dcdf9096843be9770b3a87e811ee6e222a45d92d3bebf3f4359428f268a82b6565eb68b9b4f37b136d8d36d9dd3d89b84b541d1ee914283af SHA512 2a1e5f1c8a589493138e1099aa985627314f1e938e7f98415b9cffb37d71dc58f9a6e40ea4d52c0f3be005b9ddb4ad5818ed4eab91b9528058d0ae270375abee DIST console-1.23.4.tar.gz 27764 BLAKE2B 6bdffaadecff42d4038ec4a83106e55fe8ef444547dd062df597a07db4c186dffc187e9f8024e000a8d540015c98ecfad1f19545e5d6cbfe86a354501dda3394 SHA512 382478f356a00a6b09ba14befdf11f432418824be525f0841ab7616439d5c10205280315b59b229d26d93e520c3de1f68afb262b20bd15dff917f6ea3cab896b +DIST console-1.23.5.tar.gz 27830 BLAKE2B fe90b745cc8db2e0b03589afd0c237ec5819547376384a86d5f06882148718cc0f7de2fcc1b72241e616d70feea3f2d8a4d675fb605986bf54224b374b2c116d SHA512 7425a226f6f8b9504ba58dcce5a7c879a320e4565277c0f70aec0d811db3b132be1e0e21c03e42321438602758f12a328258ebf7ad9719bf84572760f816989e diff --git a/dev-ruby/console/console-1.23.5.ebuild b/dev-ruby/console/console-1.23.5.ebuild new file mode 100644 index 000000000000..6fd98395ebfd --- /dev/null +++ b/dev-ruby/console/console-1.23.5.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_EXTRADOC="readme.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="sus" + +inherit ruby-fakegem + +DESCRIPTION="Beautiful logging for Ruby" +HOMEPAGE="https://github.com/socketry/console" +SRC_URI="https://github.com/socketry/console/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="" + +ruby_add_rdepend " + dev-ruby/fiber-annotation + dev-ruby/fiber-local + dev-ruby/json +" + +all_ruby_prepare() { + sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die + + # Avoid dependency on covered. + rm -f config/sus.rb || die + + # Avoid sandbox violation during tests + sed -i -e 's:/tmp/:'"${TMPDIR}"'/:' test/console/output.rb || die +}