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/fxruby: ChangeLog fxruby-1.6.20.ebuild
Date: Fri, 25 Jun 2010 09:37:28
Message-Id: 20100625093717.882CA2CF5D@corvid.gentoo.org
1 graaff 10/06/25 09:37:17
2
3 Modified: ChangeLog
4 Added: fxruby-1.6.20.ebuild
5 Log:
6 Version bump. Convert to ruby-fakegem. Restrict tests for now since they fail with memory corruption and then hang.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.84 dev-ruby/fxruby/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fxruby/ChangeLog?rev=1.84&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fxruby/ChangeLog?rev=1.84&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fxruby/ChangeLog?r1=1.83&r2=1.84
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/ChangeLog,v
19 retrieving revision 1.83
20 retrieving revision 1.84
21 diff -u -r1.83 -r1.84
22 --- ChangeLog 22 May 2010 15:16:02 -0000 1.83
23 +++ ChangeLog 25 Jun 2010 09:37:17 -0000 1.84
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-ruby/fxruby
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/ChangeLog,v 1.83 2010/05/22 15:16:02 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/ChangeLog,v 1.84 2010/06/25 09:37:17 graaff Exp $
29 +
30 +*fxruby-1.6.20 (25 Jun 2010)
31 +
32 + 25 Jun 2010; Hans de Graaff <graaff@g.o> +fxruby-1.6.20.ebuild:
33 + Version bump. Convert to ruby-fakegem. Restrict tests for now since they
34 + fail with memory corruption and then hang. Drop alpha keyword due to new
35 + dev-ruby/hoe dependency, bug 325465.
36
37 22 May 2010; Diego E. Pettenò <flameeyes@g.o>
38 fxruby-1.6.18-r1.ebuild, fxruby-1.6.19.ebuild:
39
40
41
42 1.1 dev-ruby/fxruby/fxruby-1.6.20.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fxruby/fxruby-1.6.20.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fxruby/fxruby-1.6.20.ebuild?rev=1.1&content-type=text/plain
46
47 Index: fxruby-1.6.20.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/fxruby/fxruby-1.6.20.ebuild,v 1.1 2010/06/25 09:37:17 graaff Exp $
52
53 EAPI=2
54 USE_RUBY="ruby18"
55
56 RUBY_FAKEGEM_NAME="fxruby"
57
58 RUBY_FAKEGEM_TASK_DOC="docs"
59
60 RUBY_FAKEGEM_EXTRADOC="History.txt index.html README README.txt TODO"
61
62 inherit multilib ruby-fakegem
63
64
65 DESCRIPTION="Ruby language binding to the FOX GUI toolkit"
66 HOMEPAGE="http://www.fxruby.org/"
67
68 LICENSE="LGPL-2.1"
69 SLOT="1.6"
70 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
71 IUSE="examples doc"
72
73 DEPEND="x11-libs/fox:1.6
74 >=x11-libs/fxscintilla-1.62-r1"
75
76 # Tests fail with a memory corruption error. Restrict the tests for
77 # now. We did not run tests with older versions so we assume this is
78 # not a regression for now.
79 RESTRICT="test"
80 #ruby_add_bdepend "test? ( dev-ruby/ruby-opengl )"
81
82 ruby_add_bdepend "dev-ruby/hoe"
83
84 all_ruby_prepare() {
85 sed -i -e '/\[:compile\]/d' Rakefile || die
86 sed -i -e 's:libs, "fxscintilla":libs, "fxscintilla-1.6":g' \
87 ext/fox16/extconf.rb || die "sed error"
88 einfo "Avoid -O0 builds"
89 sed -i -e 's:-O0 -I./include:-I./include:g' \
90 ext/fox16/extconf.rb || die "Can't fix forced -O0"
91 }
92
93 each_ruby_configure() {
94 ${RUBY} -Cext/fox16 extconf.rb || die
95 }
96
97 each_ruby_compile() {
98 emake -Cext/fox16 || die
99 cp ext/fox16/fox16$(get_modname) lib/ || die
100 }
101
102 all_ruby_install() {
103 all_fakegem_install
104
105 if use examples; then
106 for dir in sample samples example examples; do
107 if [ -d ${dir} ] ; then
108 dodir /usr/share/doc/${PF}
109 cp -pPR ${dir} "${D}"/usr/share/doc/${PF} || die "cp failed"
110 fi
111 done
112 fi
113 }