From: "Alexey Zapparov" <alexey@zapparov.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-ruby/ruby-install/
Date: Sun, 2 Jan 2022 15:48:03 +0000 (UTC) [thread overview]
Message-ID: <1641138332.35a714d90af04df573786ce35f5501ee5e7c11ba.alexey@gentoo> (raw)
commit: 35a714d90af04df573786ce35f5501ee5e7c11ba
Author: Alexey Zapparov <alexey <AT> zapparov <DOT> com>
AuthorDate: Sun Jan 2 15:45:32 2022 +0000
Commit: Alexey Zapparov <alexey <AT> zapparov <DOT> 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 <alexey <AT> 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
}
next reply other threads:[~2022-01-02 15:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-02 15:48 Alexey Zapparov [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-02-20 18:00 [gentoo-commits] repo/proj/guru:dev commit in: dev-ruby/ruby-install/ Alexey Zapparov
2023-02-20 17:59 Alexey Zapparov
2022-11-07 18:53 Alexey Zapparov
2022-11-07 18:52 Alexey Zapparov
2022-08-05 3:23 Alexey Zapparov
2021-12-28 16:51 Alexey Zapparov
2021-12-26 2:11 Alexey Zapparov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1641138332.35a714d90af04df573786ce35f5501ee5e7c11ba.alexey@gentoo \
--to=alexey@zapparov.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox