From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3E5DB1584AD for ; Mon, 28 Apr 2025 13:41:02 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 25C753430DD for ; Mon, 28 Apr 2025 13:41:02 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 67E271104BE; Mon, 28 Apr 2025 13:40:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 5DC771104BD for ; Mon, 28 Apr 2025 13:40:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 138F8342FF2 for ; Mon, 28 Apr 2025 13:40:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F21E2266C for ; Mon, 28 Apr 2025 13:40:48 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1745847641.d85c246fd0de9638acf5a04c8e95a7174f1aacad.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/eisl/, dev-lang/eisl/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/eisl/Manifest dev-lang/eisl/eisl-5.42.ebuild dev-lang/eisl/files/eisl-5.42-makefile.patch X-VCS-Directories: dev-lang/eisl/ dev-lang/eisl/files/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: d85c246fd0de9638acf5a04c8e95a7174f1aacad X-VCS-Branch: master Date: Mon, 28 Apr 2025 13:40:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 66729dc1-808d-454d-bc5c-dcfb94f2247a X-Archives-Hash: c634daeeb6d882048fdf4da17025ef9b commit: d85c246fd0de9638acf5a04c8e95a7174f1aacad Author: Maciej Barć gentoo org> AuthorDate: Mon Apr 28 11:53:50 2025 +0000 Commit: Maciej Barć gentoo org> CommitDate: Mon Apr 28 13:40:41 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d85c246f dev-lang/eisl: bump to 5.42 Signed-off-by: Maciej Barć gentoo.org> dev-lang/eisl/Manifest | 1 + dev-lang/eisl/eisl-5.42.ebuild | 60 ++++++++++++++++++++++++++++ dev-lang/eisl/files/eisl-5.42-makefile.patch | 23 +++++++++++ 3 files changed, 84 insertions(+) diff --git a/dev-lang/eisl/Manifest b/dev-lang/eisl/Manifest index accdd8fa1695..1f5c880db153 100644 --- a/dev-lang/eisl/Manifest +++ b/dev-lang/eisl/Manifest @@ -1 +1,2 @@ DIST eisl-5.41.tar.gz 3140179 BLAKE2B b60ec0209313973af31b0940317fdecd8e87c9de46093830d7e3c3924bbab9ef5da638a67b43b91a3c351d3d357817fcf26a56aeb2203e3f2a1865c797c743b1 SHA512 1b87a4c16b75289a95ffee20b7182151701736c96f3ddcdf1e00ef51356b668059b43cab39e9dd3b1f193b102f1f7cd32e435c0d212342e2544fff9507dfb99a +DIST eisl-5.42.gh.tar.gz 3140792 BLAKE2B 340023c9f4c49053699a681818491fbf25b0078a7dbabca0ce76249f38cb3e3c477240a454782a0deb370c1e128cca491efcd30e12f79ca72beee9e2aa9fc1e3 SHA512 454cbf8e5c3cef8b80d5c0376f9a7fb3474c946a122f81338e7b087b87cf48de56564321e7fced635896c77b6454c1462e4981711e7d81769772102482ddac62 diff --git a/dev-lang/eisl/eisl-5.42.ebuild b/dev-lang/eisl/eisl-5.42.ebuild new file mode 100644 index 000000000000..473c6f75754e --- /dev/null +++ b/dev-lang/eisl/eisl-5.42.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 +} diff --git a/dev-lang/eisl/files/eisl-5.42-makefile.patch b/dev-lang/eisl/files/eisl-5.42-makefile.patch new file mode 100644 index 000000000000..770b78af7e6c --- /dev/null +++ b/dev-lang/eisl/files/eisl-5.42-makefile.patch @@ -0,0 +1,23 @@ +--- a/makefile ++++ b/makefile +@@ -69,7 +69,7 @@ ifeq ($(DEBUG),1) + LDFLAGS += -fsanitize=undefined + endif + else +- CFLAGS += -O3 -flto -DNDEBUG=1 -DWITHOUT_NANA=1 ++ CFLAGS += -DNDEBUG=1 -DWITHOUT_NANA=1 + SRC_CII += cii/src/mem.c + endif + OBJ_CII := $(SRC_CII:.c=.o) +@@ -87,11 +87,8 @@ ifeq ($(shell uname -n),raspberrypi) + CFLAGS += -D__rpi__ + endif + ifneq ($(DEBUG),1) +- LDFLAGS += -flto + ifeq ($(shell uname),Darwin) + LDFLAGS += -Wl,-S,-x +- else +- LDFLAGS += -s + endif + endif + PREFIX := /usr/local