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/ruby-tcpwrap: ruby-tcpwrap-0.6-r2.ebuild ChangeLog
Date: Wed, 30 Oct 2013 04:21:32
Message-Id: 20131030042126.EB06620047@flycatcher.gentoo.org
1 mrueg 13/10/30 04:21:26
2
3 Modified: ChangeLog
4 Added: ruby-tcpwrap-0.6-r2.ebuild
5 Log:
6 Add ruby20 target.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
9
10 Revision Changes Path
11 1.22 dev-ruby/ruby-tcpwrap/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-tcpwrap/ChangeLog?rev=1.22&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-tcpwrap/ChangeLog?rev=1.22&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-tcpwrap/ChangeLog?r1=1.21&r2=1.22
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-tcpwrap/ChangeLog,v
20 retrieving revision 1.21
21 retrieving revision 1.22
22 diff -u -r1.21 -r1.22
23 --- ChangeLog 22 Sep 2012 06:24:11 -0000 1.21
24 +++ ChangeLog 30 Oct 2013 04:21:26 -0000 1.22
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/ruby-tcpwrap
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-tcpwrap/ChangeLog,v 1.21 2012/09/22 06:24:11 graaff Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-tcpwrap/ChangeLog,v 1.22 2013/10/30 04:21:26 mrueg Exp $
31 +
32 +*ruby-tcpwrap-0.6-r2 (30 Oct 2013)
33 +
34 + 30 Oct 2013; Manuel RĂ¼ger <mrueg@g.o> +ruby-tcpwrap-0.6-r2.ebuild:
35 + Add ruby20 target.
36
37 22 Sep 2012; Hans de Graaff <graaff@g.o> -ruby-tcpwrap-0.6.ebuild:
38 Cleanup.
39
40
41
42 1.1 dev-ruby/ruby-tcpwrap/ruby-tcpwrap-0.6-r2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-tcpwrap/ruby-tcpwrap-0.6-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-tcpwrap/ruby-tcpwrap-0.6-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ruby-tcpwrap-0.6-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2013 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-r2.ebuild,v 1.1 2013/10/30 04:21:26 mrueg Exp $
52
53 EAPI=5
54 USE_RUBY="ruby18 ruby19 ruby20"
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="~amd64 ~hppa ~mips ~ppc ~x86"
65 IUSE=""
66
67 DEPEND+=" net-libs/libident
68 sys-apps/tcp-wrappers"
69
70 RDEPEND+=" net-libs/libident
71 sys-apps/tcp-wrappers"
72
73 RUBY_S="${PN}"
74 RUBY_PATCHES=( "${P}-ruby19.patch" )
75
76 each_ruby_configure() {
77 ${RUBY} extconf.rb || die "extconf.rb failed"
78 }
79
80 each_ruby_compile() {
81 # We have injected --no-undefined in Ruby as a safety precaution
82 # against broken ebuilds, but the Ruby-Gnome bindings
83 # unfortunately rely on the lazy load of other extensions; see bug
84 # #320545.
85 find . -name Makefile -print0 | xargs -0 \
86 sed -i -e 's:-Wl,--no-undefined ::' || die "--no-undefined removal failed"
87
88 emake V=1
89 }
90
91 each_ruby_install() {
92 emake DESTDIR="${D}" install V=1
93 }
94
95 all_ruby_install() {
96 dodoc README*
97 dohtml doc/*
98
99 docinto sample
100 dodoc sample/*
101 }