dev-ruby/ruby-termios: add 1.0.2
authorHans de Graaff <graaff@gentoo.org>
Sun, 26 Feb 2017 07:42:23 +0000 (08:42 +0100)
committerHans de Graaff <graaff@gentoo.org>
Sun, 26 Feb 2017 07:42:23 +0000 (08:42 +0100)
Package-Manager: portage-2.3.3

dev-ruby/ruby-termios/Manifest
dev-ruby/ruby-termios/ruby-termios-1.0.2.ebuild [new file with mode: 0644]

index d8c92682fa583c67743d4308f4b383e93a58a5d0..b1e319e20bd4395a269273c18417786d2fb5b16b 100644 (file)
@@ -1 +1,2 @@
 DIST ruby-termios-1.0.0.tar.gz 14738 SHA256 0b6c41fb554acf17d257db8e8a10b283be6a9b45807ef1562151aadfc008ce5f SHA512 16d71a8cf84391da2dc8b138ff381751f5a72d61ce37d2215960d389285dee14862b50cf770d4648b298df093a85005df460ba951c5d7e6fb38e69d8d686599a WHIRLPOOL 34c9ad7fdfb7f72d8311a04345f5aa94050ea5d0fd66d362cd7c9eca55b19b91dd022bf2b3e60714a78c4e80bfc28952d722e8538372a3ed7faed8443baa85e3
+DIST ruby-termios-1.0.2.gem 17408 SHA256 88c64c79657cf91bd4239030f5ac452ed0db55b15b492037129df2fe8529ae19 SHA512 e32e899e917eb04e382a02484accf9fea0369de8c1942b445e48e71e9c836305e2d54221c9a044d27ede44a7d5c14f976a8ffda79f79f71b5a121474e759f45d WHIRLPOOL 8c485b6e37f6d5b2a67696860d8ff7d61d7a52a45cf9003d5ae8ca5e5164f62ca468ee5c604e729496511ad74e87e13d2ef2c87e6f31547fa9a13e2b0b80aa65
diff --git a/dev-ruby/ruby-termios/ruby-termios-1.0.2.ebuild b/dev-ruby/ruby-termios/ruby-termios-1.0.2.ebuild
new file mode 100644 (file)
index 0000000..ca1f3e5
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md termios.rd"
+
+# There are no tests in the gem, and the upstream tests only work 
+# with a normal TTY, bug 340575.
+RUBY_FAKEGEM_RECIPE_TEST="none"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="A Ruby interface to termios"
+HOMEPAGE="http://arika.org/ruby/termios"
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~mips ~ppc ~x86 ~x86-macos"
+IUSE=""
+
+each_ruby_configure() {
+       ${RUBY} -Cext extconf.rb || die
+}
+
+each_ruby_compile() {
+       emake -Cext V=1
+       cp ext/termios$(get_modname) lib/ || die
+}