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.4.ebuild ChangeLog
Date: Sun, 01 Aug 2010 07:02:48
Message-Id: 20100801061932.478AC2CE15@corvid.gentoo.org
1 graaff 10/08/01 06:19:31
2
3 Modified: ChangeLog
4 Added: ruby-serialport-1.0.4.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.17 dev-ruby/ruby-serialport/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-serialport/ChangeLog?rev=1.17&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-serialport/ChangeLog?rev=1.17&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-serialport/ChangeLog?r1=1.16&r2=1.17
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-serialport/ChangeLog,v
19 retrieving revision 1.16
20 retrieving revision 1.17
21 diff -u -r1.16 -r1.17
22 --- ChangeLog 7 Jun 2010 18:00:58 -0000 1.16
23 +++ ChangeLog 1 Aug 2010 06:19:31 -0000 1.17
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.16 2010/06/07 18:00:58 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-serialport/ChangeLog,v 1.17 2010/08/01 06:19:31 graaff Exp $
29 +
30 +*ruby-serialport-1.0.4 (01 Aug 2010)
31 +
32 + 01 Aug 2010; Hans de Graaff <graaff@g.o>
33 + +ruby-serialport-1.0.4.ebuild:
34 + Version bump.
35
36 07 Jun 2010; Diego E. Pettenò <flameeyes@g.o>
37 ruby-serialport-1.0.3.ebuild, ruby-serialport-1.0.3-r1.ebuild:
38
39
40
41 1.1 dev-ruby/ruby-serialport/ruby-serialport-1.0.4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-serialport/ruby-serialport-1.0.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-serialport/ruby-serialport-1.0.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ruby-serialport-1.0.4.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.4.ebuild,v 1.1 2010/08/01 06:19:31 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 # don't compress it
97 insinto /usr/share/doc/${PF}/examples
98 doins test/miniterm.rb || die
99 }