diff options
Diffstat (limited to 'dev-ruby/ruby-prof')
-rw-r--r-- | dev-ruby/ruby-prof/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/ruby-prof/ruby-prof-1.6.1.ebuild | 41 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/ruby-prof/Manifest b/dev-ruby/ruby-prof/Manifest index ea3aca86b773..b66ddb314949 100644 --- a/dev-ruby/ruby-prof/Manifest +++ b/dev-ruby/ruby-prof/Manifest @@ -1,5 +1,7 @@ DIST ruby-prof-1.4.4.tgz 232833 BLAKE2B 932f5edd47a9de57f4c394044d1d563935f456b3cf77ac85c912359e34c8c1becafddfda329e05a672d4009b81fba386f76ba4677cee2dde44f40bef5abcaa94 SHA512 5ae25b32b26cfe7faf60c0ba84d3853c74f272783a8dde858ce3de0186683c7cf35dbcb5e89b1e5aa742ee93ea601e55f7ad99491bf9c1a1accef454b08b9921 DIST ruby-prof-1.4.5.tgz 233733 BLAKE2B 1285eb2862a9159a80ead9c3e26f372ec00719553f8bc42d10645e7ea86bfb1f27525c1bdbb3a4ae187a0a34ac7d11c7516b594070fce694d1f29e840710d500 SHA512 444af657b5aff9b8c18e15600cb1bc89a2fb9085a56ac65ca392614234bdce73445fcf41ea638f1a2f02826ef35288896befd5e74526b5fa3b93d63eeb3700a0 +DIST ruby-prof-1.6.1.tgz 243127 BLAKE2B acceb23b137d080983e0dc8f431b8b31be05db16e8820c478cc7c33f3b578e243ecb536baacbb36e4fbd4675e99f567d3c68a70f09929b3cdd6c10f21413b59b SHA512 01e85e12e2185e092ee10953239b4253da4970162e53563f5270d1b09a6b6a4606b2d15b7c97cb70b3254e3657e6874a22a1873ee28f3c62d04d066f938434a8 EBUILD ruby-prof-1.4.4.ebuild 1132 BLAKE2B defa6b33884ca68ce626efb221237a56a67075e0f8cb5276197a28c1b93ba9b6bfc9624c1eb85a31d56096499362e8598354d01ae9bf0c6cbd459d75f987ca59 SHA512 87b8619262d51e7b8815aba53b27c2f312b784cc7bc899566a501ab1027498f5dc447a6b43ae4f2fd602ea3cbf4865e71e221665d44dbf562de60f051ab8b0a3 EBUILD ruby-prof-1.4.5.ebuild 1122 BLAKE2B de8afa270dda713019c5776715ac0f0c6159eeb61c48d98e70948daa270dfa3c766c5421069a2895e2a29fdcd8d97f8a9d41da41d3b49c499bbd4d04991bf952 SHA512 52cd2306605ab0e810f75909aeb1028da0e8981d058f26d0032a2b9e04a163f7b84e3a712175f39fa3ee8481e2b01ba88d9b7be306dea1f6c8160db44a3501a3 +EBUILD ruby-prof-1.6.1.ebuild 1129 BLAKE2B b20a30d1907fda6d50823a967a83ec27f7a360f7c13dfbf6f35ae1f472ea5ce1543fe9f6ace29e705d5d5db35dc1d4850f312fec0afcbacf8ca4e46fc7afe3b7 SHA512 eb5982a0c5a39b3738134a534774c3aa04449027c2ef3ce7f02b1e34f79115741eab07071c17af432f91e282a451d4e19babc0e455079bc1012f645925b49d6d MISC metadata.xml 346 BLAKE2B 245dc508fb9933ff6a69b4e7c8a516ac9bb237798680ae70a8fbaeb57481520760f5a17a62cb045f82a955e0fc882fd84fb60d17b68bec1180b386355ca6b6fd SHA512 2cb1d6e31ac399f7faceccfd9dcc5e1a1e29bc10596ba3e0b3960ecc2bc215b21d351611e3ab6bfe7451fcee3bd4880a229b8266b7c8f6321bc79bdd5109b5d9 diff --git a/dev-ruby/ruby-prof/ruby-prof-1.6.1.ebuild b/dev-ruby/ruby-prof/ruby-prof-1.6.1.ebuild new file mode 100644 index 000000000000..39c10f52a3d8 --- /dev/null +++ b/dev-ruby/ruby-prof/ruby-prof-1.6.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="README.md CHANGES" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_GEMSPEC="ruby-prof.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/ruby_prof/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR="lib" + +inherit ruby-fakegem + +DESCRIPTION="A module for profiling Ruby code" +HOMEPAGE="https://github.com/ruby-prof/ruby-prof" +SRC_URI="https://github.com/ruby-prof/${PN}/archive/${PV}.tar.gz -> ${P}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 dev-ruby/minitest )" + +all_ruby_prepare() { + # Avoid bundler + sed -i -e '/bundler/I s:^:#:' -e '/:build/ s:^:#:' Rakefile || die + + sed -i -e '2igem "test-unit"' -e '/bundler/ s:^:#:' test/test_helper.rb || die + + # We install the shared object in lib, not ext. + sed -i -e 's#../ext/ruby_prof#../lib/ruby_prof#' lib/ruby-prof.rb || die + + # Avoid unneeded dependency on rake-compiler + sed -i -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/end/ s:^:#:' Rakefile || die +} |