1 |
commit: 0ef1c09f51829afc12a78a27a02bab68ddb117d4 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 26 07:42:23 2017 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 26 07:42:23 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ef1c09f |
7 |
|
8 |
dev-ruby/ruby-termios: add 1.0.2 |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
|
12 |
dev-ruby/ruby-termios/Manifest | 1 + |
13 |
dev-ruby/ruby-termios/ruby-termios-1.0.2.ebuild | 31 +++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/ruby-termios/Manifest b/dev-ruby/ruby-termios/Manifest |
17 |
index d8c92682fa..b1e319e20b 100644 |
18 |
--- a/dev-ruby/ruby-termios/Manifest |
19 |
+++ b/dev-ruby/ruby-termios/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ruby-termios-1.0.0.tar.gz 14738 SHA256 0b6c41fb554acf17d257db8e8a10b283be6a9b45807ef1562151aadfc008ce5f SHA512 16d71a8cf84391da2dc8b138ff381751f5a72d61ce37d2215960d389285dee14862b50cf770d4648b298df093a85005df460ba951c5d7e6fb38e69d8d686599a WHIRLPOOL 34c9ad7fdfb7f72d8311a04345f5aa94050ea5d0fd66d362cd7c9eca55b19b91dd022bf2b3e60714a78c4e80bfc28952d722e8538372a3ed7faed8443baa85e3 |
22 |
+DIST ruby-termios-1.0.2.gem 17408 SHA256 88c64c79657cf91bd4239030f5ac452ed0db55b15b492037129df2fe8529ae19 SHA512 e32e899e917eb04e382a02484accf9fea0369de8c1942b445e48e71e9c836305e2d54221c9a044d27ede44a7d5c14f976a8ffda79f79f71b5a121474e759f45d WHIRLPOOL 8c485b6e37f6d5b2a67696860d8ff7d61d7a52a45cf9003d5ae8ca5e5164f62ca468ee5c604e729496511ad74e87e13d2ef2c87e6f31547fa9a13e2b0b80aa65 |
23 |
|
24 |
diff --git a/dev-ruby/ruby-termios/ruby-termios-1.0.2.ebuild b/dev-ruby/ruby-termios/ruby-termios-1.0.2.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000000..ca1f3e545b |
27 |
--- /dev/null |
28 |
+++ b/dev-ruby/ruby-termios/ruby-termios-1.0.2.ebuild |
29 |
@@ -0,0 +1,31 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+USE_RUBY="ruby21 ruby22 ruby23 ruby24" |
36 |
+ |
37 |
+RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
38 |
+RUBY_FAKEGEM_EXTRADOC="README.md termios.rd" |
39 |
+ |
40 |
+# There are no tests in the gem, and the upstream tests only work |
41 |
+# with a normal TTY, bug 340575. |
42 |
+RUBY_FAKEGEM_RECIPE_TEST="none" |
43 |
+ |
44 |
+inherit multilib ruby-fakegem |
45 |
+ |
46 |
+DESCRIPTION="A Ruby interface to termios" |
47 |
+HOMEPAGE="http://arika.org/ruby/termios" |
48 |
+LICENSE="Ruby" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~hppa ~mips ~ppc ~x86 ~x86-macos" |
51 |
+IUSE="" |
52 |
+ |
53 |
+each_ruby_configure() { |
54 |
+ ${RUBY} -Cext extconf.rb || die |
55 |
+} |
56 |
+ |
57 |
+each_ruby_compile() { |
58 |
+ emake -Cext V=1 |
59 |
+ cp ext/termios$(get_modname) lib/ || die |
60 |
+} |