commit:     2313c1ce924eb4801d23d60143108b2b97e8bccc
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  1 07:51:23 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> 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 <graaff <AT> 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
+}

Reply via email to