From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1342431-garchives=archives.gentoo.org@lists.gentoo.org> 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 C893B158086 for <garchives@archives.gentoo.org>; Tue, 23 Nov 2021 00:48:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19C1BE0855; Tue, 23 Nov 2021 00:48:27 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 72970E0855 for <gentoo-commits@lists.gentoo.org>; Tue, 23 Nov 2021 00:48:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 69568343195 for <gentoo-commits@lists.gentoo.org>; Tue, 23 Nov 2021 00:48:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C5FFC1BC for <gentoo-commits@lists.gentoo.org>; Tue, 23 Nov 2021 00:48:23 +0000 (UTC) From: "Alexey Zapparov" <alexey@zapparov.com> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Zapparov" <alexey@zapparov.com> Message-ID: <1637628401.1c5e721ffb3af2c815d96bde5cc31959196cfb2c.alexey@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-ruby/chruby/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-ruby/chruby/chruby-0.3.9-r2.ebuild dev-ruby/chruby/chruby-0.3.9-r3.ebuild X-VCS-Directories: dev-ruby/chruby/ X-VCS-Committer: alexey X-VCS-Committer-Name: Alexey Zapparov X-VCS-Revision: 1c5e721ffb3af2c815d96bde5cc31959196cfb2c X-VCS-Branch: dev Date: Tue, 23 Nov 2021 00:48:23 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 176a6b13-9bf8-4cec-887c-40a9d035d39f X-Archives-Hash: c10b1d45b5fcfe56ee48198156a645d5 commit: 1c5e721ffb3af2c815d96bde5cc31959196cfb2c Author: Alexey Zapparov <alexey <AT> zapparov <DOT> com> AuthorDate: Tue Nov 23 00:46:41 2021 +0000 Commit: Alexey Zapparov <alexey <AT> zapparov <DOT> com> CommitDate: Tue Nov 23 00:46:41 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1c5e721f dev-ruby/chruby: add chruby-0.3.9-r3 Address QA failure report. Closes: https://bugs.gentoo.org/825450 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alexey Zapparov <alexey <AT> zapparov.com> .../chruby/{chruby-0.3.9-r2.ebuild => chruby-0.3.9-r3.ebuild} | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dev-ruby/chruby/chruby-0.3.9-r2.ebuild b/dev-ruby/chruby/chruby-0.3.9-r3.ebuild similarity index 77% rename from dev-ruby/chruby/chruby-0.3.9-r2.ebuild rename to dev-ruby/chruby/chruby-0.3.9-r3.ebuild index a4ec37b98..f342c7ecb 100644 --- a/dev-ruby/chruby/chruby-0.3.9-r2.ebuild +++ b/dev-ruby/chruby/chruby-0.3.9-r3.ebuild @@ -15,6 +15,15 @@ RESTRICT="test" DEPEND="|| ( >=app-shells/bash-3.0:* app-shells/zsh )" RDEPEND="${DEPEND}" +src_prepare() { + default + + if [ -n "${PVR}" ] ; then + sed -i Makefile -e "s/^VERSION=${PV}$/VERSION=${PVR}/" \ + || die "can't fix doc location to follow Gentoo/FHS guidelines" + fi +} + src_install() { # TODO: Remove `${D}` from PREFIX in >=chruby-0.3.10 (https://git.io/JPQ25) emake DESTDIR="${D}" PREFIX="${D}/usr" install