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.3.1.ebuild
Date: Sun, 27 Jul 2014 06:56:45
Message-Id: 20140727065642.0261E2004E@flycatcher.gentoo.org
1 graaff 14/07/27 06:56:41
2
3 Modified: ChangeLog
4 Added: serialport-1.3.1.ebuild
5 Log:
6 Version bump. Add ruby21.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.15 dev-ruby/serialport/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/serialport/ChangeLog?rev=1.15&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/serialport/ChangeLog?rev=1.15&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/serialport/ChangeLog?r1=1.14&r2=1.15
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/serialport/ChangeLog,v
20 retrieving revision 1.14
21 retrieving revision 1.15
22 diff -u -r1.14 -r1.15
23 --- ChangeLog 24 Apr 2014 16:45:53 -0000 1.14
24 +++ ChangeLog 27 Jul 2014 06:56:41 -0000 1.15
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/serialport
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/serialport/ChangeLog,v 1.14 2014/04/24 16:45:53 mrueg Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/serialport/ChangeLog,v 1.15 2014/07/27 06:56:41 graaff Exp $
30 +
31 +*serialport-1.3.1 (27 Jul 2014)
32 +
33 + 27 Jul 2014; Hans de Graaff <graaff@g.o> +serialport-1.3.1.ebuild:
34 + Version bump. Add ruby21.
35
36 24 Apr 2014; Manuel Rüger <mrueg@g.o> serialport-1.3.0.ebuild:
37 Remove ruby18 support.
38
39
40
41 1.1 dev-ruby/serialport/serialport-1.3.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/serialport/serialport-1.3.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/serialport/serialport-1.3.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: serialport-1.3.1.ebuild
47 ===================================================================
48 # Copyright 1999-2014 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.3.1.ebuild,v 1.1 2014/07/27 06:56:41 graaff Exp $
51
52 EAPI=5
53
54 # jruby → uses native library
55 USE_RUBY="ruby19 ruby20 ruby21"
56
57 RUBY_FAKEGEM_TASK_DOC=""
58 RUBY_FAKEGEM_TASK_TEST=""
59 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
60
61 inherit multilib 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="~amd64 ~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 || die
79 ${RUBY} extconf.rb || die
80 }
81
82 each_ruby_compile() {
83 pushd ext/native &>/dev/null
84 emake V=1
85 popd &>/dev/null
86
87 # Avoids the need for a specific install phase
88 cp ext/native/*$(get_modname) 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
97 }