diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-05-10 06:09:45 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-05-10 06:09:45 +0000 |
commit | 27e3920e52204070cc32d85c7a43b47f8d50256b (patch) | |
tree | bd87cddd3b9fd81622bd3500094a6e46f69c3f49 /dev-ruby | |
parent | Rework yasm dep (diff) | |
download | historical-27e3920e52204070cc32d85c7a43b47f8d50256b.tar.gz historical-27e3920e52204070cc32d85c7a43b47f8d50256b.tar.bz2 historical-27e3920e52204070cc32d85c7a43b47f8d50256b.zip |
Version bump.
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/ruby-prof/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/ruby-prof/Manifest | 10 | ||||
-rw-r--r-- | dev-ruby/ruby-prof/ruby-prof-0.10.7.ebuild | 73 |
3 files changed, 85 insertions, 5 deletions
diff --git a/dev-ruby/ruby-prof/ChangeLog b/dev-ruby/ruby-prof/ChangeLog index d12022fbdb48..16e975c8517c 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-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-prof/ChangeLog,v 1.31 2011/04/30 07:13:45 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-prof/ChangeLog,v 1.32 2011/05/10 06:09:45 graaff Exp $ + +*ruby-prof-0.10.7 (10 May 2011) + + 10 May 2011; Hans de Graaff <graaff@gentoo.org> +ruby-prof-0.10.7.ebuild: + Version bump. *ruby-prof-0.10.6 (30 Apr 2011) diff --git a/dev-ruby/ruby-prof/Manifest b/dev-ruby/ruby-prof/Manifest index f5f72f5f54b3..ab005fdeb526 100644 --- a/dev-ruby/ruby-prof/Manifest +++ b/dev-ruby/ruby-prof/Manifest @@ -3,18 +3,20 @@ Hash: SHA256 DIST ruby-prof-0.10.2.tgz 206715 RMD160 7b6f1049e94563c8e65ee79b77ef8b66493d65a8 SHA1 8b4af5198a771488fb60e7fad5aa79f6636bf05a SHA256 2fff561defea7a6daa23d61de11f8c2ad9224697e9bfe5f702fef2b14ec8676c DIST ruby-prof-0.10.6.tgz 207041 RMD160 45e30c6b1bb76693a89012295c5620bbc040eb9c SHA1 eab0fe0a9f5072a3280ddff9e511822fbbb1ef8f SHA256 51ba88fef6627fa6bd87d99544f33b4280336434e816ee8e5841a529a36f7822 +DIST ruby-prof-0.10.7.tgz 207387 RMD160 28e205f557ecc5930c7ce12d88b998cfd46537de SHA1 6d4329e0eeab61ca97f9f2bbe6dd741685dcdbbc SHA256 03f20717a4b39e59a46f519cab8fa44b48a725707a70182059dc5fdf63a807d5 DIST ruby-prof-0.8.2.gem 63488 RMD160 98687c57c4a39c533cb7781e1dfc146ebdf2dd4a SHA1 ccd4f7d3c1a83856631316f9b10823ac825fe1ce SHA256 f622f47be1f6a2d916c6f6a42c21bce591816b264df97c7d83dca3c5441644eb DIST ruby-prof-0.9.2.gem 202240 RMD160 591b6a8247adcc44dc578ba44fb484af010a5120 SHA1 16565665f8ad28a04ac8e6c66b67ea34220fb9dd SHA256 785550e0451bf0fa280dea837560d7327ad8b496e4fa7cf1368d8c46da200d48 EBUILD ruby-prof-0.10.2.ebuild 2310 RMD160 be3f37b3eda89e74ccf7f1c230d9db81ee9dcdf8 SHA1 585fcabfe25becd60b51b3f0035f01a0ac7aa9b5 SHA256 77c8c3b5c963e2c07f4cea3caa3c97d4be4a52021b0356e0d0c8de0fc0f8852f EBUILD ruby-prof-0.10.6.ebuild 2249 RMD160 413f62e03cc5d2f6b0019d015e27bac5a5902ea4 SHA1 70cabf0087f643ff71a145cfed1789d2a43e1894 SHA256 14cff96ac5f5cf0d41728ceb4683642188b649f659c69edf9788f06e0dffc3ac +EBUILD ruby-prof-0.10.7.ebuild 2190 RMD160 7b95c663e57723d5b3d17a84bb78cd13de9e77bc SHA1 f1745d445030863819bfcf19b1b95e1328a58003 SHA256 7cc77e1ce940b808dde8a907a9aca12a6a3d340b1fc1dbde2f9379ac3782462a EBUILD ruby-prof-0.8.2-r1.ebuild 2101 RMD160 d213d83cd9d291680bd8eb6919ccc38168347363 SHA1 6a0a1c6184575ea177d6be5cea686b8eb25fcd78 SHA256 32e4dfef583dbf3521117d97dac03c5e4d3a2b92ece43e157b5847fdebc5bb5e EBUILD ruby-prof-0.9.2.ebuild 2103 RMD160 075709214d7da03e58af0a74e8fb1763142dd614 SHA1 c3d0dc72c1a1cee75b25ccc28476ab60b69c75cc SHA256 e2754357e74b0a894f59d5eea9945648f65c7c2dcdc71185f18efa9080dfe519 -MISC ChangeLog 5302 RMD160 540759b358ea0c7bf17dac2574cf85486452a399 SHA1 1e7412beb4b35d718ca6a3082fe0d3b0421dce8e SHA256 4756732d39f1712a76c61baac13b44cad0d21921d3859b9e6c00e8e38988a76c +MISC ChangeLog 5428 RMD160 40d645e5452aec2c21c062ebcd5c6e6796aa77c4 SHA1 b6d528cac37e3d442fdedc170fade5758e35eae3 SHA256 24a3303dd04f11b860720b31557369189f0a23d3962146ebc855a2b0d0606486 MISC metadata.xml 158 RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 SHA1 7ac646714b1ab83fda98f3ccdd8b48a31c148b27 SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iF4EAREIAAYFAk27tq4ACgkQrnu0mw69Jkq8xAD/Unrg8zHU+T1jIr5+jCG3G6aa -E4LoGb4KebzEgtySicMA/0ZsE3ooqY44OOSut3IY7Thvx95xtVrdLO+M1e4VaRxN -=OF6L +iF4EAREIAAYFAk3I1rUACgkQrnu0mw69Jko2YwD+MaFmSBlNOFGcG8dKKqBQWmo8 +XE4usf5ngzOckPladLwA/idmObF0sGL26ee4ix8BF+Tf2bOlgHxkJOpVnvDrv2uY +=7ATh -----END PGP SIGNATURE----- diff --git a/dev-ruby/ruby-prof/ruby-prof-0.10.7.ebuild b/dev-ruby/ruby-prof/ruby-prof-0.10.7.ebuild new file mode 100644 index 000000000000..0cbd75397168 --- /dev/null +++ b/dev-ruby/ruby-prof/ruby-prof-0.10.7.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2011 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.10.7.ebuild,v 1.1 2011/05/10 06:09:45 graaff Exp $ + +EAPI=4 + +# jruby → not compatible, since it uses an extension, but there is a bug +# open for it: https://github.com/rdp/ruby-prof/issues/36 + +USE_RUBY="ruby18 ruby19 ree18" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc CHANGES" +RUBY_FAKEGEM_DOCDIR="doc" + +inherit multilib ruby-fakegem + +DESCRIPTION="A module for profiling Ruby code" +HOMEPAGE="https://github.com/rdp/ruby-prof" +SRC_URI="https://github.com/rdp/${PN}/tarball/${PV} -> ${P}.tgz" +RUBY_S="rdp-${PN}-*" + +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.8.1 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" + + # We install the shared object in lib, not ext. + sed -i -e 's#../ext/ruby_prof#../lib/ruby_prof#' lib/ruby-prof.rb +} + +each_ruby_prepare() { + case ${RUBY} in + *ruby19) + # On ruby 1.9 this test fails badly, so we disable it + # until upstream can fix the related bug: + # http://redmine.ruby-lang.org/issues/show/2012 + sed -i -e '/^ def test_flat_string_with_numbers/,/^ end/ s:^:#:' \ + test/printers_test.rb || die "Unable to disable test_flat_string_with_numbers" + ;; + esac +} + +each_ruby_configure() { + ${RUBY} -Cext/ruby_prof extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake -Cext/ruby_prof || die "build failed" + + mkdir lib/ruby_prof || die "unable to create directory for shared object" + cp ext/ruby_prof/*$(get_modname) lib/ruby_prof || die "copy of extension failed" +} + +all_ruby_install() { + all_fakegem_install + + for dir in examples rails rails/example rails/environment; do + docinto "$dir" + dodoc -r "$dir"/* || die "dodoc $dir failed" + done +} |