1 |
commit: e0fbcaed927838432c76e67c2e5c2e35c086f51b |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 30 03:50:17 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 30 03:50:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0fbcaed |
7 |
|
8 |
dev-ruby/serialport: add 1.3.2 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/serialport/Manifest | 1 + |
14 |
dev-ruby/serialport/serialport-1.3.2.ebuild | 34 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 35 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/serialport/Manifest b/dev-ruby/serialport/Manifest |
18 |
index 95cc0d03cd9..ac110dd5e8d 100644 |
19 |
--- a/dev-ruby/serialport/Manifest |
20 |
+++ b/dev-ruby/serialport/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST serialport-1.3.1.gem 25088 BLAKE2B 391188ff8a78f3998c82b17668a1aebad737643739c8087c4f32ce719dbf7bbf5f29cdc0717ab16f196020a227afc4fcfc29409331b2aabf5c6bf3382ef3496b SHA512 cdce9e13065cecf6d090d716626abb399bcc2a079be7bf1fe7755a20360218550f2f31980d62d8aae1fcc62fc62d6f7549685f865e30d2a5f40a617f5f197ed9 |
23 |
+DIST serialport-1.3.2.gem 25088 BLAKE2B 035e7bdb8ef321fb67ec63283c0e4c8fbf8f909ea3495994716b95cc55f212561a09a87352aed67290d96b54bb26b7802e5ed37c27e67291d768d7eb6d30850e SHA512 ff78fa04183108c2e9c5eb4f0caa9f8072a693a2a120ca084476b4125ca32ec67a6fb268bedda3ca142a9a397dbc585dffaab88f339fccc12e5ad03a09d4c28c |
24 |
|
25 |
diff --git a/dev-ruby/serialport/serialport-1.3.2.ebuild b/dev-ruby/serialport/serialport-1.3.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..49a58625d12 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/serialport/serialport-1.3.2.ebuild |
30 |
@@ -0,0 +1,34 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+USE_RUBY="ruby26 ruby27 ruby30" |
37 |
+ |
38 |
+RUBY_FAKEGEM_TASK_DOC="" |
39 |
+RUBY_FAKEGEM_TASK_TEST="" |
40 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" |
41 |
+ |
42 |
+RUBY_FAKEGEM_EXTENSIONS=(ext/native/extconf.rb) |
43 |
+ |
44 |
+inherit multilib ruby-fakegem |
45 |
+ |
46 |
+DESCRIPTION="a library for serial port (rs232) access in ruby" |
47 |
+HOMEPAGE="https://github.com/hparra/ruby-serialport/" |
48 |
+ |
49 |
+LICENSE="GPL-2" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~ppc ~x86" |
52 |
+IUSE="" |
53 |
+ |
54 |
+all_ruby_prepare() { |
55 |
+ # Fix the miniterm script so that it might actually work, we'll |
56 |
+ # install it as example. |
57 |
+ sed -i -e 's:\.\./serialport.so:serialport:' test/miniterm.rb || die |
58 |
+} |
59 |
+ |
60 |
+all_ruby_install() { |
61 |
+ all_fakegem_install |
62 |
+ |
63 |
+ dodoc test/miniterm.rb |
64 |
+} |