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