Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/serialport: ChangeLog serialport-1.2.1.ebuild
Date: Sat, 26 Oct 2013 06:17:37
Message-Id: 20131026061730.15FBC20047@flycatcher.gentoo.org
1 graaff 13/10/26 06:17:30
2
3 Modified: ChangeLog
4 Added: serialport-1.2.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.8 dev-ruby/serialport/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/serialport/ChangeLog?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/serialport/ChangeLog?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/serialport/ChangeLog?r1=1.7&r2=1.8
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/serialport/ChangeLog,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- ChangeLog 9 Nov 2012 18:35:36 -0000 1.7
24 +++ ChangeLog 26 Oct 2013 06:17:29 -0000 1.8
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/serialport
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/serialport/ChangeLog,v 1.7 2012/11/09 18:35:36 ago Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/serialport/ChangeLog,v 1.8 2013/10/26 06:17:29 graaff Exp $
31 +
32 +*serialport-1.2.1 (26 Oct 2013)
33 +
34 + 26 Oct 2013; Hans de Graaff <graaff@g.o> +serialport-1.2.1.ebuild:
35 + Version bump.
36
37 09 Nov 2012; Agostino Sarubbo <ago@g.o> serialport-1.1.0.ebuild:
38 Add ~amd64, wrt bug #442128
39
40
41
42 1.1 dev-ruby/serialport/serialport-1.2.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/serialport/serialport-1.2.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/serialport/serialport-1.2.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: serialport-1.2.1.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/serialport/serialport-1.2.1.ebuild,v 1.1 2013/10/26 06:17:29 graaff Exp $
52
53 EAPI=5
54
55 # jruby → uses native library
56 USE_RUBY="ruby18 ruby19 ruby20"
57
58 RUBY_FAKEGEM_TASK_DOC=""
59 RUBY_FAKEGEM_TASK_TEST=""
60 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
61
62 inherit ruby-fakegem
63
64 DESCRIPTION="a library for serial port (rs232) access in ruby"
65 HOMEPAGE="http://rubyforge.org/projects/ruby-serialport/"
66
67 LICENSE="GPL-2"
68 SLOT="0"
69 KEYWORDS="~amd64 ~ppc ~x86"
70 IUSE=""
71
72 all_ruby_prepare() {
73 # Fix the miniterm script so that it might actually work, we'll
74 # install it as example.
75 sed -i -e 's:\.\./serialport.so:serialport:' test/miniterm.rb || die
76 }
77
78 each_ruby_configure() {
79 cd ext/native
80 ${RUBY} extconf.rb || die
81 }
82
83 each_ruby_compile() {
84 pushd ext/native &>/dev/null
85 emake V=1 || die
86 popd &>/dev/null
87
88 # Avoids the need for a specific install phase
89 cp ext/native/*.so lib/ || die "extension copy failed"
90 }
91
92 all_ruby_install() {
93 all_fakegem_install
94
95 # don't compress it
96 insinto /usr/share/doc/${PF}/examples
97 doins test/miniterm.rb || die
98 }