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: fxruby-1.6.29-r1.ebuild fxruby-1.6.29.ebuild ChangeLog
Date: Thu, 28 May 2015 05:05:21
Message-Id: 20150528050516.72908A04@oystercatcher.gentoo.org
1 graaff 15/05/28 05:05:16
2
3 Modified: fxruby-1.6.29.ebuild ChangeLog
4 Added: fxruby-1.6.29-r1.ebuild
5 Log:
6 Create stable candidate.
7
8 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.3 dev-ruby/fxruby/fxruby-1.6.29.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fxruby/fxruby-1.6.29.ebuild?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fxruby/fxruby-1.6.29.ebuild?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fxruby/fxruby-1.6.29.ebuild?r1=1.2&r2=1.3
16
17 Index: fxruby-1.6.29.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/fxruby-1.6.29.ebuild,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- fxruby-1.6.29.ebuild 20 Mar 2015 14:22:52 -0000 1.2
24 +++ fxruby-1.6.29.ebuild 28 May 2015 05:05:16 -0000 1.3
25 @@ -1,10 +1,10 @@
26 # Copyright 1999-2015 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/fxruby-1.6.29.ebuild,v 1.2 2015/03/20 14:22:52 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/fxruby-1.6.29.ebuild,v 1.3 2015/05/28 05:05:16 graaff Exp $
30
31 EAPI=5
32 # ruby22 -> fails tests
33 -USE_RUBY="ruby19 ruby20 ruby21"
34 +USE_RUBY="ruby19 ruby20"
35
36 RUBY_FAKEGEM_NAME="fxruby"
37
38
39
40
41 1.120 dev-ruby/fxruby/ChangeLog
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fxruby/ChangeLog?rev=1.120&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fxruby/ChangeLog?rev=1.120&content-type=text/plain
45 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fxruby/ChangeLog?r1=1.119&r2=1.120
46
47 Index: ChangeLog
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/ChangeLog,v
50 retrieving revision 1.119
51 retrieving revision 1.120
52 diff -u -r1.119 -r1.120
53 --- ChangeLog 20 Mar 2015 14:22:52 -0000 1.119
54 +++ ChangeLog 28 May 2015 05:05:16 -0000 1.120
55 @@ -1,6 +1,12 @@
56 # ChangeLog for dev-ruby/fxruby
57 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
58 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/ChangeLog,v 1.119 2015/03/20 14:22:52 graaff Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/ChangeLog,v 1.120 2015/05/28 05:05:16 graaff Exp $
60 +
61 +*fxruby-1.6.29-r1 (28 May 2015)
62 +
63 + 28 May 2015; Hans de Graaff <graaff@g.o> fxruby-1.6.29.ebuild,
64 + +fxruby-1.6.29-r1.ebuild:
65 + Create stable candidate.
66
67 20 Mar 2015; Hans de Graaff <graaff@g.o> fxruby-1.6.29.ebuild:
68 Document problems with ruby22.
69
70
71
72 1.1 dev-ruby/fxruby/fxruby-1.6.29-r1.ebuild
73
74 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fxruby/fxruby-1.6.29-r1.ebuild?rev=1.1&view=markup
75 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fxruby/fxruby-1.6.29-r1.ebuild?rev=1.1&content-type=text/plain
76
77 Index: fxruby-1.6.29-r1.ebuild
78 ===================================================================
79 # Copyright 1999-2015 Gentoo Foundation
80 # Distributed under the terms of the GNU General Public License v2
81 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/fxruby-1.6.29-r1.ebuild,v 1.1 2015/05/28 05:05:16 graaff Exp $
82
83 EAPI=5
84 # ruby22 -> fails tests
85 USE_RUBY="ruby19 ruby20 ruby21"
86
87 RUBY_FAKEGEM_NAME="fxruby"
88
89 RUBY_FAKEGEM_TASK_DOC=""
90
91 RUBY_FAKEGEM_EXTRADOC="History.txt index.html README.rdoc TODO"
92
93 inherit multilib virtualx ruby-fakegem toolchain-funcs
94
95 DESCRIPTION="Ruby language binding to the FOX GUI toolkit"
96 HOMEPAGE="http://www.fxruby.org/"
97
98 LICENSE="LGPL-2.1"
99 SLOT="1.6"
100 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
101 IUSE="examples doc"
102
103 CDEPEND="x11-libs/fox:1.6 >=x11-libs/fxscintilla-1.62-r1"
104 DEPEND="${DEPEND} ${CDEPEND} dev-lang/swig"
105 RDEPEND="${RDEPEND} ${CDEPEND}"
106
107 ruby_add_bdepend "test? ( dev-ruby/ruby-opengl )"
108
109 ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
110
111 all_ruby_prepare() {
112 sed -i -e '/\[:compile\]/d' Rakefile || die
113 einfo "Avoid -O0 builds"
114 sed -i -e 's:-O0 -I:-I:' \
115 ext/fox16_c/extconf.rb || die "Can't fix forced -O0"
116
117 # Use a more modern swig.
118 sed -i -e 's/swig-1.3.22/swig/g' Rakefile || die
119
120 # Remove failing tests. We did not run tests before so this is not a
121 # regression for now.
122 rm test/TC_FXFileStream.rb test/TC_FXId.rb test/TC_FXMainWindow.rb test/TC_FXMaterial.rb || die
123 }
124
125 each_ruby_configure() {
126 ${RUBY} -Cext/fox16_c extconf.rb || die
127 }
128
129 each_ruby_compile() {
130 CXX=$(tc-getCXX) emake V=1 -Cext/fox16_c || die
131 cp ext/fox16_c/fox16_c$(get_modname) lib/ || die
132 }
133
134 all_ruby_compile() {
135 all_fakegem_compile
136
137 rdoc --main rdoc-sources/README.rdoc --exclude ext/fox16_c --exclude "/aliases|kwargs|missingdep|responder/" || die
138 }
139
140 each_ruby_test() {
141 VIRTUALX_COMMAND=${RUBY} virtualmake -S testrb -Ilib test/TC_*.rb || die
142 }
143
144 all_ruby_install() {
145 all_fakegem_install
146
147 if use examples; then
148 for dir in sample samples example examples; do
149 if [ -d ${dir} ] ; then
150 dodir /usr/share/doc/${PF}
151 cp -pPR ${dir} "${D}"/usr/share/doc/${PF} || die "cp failed"
152 fi
153 done
154 fi
155 }