Gentoo Archives: gentoo-commits

From: "Manuel Rueger (mrueg)" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/serialport: serialport-1.3.0.ebuild ChangeLog serialport-1.2.1.ebuild
Date: Tue, 26 Nov 2013 01:46:15
Message-Id: 20131126014609.0BBF02004B@flycatcher.gentoo.org
1 mrueg 13/11/26 01:46:08
2
3 Modified: ChangeLog
4 Added: serialport-1.3.0.ebuild
5 Removed: serialport-1.2.1.ebuild
6 Log:
7 Version bump.
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
10
11 Revision Changes Path
12 1.10 dev-ruby/serialport/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/serialport/ChangeLog?rev=1.10&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/serialport/ChangeLog?rev=1.10&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/serialport/ChangeLog?r1=1.9&r2=1.10
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/serialport/ChangeLog,v
21 retrieving revision 1.9
22 retrieving revision 1.10
23 diff -u -r1.9 -r1.10
24 --- ChangeLog 5 Nov 2013 13:05:53 -0000 1.9
25 +++ ChangeLog 26 Nov 2013 01:46:08 -0000 1.10
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-ruby/serialport
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/serialport/ChangeLog,v 1.9 2013/11/05 13:05:53 mrueg Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/serialport/ChangeLog,v 1.10 2013/11/26 01:46:08 mrueg Exp $
31 +
32 +*serialport-1.3.0 (26 Nov 2013)
33 +
34 + 26 Nov 2013; Manuel Rüger <mrueg@g.o> +serialport-1.3.0.ebuild,
35 + -serialport-1.2.1.ebuild:
36 + Version bump.
37
38 *serialport-1.2.3 (05 Nov 2013)
39
40
41
42
43 1.1 dev-ruby/serialport/serialport-1.3.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/serialport/serialport-1.3.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/serialport/serialport-1.3.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: serialport-1.3.0.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/serialport/serialport-1.3.0.ebuild,v 1.1 2013/11/26 01:46:08 mrueg Exp $
53
54 EAPI=5
55
56 # jruby → uses native library
57 USE_RUBY="ruby18 ruby19 ruby20"
58
59 RUBY_FAKEGEM_TASK_DOC=""
60 RUBY_FAKEGEM_TASK_TEST=""
61 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
62
63 inherit multilib 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="~amd64 ~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 || die
81 ${RUBY} extconf.rb || die
82 }
83
84 each_ruby_compile() {
85 pushd ext/native &>/dev/null
86 emake V=1
87 popd &>/dev/null
88
89 # Avoids the need for a specific install phase
90 cp ext/native/*$(get_modname) 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
99 }