diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-01-01 08:51:23 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-01-01 09:07:24 +0100 |
commit | 2313c1ce924eb4801d23d60143108b2b97e8bccc (patch) | |
tree | 608f35a46baf71cf7643f43a0f014dadf4b54b0c /dev-ruby/tty-reader | |
parent | dev-ruby/websocket: stabilize 1.2.10 for amd64 (diff) | |
download | gentoo-2313c1ce924eb4801d23d60143108b2b97e8bccc.tar.gz gentoo-2313c1ce924eb4801d23d60143108b2b97e8bccc.tar.bz2 gentoo-2313c1ce924eb4801d23d60143108b2b97e8bccc.zip |
dev-ruby/tty-reader: update EAPI 7 -> 8, add ruby33
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/tty-reader')
-rw-r--r-- | dev-ruby/tty-reader/tty-reader-0.9.0-r1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
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 +} |