Gentoo Archives: gentoo-commits

From: "Caleb Tennis (caleb)" <caleb@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/IceRuby: IceRuby-3.2.1-r1.ebuild ChangeLog
Date: Tue, 25 Sep 2007 19:02:09
Message-Id: E1IaFXU-0002PT-Gx@stork.gentoo.org
1 caleb 07/09/25 18:53:44
2
3 Modified: IceRuby-3.2.1-r1.ebuild ChangeLog
4 Log:
5 Fix src_test to work properly
6 (Portage version: 2.1.3.9)
7
8 Revision Changes Path
9 1.3 dev-ruby/IceRuby/IceRuby-3.2.1-r1.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/IceRuby/IceRuby-3.2.1-r1.ebuild?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/IceRuby/IceRuby-3.2.1-r1.ebuild?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/IceRuby/IceRuby-3.2.1-r1.ebuild?r1=1.2&r2=1.3
14
15 Index: IceRuby-3.2.1-r1.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/IceRuby/IceRuby-3.2.1-r1.ebuild,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- IceRuby-3.2.1-r1.ebuild 25 Sep 2007 12:58:47 -0000 1.2
22 +++ IceRuby-3.2.1-r1.ebuild 25 Sep 2007 18:53:44 -0000 1.3
23 @@ -1,12 +1,13 @@
24 # Copyright 1999-2007 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/IceRuby/IceRuby-3.2.1-r1.ebuild,v 1.2 2007/09/25 12:58:47 caleb Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/IceRuby/IceRuby-3.2.1-r1.ebuild,v 1.3 2007/09/25 18:53:44 caleb Exp $
28
29 inherit eutils
30
31 DESCRIPTION="ICE middleware C++ bindings"
32 HOMEPAGE="http://www.zeroc.com/index.html"
33 -SRC_URI="http://www.zeroc.com/download/Ice/3.2/${P}.tar.gz"
34 +SRC_URI="http://www.zeroc.com/download/Ice/3.2/${P}.tar.gz
35 + test? ( http://www.zeroc.com/download/Ice/3.2/${P/Ruby/}.tar.gz )"
36
37 LICENSE="GPL-2"
38 SLOT="0"
39 @@ -20,7 +21,7 @@
40 test? ( >=dev-lang/python-2.4 )"
41
42 src_unpack() {
43 - unpack "${A}"
44 + unpack "${P}.tar.gz"
45 cd "${S}"
46
47 epatch "${FILESDIR}/${P}-Makefile.patch"
48 @@ -56,5 +57,26 @@
49 }
50
51 src_test() {
52 - emake test || die "Test failed"
53 + ICEFILE="${P/Ruby/}.tar.gz"
54 + ICEWORKDIR="${WORKDIR}/${P/Ruby/}"
55 +
56 + # Unpack Ice
57 + cd "${WORKDIR}"
58 + unpack "${ICEFILE}"
59 +
60 + # Patch Ice so we only build the necessary parts
61 + cd "${ICEWORKDIR}"
62 + epatch ${FILESDIR}/testing-Makefile.patch
63 +
64 + # Build Ice core libraries
65 + cd "${ICEWORKDIR}/src"
66 + emake || die "Ice test build failed"
67 +
68 + # Build the testing binaries
69 + cd "${ICEWORKDIR}/test"
70 + emake || die "Ice test build died"
71 +
72 + # Run IceRuby's actual tests
73 + cd "${S}"
74 + ICE_HOME=${ICEWORKDIR} emake test || die "Ruby test failed"
75 }
76
77
78
79 1.11 dev-ruby/IceRuby/ChangeLog
80
81 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/IceRuby/ChangeLog?rev=1.11&view=markup
82 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/IceRuby/ChangeLog?rev=1.11&content-type=text/plain
83 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/IceRuby/ChangeLog?r1=1.10&r2=1.11
84
85 Index: ChangeLog
86 ===================================================================
87 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/IceRuby/ChangeLog,v
88 retrieving revision 1.10
89 retrieving revision 1.11
90 diff -u -r1.10 -r1.11
91 --- ChangeLog 25 Sep 2007 12:58:47 -0000 1.10
92 +++ ChangeLog 25 Sep 2007 18:53:44 -0000 1.11
93 @@ -1,6 +1,10 @@
94 # ChangeLog for dev-ruby/IceRuby
95 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
96 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/IceRuby/ChangeLog,v 1.10 2007/09/25 12:58:47 caleb Exp $
97 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/IceRuby/ChangeLog,v 1.11 2007/09/25 18:53:44 caleb Exp $
98 +
99 + 25 Sep 2007; Caleb Tennis <caleb@g.o>
100 + +files/testing-Makefile.patch, IceRuby-3.2.1-r1.ebuild:
101 + Fix src_test to work properly
102
103 25 Sep 2007; Caleb Tennis <caleb@g.o> IceRuby-3.2.1-r1.ebuild:
104 Fix up quoting a bit
105
106
107
108 --
109 gentoo-commits@g.o mailing list