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/ruby-serialport: ruby-serialport-1.0.3.ebuild ChangeLog
Date: Tue, 27 Apr 2010 05:51:05
Message-Id: 20100427055100.EF1FD2C04C@corvid.gentoo.org
1 graaff 10/04/27 05:51:00
2
3 Modified: ChangeLog
4 Added: ruby-serialport-1.0.3.ebuild
5 Log:
6 Version bump: bug fixes.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.12 dev-ruby/ruby-serialport/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-serialport/ChangeLog?rev=1.12&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-serialport/ChangeLog?rev=1.12&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-serialport/ChangeLog?r1=1.11&r2=1.12
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-serialport/ChangeLog,v
19 retrieving revision 1.11
20 retrieving revision 1.12
21 diff -u -r1.11 -r1.12
22 --- ChangeLog 24 Jan 2010 00:02:35 -0000 1.11
23 +++ ChangeLog 27 Apr 2010 05:51:00 -0000 1.12
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-ruby/ruby-serialport
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-serialport/ChangeLog,v 1.11 2010/01/24 00:02:35 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-serialport/ChangeLog,v 1.12 2010/04/27 05:51:00 graaff Exp $
29 +
30 +*ruby-serialport-1.0.3 (27 Apr 2010)
31 +
32 + 27 Apr 2010; Hans de Graaff <graaff@g.o>
33 + +ruby-serialport-1.0.3.ebuild:
34 + Version bump: bug fixes.
35
36 24 Jan 2010; Diego E. Pettenò <flameeyes@g.o>
37 ruby-serialport-1.0.1.ebuild:
38
39
40
41 1.1 dev-ruby/ruby-serialport/ruby-serialport-1.0.3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-serialport/ruby-serialport-1.0.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-serialport/ruby-serialport-1.0.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ruby-serialport-1.0.3.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-serialport/ruby-serialport-1.0.3.ebuild,v 1.1 2010/04/27 05:51:00 graaff Exp $
51
52 EAPI="2"
53
54 # jruby → uses native library
55 USE_RUBY="ruby18 ruby19"
56
57 RUBY_FAKEGEM_TASK_DOC=""
58 RUBY_FAKEGEM_TASK_TEST=""
59 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
60
61 RUBY_FAKEGEM_NAME=${PN/ruby-/}
62
63 inherit ruby-fakegem
64
65 DESCRIPTION="a library for serial port (rs232) access in ruby"
66 HOMEPAGE="http://rubyforge.org/projects/ruby-serialport/"
67
68 LICENSE="GPL-2"
69 SLOT="0"
70 KEYWORDS="~ia64 ~ppc ~x86"
71 IUSE=""
72
73 all_ruby_prepare() {
74 # Fix the miniterm script so that it might actually work, we'll
75 # install it as example.
76 sed -i -e 's:\.\./serialport.so:serialport:' test/miniterm.rb || die
77 }
78
79 each_ruby_configure() {
80 cd ext/native
81 ${RUBY} extconf.rb || die
82 }
83
84 each_ruby_compile() {
85 pushd ext/native &>/dev/null
86 emake || die
87 popd &>/dev/null
88
89 # Avoids the need for a specific install phase
90 cp ext/native/*.so lib/ || die "extension copy failed"
91 }
92
93 all_ruby_install() {
94 all_fakegem_install
95
96 docinto examples
97 # don't compress it
98 doins test/miniterm.rb || die
99 }