diff options
Diffstat (limited to 'dev-ruby/tty-reader')
-rw-r--r-- | dev-ruby/tty-reader/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/tty-reader/tty-reader-0.9.0.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/tty-reader/Manifest b/dev-ruby/tty-reader/Manifest index f48ae80543f9..34557f835983 100644 --- a/dev-ruby/tty-reader/Manifest +++ b/dev-ruby/tty-reader/Manifest @@ -1,2 +1,3 @@ DIST tty-reader-0.7.0.gem 25600 BLAKE2B 41af0db92c337cdebb428a93b924f466d72f67042267abd4b3cc97a319e01757c2f1f302ec0002de5b90fa1ebecca0d6bffcdc621be2e435d549263779ed3712 SHA512 29f41a15ff9d86300d9cb6067028a2bf540d258d8a8ca11892e26d40e423854ce32706a33a5cb75037d99d8d30d42998ecc6876a99f3c30bbddacffe61fbf70e DIST tty-reader-0.8.0.tar.gz 459623 BLAKE2B c787eebf03fa6169e710d7f838ee02f558577bbd806988e088a9f950c3cf5ef6d4f9e3569f2a29f4a81bcaa2222e029128dc48e439eae075741b077e42c70246 SHA512 8fbae094bbba287c2a2176e9838d0769ad33d6d464165f8b46484d47902ce4131842f196d3b7c0fa6f9be10bb37e2315b1dba517d46872b6f8e5a4fb3a6790da +DIST tty-reader-0.9.0.tar.gz 461051 BLAKE2B f2a48a929fc7ec0f6f98e4508ed50638e041939ae2eadf96cb8d04e4a771304e63648d5c3a85581fef3ae4740a570114e8d427637c6b3a05ece400f7963a26cb SHA512 2480f480a6ab0fa0854386ba0c31b5e78ff53a2d65b23825b13e50929337f56f8e38d1277f61509139cb43eddd8a933fadcd9d3c916c9dbaacf4dac1ec38dbaf diff --git a/dev-ruby/tty-reader/tty-reader-0.9.0.ebuild b/dev-ruby/tty-reader/tty-reader-0.9.0.ebuild new file mode 100644 index 000000000000..93626606fa04 --- /dev/null +++ b/dev-ruby/tty-reader/tty-reader-0.9.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +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="~amd64" +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 +} |