summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2009-08-24 20:00:51 +0000
committerHans de Graaff <graaff@gentoo.org>2009-08-24 20:00:51 +0000
commit1c92ae228c34f32ec43fdf3217e753b5ebe679be (patch)
tree7d883797509d2328472e2261284c1cb49adb7f15 /dev-ruby/ruby-prof
parentFix building with media-libs/freeglut-2.6* (bug #282573). (diff)
downloadhistorical-1c92ae228c34f32ec43fdf3217e753b5ebe679be.tar.gz
historical-1c92ae228c34f32ec43fdf3217e753b5ebe679be.tar.bz2
historical-1c92ae228c34f32ec43fdf3217e753b5ebe679be.zip
Version bump.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/ruby-prof')
-rw-r--r--dev-ruby/ruby-prof/ChangeLog7
-rw-r--r--dev-ruby/ruby-prof/ruby-prof-0.7.3.ebuild70
2 files changed, 76 insertions, 1 deletions
diff --git a/dev-ruby/ruby-prof/ChangeLog b/dev-ruby/ruby-prof/ChangeLog
index d88843b8b859..0161b1cc15c7 100644
--- a/dev-ruby/ruby-prof/ChangeLog
+++ b/dev-ruby/ruby-prof/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/ruby-prof
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-prof/ChangeLog,v 1.12 2009/05/31 07:30:52 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-prof/ChangeLog,v 1.13 2009/08/24 19:56:23 graaff Exp $
+
+*ruby-prof-0.7.3 (24 Aug 2009)
+
+ 24 Aug 2009; Hans de Graaff <graaff@gentoo.org> +ruby-prof-0.7.3.ebuild:
+ Version bump with our glibc2.8 patch applied.
31 May 2009; Hans de Graaff <graaff@gentoo.org> -ruby-prof-0.6.0.ebuild:
Remove old version.
diff --git a/dev-ruby/ruby-prof/ruby-prof-0.7.3.ebuild b/dev-ruby/ruby-prof/ruby-prof-0.7.3.ebuild
new file mode 100644
index 000000000000..316d5d82feb9
--- /dev/null
+++ b/dev-ruby/ruby-prof/ruby-prof-0.7.3.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+inherit ruby
+
+DESCRIPTION="A module for profiling Ruby code"
+HOMEPAGE="http://rubyforge.org/projects/ruby-prof/"
+SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc test"
+
+RDEPEND="virtual/ruby"
+DEPEND="${RDEPEND}
+ test? ( dev-ruby/rake )
+ doc? ( dev-ruby/rake )"
+
+USE_RUBY="ruby18"
+
+src_unpack() {
+ ruby_src_unpack
+
+ # The thread testing in 0.7.2 and earlier versions is broken, it
+ # has to be tested for the next versions, since upstream is
+ # looking for a solution.
+ rm "${S}"/test/thread_test.rb \
+ || die "unable to remove broken test unit"
+ sed -i -e '/thread_test/d' \
+ test/test_suite.rb || die "unable to remove broken test reference"
+}
+
+src_compile() {
+ cd "${S}/ext"
+ ruby_econf || die "ruby_econf failed"
+ ruby_emake || die "ruby_emake failed"
+
+ if use doc; then
+ rake rdoc || die "rake rdoc failed"
+ fi
+}
+
+src_test() {
+ rake test || die "rake test failed"
+}
+
+src_install() {
+ dobin bin/ruby-prof || die "dobin failed"
+
+ cd "${S}"/lib
+ doruby -r * || die "doruby failed"
+
+ cd "${S}"/ext
+ ruby_einstall || die "ruby_einstall failed"
+
+ cd "${S}"
+
+ dodoc README CHANGES || die "dodoc failed"
+
+ if use doc; then
+ dohtml -r doc/* || die "dohtml failed"
+ fi
+
+ for dir in examples rails rails/example rails/environment; do
+ docinto "$dir"
+ dodoc "$dir"/* || die "dodoc $dir failed"
+ done
+}