From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-ruby/ruby-termios/Manifest | 1 + dev-ruby/ruby-termios/metadata.xml | 12 ++++++++ dev-ruby/ruby-termios/ruby-termios-1.0.2-r1.ebuild | 32 ++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 dev-ruby/ruby-termios/Manifest create mode 100644 dev-ruby/ruby-termios/metadata.xml create mode 100644 dev-ruby/ruby-termios/ruby-termios-1.0.2-r1.ebuild (limited to 'dev-ruby/ruby-termios') diff --git a/dev-ruby/ruby-termios/Manifest b/dev-ruby/ruby-termios/Manifest new file mode 100644 index 000000000000..6058dd68ca0d --- /dev/null +++ b/dev-ruby/ruby-termios/Manifest @@ -0,0 +1 @@ +DIST ruby-termios-1.0.2.gem 17408 BLAKE2B f85877dc3c9beb5c8d20e044ef7dfde6a12d540157228c1fdff365f3b662f8c84b9e7460ede985f0d402ec76a1d248fa41d336ac7bd9333222543c6d01748c83 SHA512 e32e899e917eb04e382a02484accf9fea0369de8c1942b445e48e71e9c836305e2d54221c9a044d27ede44a7d5c14f976a8ffda79f79f71b5a121474e759f45d diff --git a/dev-ruby/ruby-termios/metadata.xml b/dev-ruby/ruby-termios/metadata.xml new file mode 100644 index 000000000000..5453ea681915 --- /dev/null +++ b/dev-ruby/ruby-termios/metadata.xml @@ -0,0 +1,12 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + arika/ruby-termios + + gentoo-staging + diff --git a/dev-ruby/ruby-termios/ruby-termios-1.0.2-r1.ebuild b/dev-ruby/ruby-termios/ruby-termios-1.0.2-r1.ebuild new file mode 100644 index 000000000000..6a6e1cc0f2e2 --- /dev/null +++ b/dev-ruby/ruby-termios/ruby-termios-1.0.2-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +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" + +RUBY_FAKEGEM_BINWRAP="" + +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 +} -- cgit v1.3.1