commit:     0082c8446df8de253fa4eea7368851d49d2a8600
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu May 22 20:58:58 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu May 22 23:01:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0082c844

dev-lang/eisl: bump to 5.43

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/eisl/Manifest         |  1 +
 dev-lang/eisl/eisl-5.43.ebuild | 60 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/dev-lang/eisl/Manifest b/dev-lang/eisl/Manifest
index 1f5c880db153..ea0d4fbd1fb0 100644
--- a/dev-lang/eisl/Manifest
+++ b/dev-lang/eisl/Manifest
@@ -1,2 +1,3 @@
 DIST eisl-5.41.tar.gz 3140179 BLAKE2B 
b60ec0209313973af31b0940317fdecd8e87c9de46093830d7e3c3924bbab9ef5da638a67b43b91a3c351d3d357817fcf26a56aeb2203e3f2a1865c797c743b1
 SHA512 
1b87a4c16b75289a95ffee20b7182151701736c96f3ddcdf1e00ef51356b668059b43cab39e9dd3b1f193b102f1f7cd32e435c0d212342e2544fff9507dfb99a
 DIST eisl-5.42.gh.tar.gz 3140792 BLAKE2B 
340023c9f4c49053699a681818491fbf25b0078a7dbabca0ce76249f38cb3e3c477240a454782a0deb370c1e128cca491efcd30e12f79ca72beee9e2aa9fc1e3
 SHA512 
454cbf8e5c3cef8b80d5c0376f9a7fb3474c946a122f81338e7b087b87cf48de56564321e7fced635896c77b6454c1462e4981711e7d81769772102482ddac62
+DIST eisl-5.43.gh.tar.gz 3140842 BLAKE2B 
ac860c8d2896a9959b34f441725f8b33692be514691e92c70736e1e8ce4bf54c8549c9c017d84edaefa046d339cf4259e68cf22e4b800d733d6e4adc1b7af8aa
 SHA512 
45a4ab8227c8756a8364d30010274f6a945f9b185921fb3330b72732f12e403a112d116c8b00ec7ed4c80b1c2e05c4387d27518e40948ee77af2020207d7183c

diff --git a/dev-lang/eisl/eisl-5.43.ebuild b/dev-lang/eisl/eisl-5.43.ebuild
new file mode 100644
index 000000000000..473c6f75754e
--- /dev/null
+++ b/dev-lang/eisl/eisl-5.43.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Interpreter and compiler compatible with the ISLisp standard"
+HOMEPAGE="https://github.com/sasagawa888/eisl/";
+
+if [[ "${PV}" == *9999* ]] ; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/sasagawa888/${PN}";
+else
+       SRC_URI="https://github.com/sasagawa888/${PN}/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz"
+
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+RESTRICT="test"  # Tests run cppcheck (and fail).
+
+DOCS=( README{,-ja}.md documents )
+
+RDEPEND="
+       sys-libs/ncurses:=
+"
+DEPEND="
+       ${RDEPEND}
+"
+
+PATCHES=(
+       "${FILESDIR}/${PN}-5.42-makefile.patch"
+)
+
+src_compile() {
+       # bug https://bugs.gentoo.org/939771
+       # don't clean and compile in one invocation with --shuffle possible
+       local target=""
+       for target in clean edlis eisl ; do
+               emake CC="$(tc-getCC)" "${target}"
+       done
+}
+
+src_install() {
+       exeinto /usr/bin
+       doexe edlis
+       doexe eisl
+
+       # Compilation of ISLisp files on installation fails.
+       # Do not compile them and mimic "make install".
+       insinto "/usr/share/${PN}"
+       doins -r library
+       doins fast.h ffi.h
+
+       einstalldocs
+}

Reply via email to