From: | "Diego Petteno (flameeyes)" <flameeyes@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/ruby-prof: ChangeLog ruby-prof-0.7.5.ebuild |
Date: | Mon, 28 Dec 2009 23:42:30 |
Message-Id: | E1NPPEJ-0003pi-OS@stork.gentoo.org |
1 | flameeyes 09/12/28 23:42:27 |
2 | |
3 | Modified: ChangeLog |
4 | Added: ruby-prof-0.7.5.ebuild |
5 | Log: |
6 | Version bump and port to fakegem. |
7 | (Portage version: 2.2_rc61/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.16 dev-ruby/ruby-prof/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-prof/ChangeLog?rev=1.16&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-prof/ChangeLog?rev=1.16&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-prof/ChangeLog?r1=1.15&r2=1.16 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-prof/ChangeLog,v |
19 | retrieving revision 1.15 |
20 | retrieving revision 1.16 |
21 | diff -u -r1.15 -r1.16 |
22 | --- ChangeLog 24 Dec 2009 16:59:22 -0000 1.15 |
23 | +++ ChangeLog 28 Dec 2009 23:42:27 -0000 1.16 |
24 | @@ -1,6 +1,12 @@ |
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.15 2009/12/24 16:59:22 graaff Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-prof/ChangeLog,v 1.16 2009/12/28 23:42:27 flameeyes Exp $ |
29 | + |
30 | +*ruby-prof-0.7.5 (28 Dec 2009) |
31 | + |
32 | + 28 Dec 2009; Diego E. Pettenò <flameeyes@g.o> |
33 | + +ruby-prof-0.7.5.ebuild: |
34 | + Version bump and port to fakegem. |
35 | |
36 | 24 Dec 2009; Hans de Graaff <graaff@g.o> ruby-prof-0.7.3.ebuild: |
37 | Remove obsolete virtual/ruby dependency. |
38 | |
39 | |
40 | |
41 | 1.1 dev-ruby/ruby-prof/ruby-prof-0.7.5.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-prof/ruby-prof-0.7.5.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-prof/ruby-prof-0.7.5.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: ruby-prof-0.7.5.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 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.5.ebuild,v 1.1 2009/12/28 23:42:27 flameeyes 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 | } |