summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-23 00:40:24 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-23 00:40:24 +0000
commitf94a0b3dac1f1db8470977972ce9936fdb8bf96f (patch)
treed7c7ebf995ad7f2a2b35ffab9cb0df3215cfee4a /dev-ruby/ruby-prof
parentVersion bump. Fixes bug #298270 reported by Arfrever. (diff)
downloadhistorical-f94a0b3dac1f1db8470977972ce9936fdb8bf96f.tar.gz
historical-f94a0b3dac1f1db8470977972ce9936fdb8bf96f.tar.bz2
historical-f94a0b3dac1f1db8470977972ce9936fdb8bf96f.zip
Version bump, one further fix is needed to the testsuite for it to work.
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/ruby-prof')
-rw-r--r--dev-ruby/ruby-prof/ChangeLog8
-rw-r--r--dev-ruby/ruby-prof/Manifest10
-rw-r--r--dev-ruby/ruby-prof/ruby-prof-0.7.10.ebuild56
3 files changed, 69 insertions, 5 deletions
diff --git a/dev-ruby/ruby-prof/ChangeLog b/dev-ruby/ruby-prof/ChangeLog
index 0d195f4ad13f..7db2a1597e20 100644
--- a/dev-ruby/ruby-prof/ChangeLog
+++ b/dev-ruby/ruby-prof/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/ruby-prof
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-prof/ChangeLog,v 1.20 2010/01/16 13:42:08 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-prof/ChangeLog,v 1.21 2010/01/23 00:40:24 flameeyes Exp $
+
+*ruby-prof-0.7.10 (23 Jan 2010)
+
+ 23 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +ruby-prof-0.7.10.ebuild:
+ Version bump, one further fix is needed to the testsuite for it to work.
*ruby-prof-0.7.9 (16 Jan 2010)
diff --git a/dev-ruby/ruby-prof/Manifest b/dev-ruby/ruby-prof/Manifest
index 910cbf27c65c..293b12c0ccc0 100644
--- a/dev-ruby/ruby-prof/Manifest
+++ b/dev-ruby/ruby-prof/Manifest
@@ -2,16 +2,18 @@
Hash: SHA1
AUX ruby-prof-0.7.2+glibc-2.8.patch 360 RMD160 5c469b8c0a966825dccf46aa629de03204b8f830 SHA1 471ee971e10cc8bbc7f0ad2f5ea74fcc3d575af3 SHA256 07271e64f4c70ffbf58aa2bf007b66f0578a5b1287f41197ca670f2191276ac4
+DIST ruby-prof-0.7.10.gem 59904 RMD160 3127bdbcce74d149ebc4bdb723424b1767564f06 SHA1 4d9b64f29204d4b67f22bba5c1f07057125f8994 SHA256 9b8ef8dab67208876fa5f309588a7fd2c322e519c1cd20a7184575238a01e7fa
DIST ruby-prof-0.7.7.gem 73216 RMD160 2bd0a6c94097e9dadc17684f0760e4fca10a8116 SHA1 32590cfd7c40ab64cd79d6309e29c93520be65e3 SHA256 a1165805fe398bcfc10dc63945342625b960e682ec352913554806f558105280
DIST ruby-prof-0.7.9.gem 59392 RMD160 0bc7ae51f9e95eff7a9aebe448d0c574572cf777 SHA1 26143757762a956588b1fb61176221c982228a9a SHA256 a712e448d41a7675303c8e7560c3c6167ad5db470226c4361dcb8260bc74c25c
+EBUILD ruby-prof-0.7.10.ebuild 1524 RMD160 fbbc6c22c7da2598c3cebd2d8353eadc75bc305b SHA1 11fb0580bdc3b1bf81b2b1128d89d5bcfeade4b0 SHA256 690781420339b4cf1c25bc33bed99111558c518e988895abd6bb8acb88399150
EBUILD ruby-prof-0.7.7.ebuild 1431 RMD160 960e22eb44a0e6f4b6fd33cc35ea0583926d774e SHA1 dd3a2d6394d471119996bc3eb4419d62d8e07b05 SHA256 37af104ae0c624b33480cc137f358219378d1f1cd894bf23fe5d70d3075760c8
EBUILD ruby-prof-0.7.9.ebuild 1431 RMD160 10040eb4e07b77feb70d6a0f9ce71ff44b1fe7b0 SHA1 2875bda271393d77b2bc5dfd7234c2839e4d0d63 SHA256 35de1dbb0cb758bf3e4bc59e463ef568dd4e14015b6d3bac5137c9e262311746
-MISC ChangeLog 3637 RMD160 339909dbf95070c19513b82bad53adb0723ba9ab SHA1 34953ca2870662e656e1283012b9c2544a60ec7c SHA256 43cebcbc7337750de16e4476ea4e0a1ac4f1ea407cf8a3ffdd6e0f1952f64497
+MISC ChangeLog 3830 RMD160 fb3cf73bc40c5065e471728ab05d3b04f2f27008 SHA1 7d70748cb7c87cfb472598257c3c9f253c3c2c27 SHA256 676f2b13756392d856d5f0f67b319f0f908103dfbc40a26e91ee9ccd24b23e33
MISC metadata.xml 158 RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 SHA1 7ac646714b1ab83fda98f3ccdd8b48a31c148b27 SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAktRwg4ACgkQAiZjviIA2Xgu5ACeLLIEJvM2k8wMyrZJVd0jRu9z
-4X8AnjjBvEixmUU4JbU7v3fd3IuD12Gi
-=TxhO
+iEYEARECAAYFAktaRYUACgkQAiZjviIA2XjF0ACgmfrt7yVLQapWAABRKb6frSDU
+Y3UAn1bohrBasn/Xi6fORzKbeX6CBaaH
+=mny3
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/ruby-prof/ruby-prof-0.7.10.ebuild b/dev-ruby/ruby-prof/ruby-prof-0.7.10.ebuild
new file mode 100644
index 000000000000..d1fd772d95e5
--- /dev/null
+++ b/dev-ruby/ruby-prof/ruby-prof-0.7.10.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2010 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.10.ebuild,v 1.1 2010/01/23 00:40:24 flameeyes Exp $
+
+EAPI=2
+
+# jruby → not compatible, since it uses an extension
+USE_RUBY="ruby18 ruby19"
+
+RUBY_FAKEGEM_EXTRADOC="README CHANGES"
+RUBY_FAKEGEM_DOCDIR="doc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A module for profiling Ruby code"
+HOMEPAGE="http://rubyforge.org/projects/ruby-prof/"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+ruby_add_bdepend test virtual/ruby-test-unit
+
+all_ruby_prepare() {
+ # The thread testing in 0.7.5 and earlier versions is broken, it
+ # has to be tested for the next versions, since upstream is
+ # looking for a solution. The problem is that it's _very_
+ # timing-dependent.
+ 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"
+ sed -i -e 's:\./prime:prime:' \
+ test/printers_test.rb || die "unable to fix broken test"
+}
+
+each_ruby_compile() {
+ pushd ext
+ ${RUBY} extconf.rb || die "extconf.rb failed"
+ # gem ships with prebuild files
+ emake clean || die "clean failed"
+ emake || die "build failed"
+ popd
+
+ cp ext/*.so lib || die "copy of extension failed"
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ for dir in examples rails rails/example rails/environment; do
+ docinto "$dir"
+ dodoc "$dir"/* || die "dodoc $dir failed"
+ done
+}