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 53558158020 for ; Sun, 23 Oct 2022 07:29:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6BE41E0817; Sun, 23 Oct 2022 07:29:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 4B8FDE0817 for ; Sun, 23 Oct 2022 07:29:52 +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 4E3C23411CC for ; Sun, 23 Oct 2022 07:29:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CF181628 for ; Sun, 23 Oct 2022 07:29:49 +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: <1666510166.1f8b93301337ed3f98f71997926487a3d34b8fe5.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.16.2.ebuild X-VCS-Directories: dev-ruby/console/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 1f8b93301337ed3f98f71997926487a3d34b8fe5 X-VCS-Branch: master Date: Sun, 23 Oct 2022 07:29:49 +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: 18972b64-a25b-4866-ab72-39507d9febff X-Archives-Hash: 0cfceb912a1b3cf571de5873fe50e32d commit: 1f8b93301337ed3f98f71997926487a3d34b8fe5 Author: Hans de Graaff gentoo org> AuthorDate: Sun Oct 23 07:28:22 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Oct 23 07:29:26 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f8b9330 dev-ruby/console: add 1.16.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/console/Manifest | 1 + dev-ruby/console/console-1.16.2.ebuild | 35 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-ruby/console/Manifest b/dev-ruby/console/Manifest index 694623a35a8b..db21783b7f81 100644 --- a/dev-ruby/console/Manifest +++ b/dev-ruby/console/Manifest @@ -1 +1,2 @@ DIST console-1.15.3.tar.gz 23089 BLAKE2B 8387b0dc8ee84df3ce930ef79fcfec9e9b947b946770535beeb16fe58496c30134862b6a3fb48a842b321ab2ec493b1e4f9ec3462bdce04aa35066672ee55699 SHA512 c1d7fc987f3f6df3506c85c64d3c93b3eae6b5eca64ac7de2cf7cc0cb5572c102ebd6909d993d9d683081063ff8b7f2de46fefa255491adc47b88f13ff24ea67 +DIST console-1.16.2.tar.gz 24609 BLAKE2B 470e6fb547e594d6e4add21c11bccca2d239d5430e148bdd99fe925d57058a3e7304b96c793c72a68ac3df3e285c1b7719b5a1e0db833350b0ef55ac17cca4f8 SHA512 fe32ea7b3ab11319fcefc098571e2a4fff2fec2a56c53880731ab15deca75e84c94cc30456fea264e6201996311dc705799814e5c1d7c32e7b7d786fcac9588e diff --git a/dev-ruby/console/console-1.16.2.ebuild b/dev-ruby/console/console-1.16.2.ebuild new file mode 100644 index 000000000000..9d18391d436f --- /dev/null +++ b/dev-ruby/console/console-1.16.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="readme.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +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 ~sparc" +IUSE="" + +ruby_add_rdepend "dev-ruby/fiber-local" + +ruby_add_bdepend "test? ( dev-ruby/sus )" + +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 +} + +each_ruby_test() { + ${RUBY} -S sus || die +}