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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B90FF158086 for ; Sun, 2 Jan 2022 15:48:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 619682BC010; Sun, 2 Jan 2022 15:48:08 +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 086BE2BC010 for ; Sun, 2 Jan 2022 15:48:06 +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 3C470342CB2 for ; Sun, 2 Jan 2022 15:48:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AE263D0 for ; Sun, 2 Jan 2022 15:48:03 +0000 (UTC) From: "Alexey Zapparov" 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" Message-ID: <1641138332.35a714d90af04df573786ce35f5501ee5e7c11ba.alexey@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-ruby/ruby-install/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-ruby/ruby-install/ruby-install-0.8.3-r1.ebuild dev-ruby/ruby-install/ruby-install-0.8.3-r2.ebuild X-VCS-Directories: dev-ruby/ruby-install/ X-VCS-Committer: alexey X-VCS-Committer-Name: Alexey Zapparov X-VCS-Revision: 35a714d90af04df573786ce35f5501ee5e7c11ba X-VCS-Branch: dev Date: Sun, 2 Jan 2022 15:48:03 +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: ce7e6480-2221-4117-ad5c-e1685669ba0f X-Archives-Hash: a2015848125797c8ebb5d56d079ca1ee commit: 35a714d90af04df573786ce35f5501ee5e7c11ba Author: Alexey Zapparov zapparov com> AuthorDate: Sun Jan 2 15:45:32 2022 +0000 Commit: Alexey Zapparov zapparov com> CommitDate: Sun Jan 2 15:45:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=35a714d9 dev-ruby/ruby-install: fix 0.8.3-r2 Fix Makefile's version to include Gentoo ebuild revision. Closes: https://bugs.gentoo.org/830341 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alexey Zapparov zapparov.com> ...ruby-install-0.8.3-r1.ebuild => ruby-install-0.8.3-r2.ebuild} | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-ruby/ruby-install/ruby-install-0.8.3-r1.ebuild b/dev-ruby/ruby-install/ruby-install-0.8.3-r2.ebuild similarity index 81% rename from dev-ruby/ruby-install/ruby-install-0.8.3-r1.ebuild rename to dev-ruby/ruby-install/ruby-install-0.8.3-r2.ebuild index 1c97407cc..46ccb1fad 100644 --- a/dev-ruby/ruby-install/ruby-install-0.8.3-r1.ebuild +++ b/dev-ruby/ruby-install/ruby-install-0.8.3-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -31,6 +31,13 @@ src_test() { emake test } +src_prepare() { + default + + sed -i Makefile -e "s/^VERSION=.\+$/VERSION=${PVR}/" \ + || die "Cannot fix doc location to follow Gentoo/FHS guidelines" +} + src_install() { emake DESTDIR="${D}" PREFIX="/usr" install }