diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-02-26 08:42:23 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-02-26 08:42:23 +0100 |
commit | 0ef1c09f51829afc12a78a27a02bab68ddb117d4 (patch) | |
tree | 026ba1930eba6be8766ddb632171d8c32066099c /dev-ruby/ruby-termios | |
parent | dev-ruby/ruby-tcpwrap: drop ruby20 (diff) | |
download | gentoo-0ef1c09f51829afc12a78a27a02bab68ddb117d4.tar.gz gentoo-0ef1c09f51829afc12a78a27a02bab68ddb117d4.tar.bz2 gentoo-0ef1c09f51829afc12a78a27a02bab68ddb117d4.zip |
dev-ruby/ruby-termios: add 1.0.2
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-ruby/ruby-termios')
-rw-r--r-- | dev-ruby/ruby-termios/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/ruby-termios/ruby-termios-1.0.2.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/ruby-termios/Manifest b/dev-ruby/ruby-termios/Manifest index d8c92682fa58..b1e319e20bd4 100644 --- a/dev-ruby/ruby-termios/Manifest +++ b/dev-ruby/ruby-termios/Manifest @@ -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 index 000000000000..ca1f3e545b69 --- /dev/null +++ b/dev-ruby/ruby-termios/ruby-termios-1.0.2.ebuild @@ -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 +} |