summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-07-16 15:01:52 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-07-16 15:01:52 +0200
commit03d8db4bcc690d970e67be96fe222cc202828e0b (patch)
tree8565284e1c22703828ead55b83dc0542458e61ae
parentapp-admin/awscli: Stabilize 1.25.22 ALLARCHES, #858299 (diff)
downloadgentoo-03d8db4bcc690d970e67be96fe222cc202828e0b.tar.gz
gentoo-03d8db4bcc690d970e67be96fe222cc202828e0b.tar.bz2
gentoo-03d8db4bcc690d970e67be96fe222cc202828e0b.zip
dev-scheme/chibi: correct chibi version; 0.10 -> 0.10.0
Closes: https://bugs.gentoo.org/858245 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r--dev-scheme/chibi/Manifest2
-rw-r--r--dev-scheme/chibi/chibi-0.10.0.ebuild (renamed from dev-scheme/chibi/chibi-0.10.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
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}
}