From: | "Hans de Graaff (graaff)" <graaff@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/ruby-prof: ChangeLog ruby-prof-0.7.6.ebuild |
Date: | Fri, 01 Jan 2010 09:16:22 |
Message-Id: | E1NQdcI-0007nz-5P@stork.gentoo.org |
1 | graaff 10/01/01 09:16:18 |
2 | |
3 | Modified: ChangeLog |
4 | Added: ruby-prof-0.7.6.ebuild |
5 | Log: |
6 | Version bump with test fixes for ruby 1.9. |
7 | (Portage version: 2.1.6.13/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.17 dev-ruby/ruby-prof/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-prof/ChangeLog?rev=1.17&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-prof/ChangeLog?rev=1.17&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-prof/ChangeLog?r1=1.16&r2=1.17 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-prof/ChangeLog,v |
19 | retrieving revision 1.16 |
20 | retrieving revision 1.17 |
21 | diff -u -r1.16 -r1.17 |
22 | --- ChangeLog 28 Dec 2009 23:42:27 -0000 1.16 |
23 | +++ ChangeLog 1 Jan 2010 09:16:17 -0000 1.17 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-ruby/ruby-prof |
26 | -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-prof/ChangeLog,v 1.16 2009/12/28 23:42:27 flameeyes Exp $ |
28 | +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-prof/ChangeLog,v 1.17 2010/01/01 09:16:17 graaff Exp $ |
30 | + |
31 | +*ruby-prof-0.7.6 (01 Jan 2010) |
32 | + |
33 | + 01 Jan 2010; Hans de Graaff <graaff@g.o> +ruby-prof-0.7.6.ebuild: |
34 | + Version bump with test fixes for ruby 1.9. |
35 | |
36 | *ruby-prof-0.7.5 (28 Dec 2009) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-ruby/ruby-prof/ruby-prof-0.7.6.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-prof/ruby-prof-0.7.6.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-prof/ruby-prof-0.7.6.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: ruby-prof-0.7.6.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 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.6.ebuild,v 1.1 2010/01/01 09:16:17 graaff Exp $ |
51 | |
52 | EAPI=2 |
53 | |
54 | # ruby19 → not compatible as of 0.7.5 (upstream-provided information) |
55 | # jruby → not compatible, since it uses an extension |
56 | USE_RUBY="ruby18" |
57 | |
58 | RUBY_FAKEGEM_EXTRADOC="README CHANGES" |
59 | RUBY_FAKEGEM_DOCDIR="doc" |
60 | |
61 | inherit ruby-fakegem |
62 | |
63 | DESCRIPTION="A module for profiling Ruby code" |
64 | HOMEPAGE="http://rubyforge.org/projects/ruby-prof/" |
65 | |
66 | LICENSE="BSD" |
67 | SLOT="0" |
68 | KEYWORDS="~amd64 ~ppc ~x86" |
69 | IUSE="" |
70 | |
71 | ruby_add_bdepend test virtual/ruby-test-unit |
72 | |
73 | all_ruby_prepare() { |
74 | # The thread testing in 0.7.5 and earlier versions is broken, it |
75 | # has to be tested for the next versions, since upstream is |
76 | # looking for a solution. The problem is that it's _very_ |
77 | # timing-dependent. |
78 | rm "${S}"/test/thread_test.rb \ |
79 | || die "unable to remove broken test unit" |
80 | sed -i -e '/thread_test/d' \ |
81 | test/test_suite.rb || die "unable to remove broken test reference" |
82 | } |
83 | |
84 | each_ruby_compile() { |
85 | pushd ext |
86 | ${RUBY} extconf.rb || die "extconf.rb failed" |
87 | # gem ships with prebuild files |
88 | emake clean || die "clean failed" |
89 | emake || die "build failed" |
90 | popd |
91 | |
92 | cp ext/*.so lib || die "copy of extension failed" |
93 | } |
94 | |
95 | all_ruby_install() { |
96 | all_fakegem_install |
97 | |
98 | for dir in examples rails rails/example rails/environment; do |
99 | docinto "$dir" |
100 | dodoc "$dir"/* || die "dodoc $dir failed" |
101 | done |
102 | } |