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 D4AB315803E for ; Mon, 1 Jan 2024 08:07:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 540982BC03E; Mon, 1 Jan 2024 08:07:35 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E52792BC03E for ; Mon, 1 Jan 2024 08:07:34 +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 BEE5B33D3CF for ; Mon, 1 Jan 2024 08:07:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 58F1D1454 for ; Mon, 1 Jan 2024 08:07:32 +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: <1704096444.2313c1ce924eb4801d23d60143108b2b97e8bccc.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/tty-reader/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/tty-reader/tty-reader-0.9.0-r1.ebuild X-VCS-Directories: dev-ruby/tty-reader/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 2313c1ce924eb4801d23d60143108b2b97e8bccc X-VCS-Branch: master Date: Mon, 1 Jan 2024 08:07:32 +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: 04959414-2355-45f1-b543-db63a53e4177 X-Archives-Hash: 5bd4be65901acdbe31dc0b0051f7aa6a commit: 2313c1ce924eb4801d23d60143108b2b97e8bccc Author: Hans de Graaff gentoo org> AuthorDate: Mon Jan 1 07:51:23 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Jan 1 08:07:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2313c1ce dev-ruby/tty-reader: update EAPI 7 -> 8, add ruby33 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/tty-reader/tty-reader-0.9.0-r1.ebuild | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/dev-ruby/tty-reader/tty-reader-0.9.0-r1.ebuild b/dev-ruby/tty-reader/tty-reader-0.9.0-r1.ebuild new file mode 100644 index 000000000000..e6a9b9c8278b --- /dev/null +++ b/dev-ruby/tty-reader/tty-reader-0.9.0-r1.ebuild @@ -0,0 +1,35 @@ +# 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_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="tty-reader.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Methods for processing keyboard input in character, line and multiline modes" +HOMEPAGE="https://github.com/piotrmurach/tty-reader" +SRC_URI="https://github.com/piotrmurach/tty-reader/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/tty-cursor-0.7:0 + >=dev-ruby/tty-screen-0.8:0 + =dev-ruby/wisper-2* +" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die +}