summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-06-17 14:33:17 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-06-17 19:43:34 +0200
commit93e91dae1f7d6b4706d444ffe083fb344ca772fd (patch)
tree886b4bbb0ac401b18a61918aa13d7d8269b64671 /dev-lang/eisl
parentdev-lang/eisl: drop old 2.85 (diff)
downloadgentoo-93e91dae1f7d6b4706d444ffe083fb344ca772fd.tar.gz
gentoo-93e91dae1f7d6b4706d444ffe083fb344ca772fd.tar.bz2
gentoo-93e91dae1f7d6b4706d444ffe083fb344ca772fd.zip
dev-lang/eisl: bump to 3.00
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/eisl')
-rw-r--r--dev-lang/eisl/Manifest1
-rw-r--r--dev-lang/eisl/eisl-3.00.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-lang/eisl/Manifest b/dev-lang/eisl/Manifest
index 5ed737602569..e981d11c7e2b 100644
--- a/dev-lang/eisl/Manifest
+++ b/dev-lang/eisl/Manifest
@@ -1,3 +1,4 @@
DIST eisl-2.90.tar.gz 2129524 BLAKE2B 5b7a7aaf68a53ac4611b90f98f50fb66973411f1303f0de9dab14301a49847a1250c07d1e912d55783b939d3a2b7a6aa82fa3d9b42818ea9aacf37949ba9e14a SHA512 3cefc6608e1f4d4a0ba581c2043cb9af9d379273cfda74a4ac77f802dbb672faf98af5a60a946e12f0abedd47074b67a0c8163a81eebca92a20cd04f767d6b0f
DIST eisl-2.93.tar.gz 2138623 BLAKE2B 049628a3dba0b9da5334bb575e7cfd977cdee6b08f009590c3dd13ba81e325ef4cf9d64c8a3fc7b59b9459e5dca0f7d49243b61040d662200a3b64f797d631fe SHA512 261ca84594f6fa408739e3aedb0f0c0b0d246df14b6b79a3efb013219730b93290e725eb976980ac23488c361bca05eb642d3b4fc408ee4355ba84ca658185e7
DIST eisl-2.98.tar.gz 2143636 BLAKE2B e38bf59e491218602e24217903b0f656ebcdee29311ec988447bff58b92f3bc51aa671ba8daf304fa8ce05a45ba71e22839bf74cfc6b1cc704e4c2bd1b5e1a74 SHA512 611bae543c4b12c3b7fb43a660edd219e9d8c1211ce6e3d7d19beae3ac5863f4f20722b79865444a42da30a0210474616115432428a2341b79e20b59e4a3a6e4
+DIST eisl-3.00.tar.gz 2143246 BLAKE2B b4a5fd7590f2016cab539603780a6717ce6a26c07230334e5a5cef6b27f72360c33c85f3ed0d2163b9db331f1a2ae4ca4f062728c1669ecf07edcd287914aa76 SHA512 fbc59a1585993e03a1e6388537cd8efe4f1497e6ba0ff08b13fbfd554d900a20a6be36f217baa94cd34bd2eb9a46b406d162306301491412c20b6097759fd796
diff --git a/dev-lang/eisl/eisl-3.00.ebuild b/dev-lang/eisl/eisl-3.00.ebuild
new file mode 100644
index 000000000000..987db06ada03
--- /dev/null
+++ b/dev-lang/eisl/eisl-3.00.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 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}.git"
+else
+ SRC_URI="https://github.com/sasagawa888/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.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}-2.85-Makefile.patch )
+
+src_compile() {
+ emake CC="$(tc-getCC)" clean edlis eisl
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe edlis 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
+}