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