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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 788331382C5 for ; Fri, 4 Jun 2021 09:24:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A04D6E0822; Fri, 4 Jun 2021 09:24:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 81906E0827 for ; Fri, 4 Jun 2021 09:24:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4DBDC341118 for ; Fri, 4 Jun 2021 09:24:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 74F0079A for ; Fri, 4 Jun 2021 09:24:19 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1622798655.3e7efe66b7a466b7eefe141d39a1d8f6074d71cd.graaff@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.4.3.ebuild X-VCS-Directories: dev-ruby/ruby-prof/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 3e7efe66b7a466b7eefe141d39a1d8f6074d71cd X-VCS-Branch: master Date: Fri, 4 Jun 2021 09:24:19 +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: 8375f5eb-827a-45a7-8bca-9d351e2b20fb X-Archives-Hash: 05a8d2913a69690acfa5e8f0becf7698 commit: 3e7efe66b7a466b7eefe141d39a1d8f6074d71cd Author: Hans de Graaff gentoo org> AuthorDate: Fri Jun 4 09:24:01 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Jun 4 09:24:15 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e7efe66 dev-ruby/ruby-prof: add 1.4.3 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ruby-prof/Manifest | 1 + dev-ruby/ruby-prof/ruby-prof-1.4.3.ebuild | 41 +++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-ruby/ruby-prof/Manifest b/dev-ruby/ruby-prof/Manifest index aee7ae61ba5..c68c6d85008 100644 --- a/dev-ruby/ruby-prof/Manifest +++ b/dev-ruby/ruby-prof/Manifest @@ -1 +1,2 @@ DIST ruby-prof-1.4.2.tgz 90386 BLAKE2B 55263f6cd24b18112a917c2b03a57ca91619419244f79b2b06f6d6794f76d9411d4e1b39dbb2e4b7e2ca6cc03b244f529f4b56fec54ef5fda18853ec2ef05fb4 SHA512 e75a8898533dd2ce9098fcf940883e3cbeaeaecdaebe3592ee67321feb4e294e25bdf14ce6cac50fb6d582cd55d33f175929a1d5446a21b74eb86c468e779fc3 +DIST ruby-prof-1.4.3.tgz 232032 BLAKE2B 68df149718869afac89b2240263cd3dd48c28b592f32cd7bc8a918b67de7a10abc3a1af04cb00eeaec9e6f7292e5258d22ba8bec0243361289add943535ffe39 SHA512 fd19d97b88b52c07331bf885c69215267eccb3a0519eb3bb6cd6e5907af55ebbace32f3bdef5b1f340bc3c4779666d7f4100878e647fdfde4da3a4df2a946ebe diff --git a/dev-ruby/ruby-prof/ruby-prof-1.4.3.ebuild b/dev-ruby/ruby-prof/ruby-prof-1.4.3.ebuild new file mode 100644 index 00000000000..1924a8778cd --- /dev/null +++ b/dev-ruby/ruby-prof/ruby-prof-1.4.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc CHANGES" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_GEMSPEC="ruby-prof.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/ruby_prof/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/ruby_prof" + +inherit multilib 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 +}