Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/ruby-tcpwrap: ChangeLog ruby-tcpwrap-0.6-r1.ebuild
Date: Fri, 28 May 2010 15:58:51
Message-Id: 20100528155843.168F52CF37@corvid.gentoo.org
1 matsuu 10/05/28 15:58:42
2
3 Modified: ChangeLog
4 Added: ruby-tcpwrap-0.6-r1.ebuild
5 Log:
6 Convert to ruby-ng.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.16 dev-ruby/ruby-tcpwrap/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-tcpwrap/ChangeLog?rev=1.16&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-tcpwrap/ChangeLog?rev=1.16&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-tcpwrap/ChangeLog?r1=1.15&r2=1.16
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-tcpwrap/ChangeLog,v
19 retrieving revision 1.15
20 retrieving revision 1.16
21 diff -u -r1.15 -r1.16
22 --- ChangeLog 24 Dec 2009 17:22:02 -0000 1.15
23 +++ ChangeLog 28 May 2010 15:58:42 -0000 1.16
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-ruby/ruby-tcpwrap
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-tcpwrap/ChangeLog,v 1.15 2009/12/24 17:22:02 graaff Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-tcpwrap/ChangeLog,v 1.16 2010/05/28 15:58:42 matsuu Exp $
30 +
31 +*ruby-tcpwrap-0.6-r1 (27 May 2010)
32 +
33 + 27 May 2010; MATSUU Takuto <matsuu@g.o>
34 + +ruby-tcpwrap-0.6-r1.ebuild, +files/ruby-tcpwrap-0.6-ruby19.patch:
35 + Convert to ruby-ng.
36
37 24 Dec 2009; Hans de Graaff <graaff@g.o> ruby-tcpwrap-0.6.ebuild:
38 Remove obsolete virtual/ruby dependency.
39
40
41
42 1.1 dev-ruby/ruby-tcpwrap/ruby-tcpwrap-0.6-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-tcpwrap/ruby-tcpwrap-0.6-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-tcpwrap/ruby-tcpwrap-0.6-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ruby-tcpwrap-0.6-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-tcpwrap/ruby-tcpwrap-0.6-r1.ebuild,v 1.1 2010/05/28 15:58:42 matsuu Exp $
52
53 EAPI="2"
54 USE_RUBY="ruby18 ruby19 ree18"
55
56 inherit ruby-ng
57
58 DESCRIPTION="A TCP wrappers library for Ruby"
59 HOMEPAGE="http://raa.ruby-lang.org/list.rhtml?name=ruby-tcpwrap"
60 SRC_URI="http://shugo.net/archive/ruby-tcpwrap/${P}.tar.gz"
61
62 LICENSE="BSD"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
65 IUSE=""
66
67 DEPEND="net-libs/libident
68 sys-apps/tcp-wrappers"
69 RDEPEND="${DEPEND}"
70
71 S="${WORKDIR}/${PN}"
72
73 RUBY_PATCHES=( "${P}-ruby19.patch" )
74
75 each_ruby_configure() {
76 ${RUBY} extconf.rb || die "extconf.rb failed"
77 }
78
79 each_ruby_compile() {
80 # We have injected --no-undefined in Ruby as a safety precaution
81 # against broken ebuilds, but the Ruby-Gnome bindings
82 # unfortunately rely on the lazy load of other extensions; see bug
83 # #320545.
84 find . -name Makefile -print0 | xargs -0 \
85 sed -i -e 's:-Wl,--no-undefined ::' || die "--no-undefined removal failed"
86
87 emake || die "emake failed"
88 }
89
90 each_ruby_install() {
91 emake DESTDIR="${D}" install || die "make install failed"
92 }
93
94 all_ruby_install() {
95 dodoc README* || die
96 dohtml doc/* || die
97
98 docinto sample
99 dodoc sample/* || die
100 }