public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/chibi/
Date: Sat, 16 Jul 2022 13:06:51 +0000 (UTC)	[thread overview]
Message-ID: <1657976512.03d8db4bcc690d970e67be96fe222cc202828e0b.xgqt@gentoo> (raw)

commit:     03d8db4bcc690d970e67be96fe222cc202828e0b
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 16 13:01:52 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jul 16 13:01:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03d8db4b

dev-scheme/chibi: correct chibi version; 0.10 -> 0.10.0

Closes: https://bugs.gentoo.org/858245
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/chibi/Manifest                             |  2 +-
 .../chibi/{chibi-0.10.ebuild => chibi-0.10.0.ebuild}  | 19 ++++++++++++-------
 2 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/dev-scheme/chibi/Manifest b/dev-scheme/chibi/Manifest
index 02dc27673a16..7fb92c8af0ad 100644
--- a/dev-scheme/chibi/Manifest
+++ b/dev-scheme/chibi/Manifest
@@ -1 +1 @@
-DIST chibi-0.10.tar.gz 1148573 BLAKE2B 1435d5734bfc44b6d6ddafdb339eea659345eea0db0e9b227830d7a6b6b14d3655af10906e43b6f8abd7eb2b90596fcb5dcc024abd2cba123a184f66ffcd0961 SHA512 348c20468e3b3b084ed25d38860f1afdecfb06ad9ff9ceb178c36930c14aa66a78f48b881a8eda28a30498662e7c722938212ea77b1cea89834d1a4377f0f648
+DIST chibi-0.10.0.tar.gz 1148573 BLAKE2B 1435d5734bfc44b6d6ddafdb339eea659345eea0db0e9b227830d7a6b6b14d3655af10906e43b6f8abd7eb2b90596fcb5dcc024abd2cba123a184f66ffcd0961 SHA512 348c20468e3b3b084ed25d38860f1afdecfb06ad9ff9ceb178c36930c14aa66a78f48b881a8eda28a30498662e7c722938212ea77b1cea89834d1a4377f0f648

diff --git a/dev-scheme/chibi/chibi-0.10.ebuild b/dev-scheme/chibi/chibi-0.10.0.ebuild
similarity index 54%
rename from dev-scheme/chibi/chibi-0.10.ebuild
rename to dev-scheme/chibi/chibi-0.10.0.ebuild
index 189f61eb059f..1a8b1cb4f3fe 100644
--- a/dev-scheme/chibi/chibi-0.10.ebuild
+++ b/dev-scheme/chibi/chibi-0.10.0.ebuild
@@ -1,20 +1,25 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
+MY_PN=${PN}-scheme
+MY_PV=0.10  # Release "0.10.0" tagged as "0.10"
+MY_P=${MY_PN}-${MY_PV}
+
 inherit toolchain-funcs
 
 DESCRIPTION="Minimal Scheme implementation for use as an extension language"
 HOMEPAGE="http://synthcode.com/scheme/chibi/"
 
-if [[ "${PV}" == *9999* ]]; then
+if [[ ${PV} == *9999* ]] ; then
 	inherit git-r3
-	EGIT_REPO_URI="https://github.com/ashinn/${PN}-scheme.git"
+	EGIT_REPO_URI="https://github.com/ashinn/${MY_PN}.git"
 else
-	SRC_URI="https://github.com/ashinn/${PN}-scheme/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+	SRC_URI="https://github.com/ashinn/${MY_PN}/archive/${MY_PV}.tar.gz
+				-> ${P}.tar.gz"
 	KEYWORDS="~amd64 ~x86"
-	S="${WORKDIR}/${PN}-scheme-${PV}"
+	S="${WORKDIR}"/${MY_P}
 fi
 
 LICENSE="BSD"
@@ -27,12 +32,12 @@ src_configure() {
 	export LIBDIR="${EPREFIX}/usr/$(get_libdir)"
 	export SOLIBDIR="${EPREFIX}/usr/$(get_libdir)"
 
-	# if ldconfig (stored in LDCONFIG variable) exists it is ran
+	# If "ldconfig" exists it is ran, overwrite it with "LDCONFIG" variable.
 	export LDCONFIG="0"
 }
 
 src_install() {
 	default
 
-	dosym chibi-scheme /usr/bin/chibi
+	dosym ${MY_PN} /usr/bin/${PN}
 }


             reply	other threads:[~2022-07-16 13:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-16 13:06 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-25 16:42 [gentoo-commits] repo/gentoo:master commit in: dev-scheme/chibi/ Jakov Smolić
2024-06-02 13:37 Maciej Barć
2024-06-02 13:37 Maciej Barć
2022-07-16 13:06 Maciej Barć
2021-11-25 18:36 Maciej Barć

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=1657976512.03d8db4bcc690d970e67be96fe222cc202828e0b.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --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