1 |
flameeyes 08/12/01 09:10:22 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ruby-prof-0.7.1.ebuild |
5 |
Log: |
6 |
Version bump, with patch to work on x86-64. |
7 |
(Portage version: 2.2_rc16/cvs/Linux 2.6.27-gentoo-r4 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.10 dev-ruby/ruby-prof/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-prof/ChangeLog?rev=1.10&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-prof/ChangeLog?rev=1.10&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-prof/ChangeLog?r1=1.9&r2=1.10 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-prof/ChangeLog,v |
19 |
retrieving revision 1.9 |
20 |
retrieving revision 1.10 |
21 |
diff -u -r1.9 -r1.10 |
22 |
--- ChangeLog 13 Nov 2008 13:10:04 -0000 1.9 |
23 |
+++ ChangeLog 1 Dec 2008 09:10:22 -0000 1.10 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-ruby/ruby-prof |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-prof/ChangeLog,v 1.9 2008/11/13 13:10:04 flameeyes Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-prof/ChangeLog,v 1.10 2008/12/01 09:10:22 flameeyes Exp $ |
29 |
+ |
30 |
+*ruby-prof-0.7.1 (01 Dec 2008) |
31 |
+ |
32 |
+ 01 Dec 2008; Diego E. Pettenò <flameeyes@g.o> |
33 |
+ +files/ruby-prof-0.7.1-fix-amd64.patch, +ruby-prof-0.7.1.ebuild: |
34 |
+ Version bump, with patch to work on x86-64. |
35 |
|
36 |
13 Nov 2008; Diego Pettenò <flameeyes@g.o> ruby-prof-0.7.0.ebuild: |
37 |
Only disable the thread test instead of restricting tests, upstream is |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-ruby/ruby-prof/ruby-prof-0.7.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-prof/ruby-prof-0.7.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-prof/ruby-prof-0.7.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: ruby-prof-0.7.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-prof/ruby-prof-0.7.1.ebuild,v 1.1 2008/12/01 09:10:22 flameeyes Exp $ |
51 |
|
52 |
inherit ruby |
53 |
|
54 |
DESCRIPTION="A module for profiling Ruby code" |
55 |
HOMEPAGE="http://rubyforge.org/projects/ruby-prof/" |
56 |
SRC_URI="mirror://rubyforge/${PN}/${P}.tgz" |
57 |
|
58 |
LICENSE="BSD" |
59 |
SLOT="0" |
60 |
KEYWORDS="~amd64 ~ppc ~x86" |
61 |
IUSE="doc" |
62 |
|
63 |
RDEPEND="virtual/ruby" |
64 |
DEPEND="${RDEPEND} |
65 |
test? ( dev-ruby/rake ) |
66 |
doc? ( dev-ruby/rake )" |
67 |
|
68 |
USE_RUBY="ruby18" |
69 |
|
70 |
src_unpack() { |
71 |
ruby_src_unpack |
72 |
|
73 |
# The thread testing in 0.7.1 and earlier versions is broken, it |
74 |
# has to be tested for the next versions, since upstream is |
75 |
# looking for a solution. |
76 |
rm "${S}"/test/thread_test.rb \ |
77 |
|| die "unable to remove broken test unit" |
78 |
sed -i -e '/thread_test/d' \ |
79 |
test/test_suite.rb || die "unable to remove broken test reference" |
80 |
|
81 |
epatch "${FILESDIR}/${P}-fix-amd64.patch" |
82 |
} |
83 |
|
84 |
src_compile() { |
85 |
cd "${S}/ext" |
86 |
ruby_econf || die "ruby_econf failed" |
87 |
ruby_emake || die "ruby_emake failed" |
88 |
|
89 |
if use doc; then |
90 |
rake rdoc || die "rake rdoc failed" |
91 |
fi |
92 |
} |
93 |
|
94 |
src_test() { |
95 |
rake test || die "rake test failed" |
96 |
} |
97 |
|
98 |
src_install() { |
99 |
dobin bin/ruby-prof || die "dobin failed" |
100 |
|
101 |
cd "${S}"/lib |
102 |
doruby -r * || die "doruby failed" |
103 |
|
104 |
cd "${S}"/ext |
105 |
ruby_einstall || die "ruby_einstall failed" |
106 |
|
107 |
cd "${S}" |
108 |
|
109 |
dodoc README CHANGES || die "dodoc failed" |
110 |
|
111 |
if use doc; then |
112 |
dohtml -r doc/* || die "dohtml failed" |
113 |
fi |
114 |
|
115 |
|
116 |
for dir in examples rails rails/example rails/environment; do |
117 |
docinto "$dir" |
118 |
dodoc "$dir"/* || die "dodoc $dir failed" |
119 |
done |
120 |
} |