1 |
graaff 11/04/30 07:13:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ruby-prof-0.10.6.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.1.9.42/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.31 dev-ruby/ruby-prof/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-prof/ChangeLog?rev=1.31&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-prof/ChangeLog?rev=1.31&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-prof/ChangeLog?r1=1.30&r2=1.31 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-prof/ChangeLog,v |
20 |
retrieving revision 1.30 |
21 |
retrieving revision 1.31 |
22 |
diff -u -r1.30 -r1.31 |
23 |
--- ChangeLog 24 Apr 2011 08:04:05 -0000 1.30 |
24 |
+++ ChangeLog 30 Apr 2011 07:13:45 -0000 1.31 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-ruby/ruby-prof |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-prof/ChangeLog,v 1.30 2011/04/24 08:04:05 graaff Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-prof/ChangeLog,v 1.31 2011/04/30 07:13:45 graaff Exp $ |
30 |
+ |
31 |
+*ruby-prof-0.10.6 (30 Apr 2011) |
32 |
+ |
33 |
+ 30 Apr 2011; Hans de Graaff <graaff@g.o> +ruby-prof-0.10.6.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
*ruby-prof-0.10.2 (24 Apr 2011) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-ruby/ruby-prof/ruby-prof-0.10.6.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-prof/ruby-prof-0.10.6.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-prof/ruby-prof-0.10.6.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: ruby-prof-0.10.6.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 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.10.6.ebuild,v 1.1 2011/04/30 07:13:45 graaff Exp $ |
51 |
|
52 |
EAPI=4 |
53 |
|
54 |
# jruby → not compatible, since it uses an extension, but there is a bug |
55 |
# open for it: https://github.com/rdp/ruby-prof/issues/36 |
56 |
# ree18 fails tests: https://github.com/rdp/ruby-prof/issues/53. |
57 |
|
58 |
USE_RUBY="ruby18 ruby19" |
59 |
|
60 |
RUBY_FAKEGEM_EXTRADOC="README.rdoc CHANGES" |
61 |
RUBY_FAKEGEM_DOCDIR="doc" |
62 |
|
63 |
inherit multilib ruby-fakegem |
64 |
|
65 |
DESCRIPTION="A module for profiling Ruby code" |
66 |
HOMEPAGE="https://github.com/rdp/ruby-prof" |
67 |
SRC_URI="https://github.com/rdp/${PN}/tarball/${PV} -> ${P}.tgz" |
68 |
RUBY_S="rdp-${PN}-*" |
69 |
|
70 |
LICENSE="BSD" |
71 |
SLOT="0" |
72 |
KEYWORDS="~amd64 ~ppc ~x86" |
73 |
IUSE="" |
74 |
|
75 |
ruby_add_bdepend "test? ( virtual/ruby-test-unit )" |
76 |
|
77 |
all_ruby_prepare() { |
78 |
# The thread testing in 0.8.1 and earlier versions is broken, it |
79 |
# has to be tested for the next versions, since upstream is |
80 |
# looking for a solution. The problem is that it's _very_ |
81 |
# timing-dependent. |
82 |
# rm "${S}"/test/thread_test.rb \ |
83 |
# || die "unable to remove broken test unit" |
84 |
# sed -i -e '/thread_test/d' \ |
85 |
# test/test_suite.rb || die "unable to remove broken test reference" |
86 |
|
87 |
# We install the shared object in lib, not ext. |
88 |
sed -i -e 's#../ext/ruby_prof#../lib/ruby_prof#' lib/ruby-prof.rb |
89 |
} |
90 |
|
91 |
each_ruby_prepare() { |
92 |
case ${RUBY} in |
93 |
*ruby19) |
94 |
# On ruby 1.9 this test fails badly, so we disable it |
95 |
# until upstream can fix the related bug: |
96 |
# http://redmine.ruby-lang.org/issues/show/2012 |
97 |
sed -i -e '/^ def test_flat_string_with_numbers/,/^ end/ s:^:#:' \ |
98 |
test/printers_test.rb || die "Unable to disable test_flat_string_with_numbers" |
99 |
;; |
100 |
esac |
101 |
} |
102 |
|
103 |
each_ruby_configure() { |
104 |
${RUBY} -Cext/ruby_prof extconf.rb || die "extconf.rb failed" |
105 |
} |
106 |
|
107 |
each_ruby_compile() { |
108 |
emake -Cext/ruby_prof || die "build failed" |
109 |
|
110 |
mkdir lib/ruby_prof || die "unable to create directory for shared object" |
111 |
cp ext/ruby_prof/*$(get_modname) lib/ruby_prof || die "copy of extension failed" |
112 |
} |
113 |
|
114 |
all_ruby_install() { |
115 |
all_fakegem_install |
116 |
|
117 |
for dir in examples rails rails/example rails/environment; do |
118 |
docinto "$dir" |
119 |
dodoc -r "$dir"/* || die "dodoc $dir failed" |
120 |
done |
121 |
} |