dev-ruby/tty-reader: add missing dependencies
authorHans de Graaff <graaff@gentoo.org>
Mon, 17 Jun 2019 08:35:59 +0000 (10:35 +0200)
committerHans de Graaff <graaff@gentoo.org>
Mon, 17 Jun 2019 08:37:49 +0000 (10:37 +0200)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

dev-ruby/tty-reader/tty-reader-0.6.0-r1.ebuild [new file with mode: 0644]

diff --git a/dev-ruby/tty-reader/tty-reader-0.6.0-r1.ebuild b/dev-ruby/tty-reader/tty-reader-0.6.0-r1.ebuild
new file mode 100644 (file)
index 0000000..3bcd1fa
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Methods for processing keyboard input in character, line and multiline modes"
+HOMEPAGE="https://github.com/piotrmurach/tty-reader"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+       >=dev-ruby/tty-cursor-0.7:0
+       >=dev-ruby/tty-screen-0.7:0
+       =dev-ruby/wisper-2.0*
+"
+
+all_ruby_prepare() {
+       echo '-rspec_helper' > .rspec || die
+}