mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-ruby/ruby-termios: cleanup
Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST ruby-termios-1.0.0.tar.gz 14738 BLAKE2B 61beda48d956a3fb9aa9aad118d1a28576b420e37528c5bf3d8516e0112fd0b648ec2987c8b47048feb50c694ecba6ad0ac27711ea1216b481dffa759b291eda SHA512 16d71a8cf84391da2dc8b138ff381751f5a72d61ce37d2215960d389285dee14862b50cf770d4648b298df093a85005df460ba951c5d7e6fb38e69d8d686599a
|
||||
DIST ruby-termios-1.0.2.gem 17408 BLAKE2B f85877dc3c9beb5c8d20e044ef7dfde6a12d540157228c1fdff365f3b662f8c84b9e7460ede985f0d402ec76a1d248fa41d336ac7bd9333222543c6d01748c83 SHA512 e32e899e917eb04e382a02484accf9fea0369de8c1942b445e48e71e9c836305e2d54221c9a044d27ede44a7d5c14f976a8ffda79f79f71b5a121474e759f45d
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
inherit multilib ruby-ng
|
||||
|
||||
DESCRIPTION="A Ruby interface to termios"
|
||||
HOMEPAGE="http://arika.org/ruby/termios"
|
||||
SRC_URI="https://github.com/arika/ruby-termios/archive/version_${PV//./_}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~hppa ~mips ~ppc x86 ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="${PN}-version_${PV//./_}"
|
||||
|
||||
# Tests require a normal TTY, bug 340575. They should all pass when run
|
||||
# manually.
|
||||
RESTRICT=test
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake -Cext V=1
|
||||
cp ext/termios$(get_modname) lib/ || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib test/test0.rb || die "tests failed"
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
emake V=1 -Cext DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
dodoc ChangeLog README termios.rd
|
||||
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*
|
||||
}
|
||||
Reference in New Issue
Block a user