summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-01-01 09:16:17 +0000
committerHans de Graaff <graaff@gentoo.org>2010-01-01 09:16:17 +0000
commit6bb7ab5bf1a02a54d95a3c9f6a28927911923241 (patch)
treeb77a2e6ed4851dd1228fe06bf41744ebda6db39a /dev-ruby/ruby-prof
parentAutomated update of use.local.desc (diff)
downloadhistorical-6bb7ab5bf1a02a54d95a3c9f6a28927911923241.tar.gz
historical-6bb7ab5bf1a02a54d95a3c9f6a28927911923241.tar.bz2
historical-6bb7ab5bf1a02a54d95a3c9f6a28927911923241.zip
Version bump with test fixes for ruby 1.9.
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/ChangeLog9
-rw-r--r--dev-ruby/ruby-prof/Manifest12
-rw-r--r--dev-ruby/ruby-prof/ruby-prof-0.7.6.ebuild55
3 files changed, 69 insertions, 7 deletions
diff --git a/dev-ruby/ruby-prof/ChangeLog b/dev-ruby/ruby-prof/ChangeLog
index 5d6de6593c7d..7d2ae8db801e 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.16 2009/12/28 23:42:27 flameeyes Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-prof/ChangeLog,v 1.17 2010/01/01 09:16:17 graaff Exp $
+
+*ruby-prof-0.7.6 (01 Jan 2010)
+
+ 01 Jan 2010; Hans de Graaff <graaff@gentoo.org> +ruby-prof-0.7.6.ebuild:
+ Version bump with test fixes for ruby 1.9.
*ruby-prof-0.7.5 (28 Dec 2009)
diff --git a/dev-ruby/ruby-prof/Manifest b/dev-ruby/ruby-prof/Manifest
index 9dfda3a23546..da857d7cf291 100644
--- a/dev-ruby/ruby-prof/Manifest
+++ b/dev-ruby/ruby-prof/Manifest
@@ -4,14 +4,16 @@ Hash: SHA1
AUX ruby-prof-0.7.2+glibc-2.8.patch 360 RMD160 5c469b8c0a966825dccf46aa629de03204b8f830 SHA1 471ee971e10cc8bbc7f0ad2f5ea74fcc3d575af3 SHA256 07271e64f4c70ffbf58aa2bf007b66f0578a5b1287f41197ca670f2191276ac4
DIST ruby-prof-0.7.3.tgz 63156 RMD160 601de6bdb85538d4871803e1f47f7d8be952a6f2 SHA1 0022516f4769df03915ed5716ae0b845f7b47cfc SHA256 22c6dc2deada8879176562b4f9403d2a7e32c903102dde7042c130e9a11269e9
DIST ruby-prof-0.7.5.gem 185344 RMD160 1f80dbc2c48a2cc5757d58c7eb2d34c467b96ee8 SHA1 6c982792838c74a076ee5e7632356607974d235e SHA256 ee3eea9ddfefa002c1c9e3a6e3360b88f010e3d5f2704a1382f9aa96c0f50d09
+DIST ruby-prof-0.7.6.gem 58368 RMD160 5ae576d9135d1b8edd390737615b673294b2ee7e SHA1 2a8b3ba640d9d6f60ebf7f31caa35ead3e035808 SHA256 3218de21571c9a3dc2880cc78051ee5b541fe67be4bbb1ab88cf88d8a93a9570
EBUILD ruby-prof-0.7.3.ebuild 1559 RMD160 44a6254d20964c772603f0a25c54ca224ae1bbf6 SHA1 6d5a8f01a0f1c07651a7f00575203240d4cf069b SHA256 4067705a375660971221adb199b1c967e006d48a2a7c453247ddd1d518cfcb9f
EBUILD ruby-prof-0.7.5.ebuild 1496 RMD160 4f41e810c7202f84978d2a40e0dbeb3fa76fd607 SHA1 a4282aa5417f98a7613e8a6049e85b6f17a2a4ef SHA256 bd33d9ce219c6c1ef399e2e9d872e6bc0291cf44df64547de59bc4479db5a80b
-MISC ChangeLog 2929 RMD160 8734fc994a71271fe2242bd6dae15e8f6ad7a90a SHA1 ef8d1623cce9770e53207747d1c05a50c677b6f3 SHA256 14e9ae116e04dd99cf46ad6b14faf7144d6bfdb539fbff15ed162c9478ba32be
+EBUILD ruby-prof-0.7.6.ebuild 1493 RMD160 3239c18e491318720ec15e8d2ac8ebb54e89c480 SHA1 b84bdb84c0c28c771a954bc33ec0d2e211c95e26 SHA256 8b3df47e343f59c7f62f1d8d234548afe739ffc65a05da3cc7c80c8769680322
+MISC ChangeLog 3079 RMD160 bb07bef409ad2ddd24c40d7c5f09cd9ba8af7233 SHA1 688cf489f8936eb34f79f0397a7a02ea7d2098d4 SHA256 95ee15e22822fd7ac23be861b76af132311b1efacfe0bed23e74f9ebaaa833c9
MISC metadata.xml 158 RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 SHA1 7ac646714b1ab83fda98f3ccdd8b48a31c148b27 SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
+Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAks5QmYACgkQAiZjviIA2XhJswCfT0wBFGBW5dQon5GZu+MTX+CA
-HOgAnjmA/J1gtsDHrdDeBP496t9k9y78
-=bxPR
+iEYEARECAAYFAks9vWwACgkQeM7EJeUH71NStACfavOhcNu9k0AiamZ/g3cg2H0+
+c+gAn3wrt8KA6ve9t5ywmiF3+v0JHbgf
+=sg4q
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/ruby-prof/ruby-prof-0.7.6.ebuild b/dev-ruby/ruby-prof/ruby-prof-0.7.6.ebuild
new file mode 100644
index 000000000000..cb85b965dd64
--- /dev/null
+++ b/dev-ruby/ruby-prof/ruby-prof-0.7.6.ebuild
@@ -0,0 +1,55 @@
+# 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.6.ebuild,v 1.1 2010/01/01 09:16:17 graaff Exp $
+
+EAPI=2
+
+# ruby19 → not compatible as of 0.7.5 (upstream-provided information)
+# jruby → not compatible, since it uses an extension
+USE_RUBY="ruby18"
+
+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"
+}
+
+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
+}