From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B2D6715810F for ; Mon, 12 Jun 2023 02:27:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AEEC2E0880; Mon, 12 Jun 2023 02:27:51 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9327BE0880 for ; Mon, 12 Jun 2023 02:27:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AA27F341436 for ; Mon, 12 Jun 2023 02:27:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ABE68A90 for ; Mon, 12 Jun 2023 02:27:48 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1686536840.e535b2b0408650bd9c72c3f94fbe6e4327d06e67.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-prof/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/ruby-prof/Manifest dev-ruby/ruby-prof/ruby-prof-1.6.3.ebuild X-VCS-Directories: dev-ruby/ruby-prof/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e535b2b0408650bd9c72c3f94fbe6e4327d06e67 X-VCS-Branch: master Date: Mon, 12 Jun 2023 02:27:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 752872cc-e51f-46ae-808a-f2dbf9a69cd8 X-Archives-Hash: 2222d901dfbfb9c0be625e119121285a commit: e535b2b0408650bd9c72c3f94fbe6e4327d06e67 Author: Sam James gentoo org> AuthorDate: Sat Jun 10 19:36:42 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jun 12 02:27:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e535b2b0 dev-ruby/ruby-prof: add 1.6.3 Signed-off-by: Sam James gentoo.org> dev-ruby/ruby-prof/Manifest | 1 + dev-ruby/ruby-prof/ruby-prof-1.6.3.ebuild | 41 +++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-ruby/ruby-prof/Manifest b/dev-ruby/ruby-prof/Manifest index 4ab9900fe33e..5622626a335d 100644 --- a/dev-ruby/ruby-prof/Manifest +++ b/dev-ruby/ruby-prof/Manifest @@ -1,3 +1,4 @@ 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 +DIST ruby-prof-1.6.3.tgz 247407 BLAKE2B aac1ec36ee274faba919aa04be625b7b97ef61df105266f3d1b629cef6948db0bffbe67e70782f90a059221cb11cdb0df18031c9061f84cc882029cdde84629f SHA512 3172251fbd445c73f0eec734e09021ec0e375fd2f2999ec357569c679aa98ea5e0e08a18be1236e2572a8f0c302a1157d6a0d36ef04dffc4d0767accce629118 diff --git a/dev-ruby/ruby-prof/ruby-prof-1.6.3.ebuild b/dev-ruby/ruby-prof/ruby-prof-1.6.3.ebuild new file mode 100644 index 000000000000..5c5244c5f54c --- /dev/null +++ b/dev-ruby/ruby-prof/ruby-prof-1.6.3.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="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 +}