diff options
author | Hans de Graaff <graaff@gentoo.org> | 2009-08-24 19:56:23 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2009-08-24 19:56:23 +0000 |
commit | 75d9bc723c1979734a655118c6b997cc7b68d87c (patch) | |
tree | 5ebf08e2f1ff780472439582d5b043c68846318f /dev-ruby/ruby-prof | |
parent | Fix building with media-libs/freeglut-2.6* (bug #282573). (diff) | |
download | gentoo-2-75d9bc723c1979734a655118c6b997cc7b68d87c.tar.gz gentoo-2-75d9bc723c1979734a655118c6b997cc7b68d87c.tar.bz2 gentoo-2-75d9bc723c1979734a655118c6b997cc7b68d87c.zip |
Version bump.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/ruby-prof')
-rw-r--r-- | dev-ruby/ruby-prof/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/ruby-prof/ruby-prof-0.7.3.ebuild | 70 |
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 +} |