From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1686353-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (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 266E6158042 for <garchives@archives.gentoo.org>; Sun, 3 Nov 2024 13:05:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6DE88E098E; Sun, 3 Nov 2024 13:05:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 54B03E098E for <gentoo-commits@lists.gentoo.org>; Sun, 3 Nov 2024 13:05:51 +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 942E2340C3C for <gentoo-commits@lists.gentoo.org>; Sun, 3 Nov 2024 13:05:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3073FF42 for <gentoo-commits@lists.gentoo.org>; Sun, 3 Nov 2024 13:05:49 +0000 (UTC) From: "Akinori Hattori" <hattya@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Akinori Hattori" <hattya@gentoo.org> Message-ID: <1730639075.f5f2a4d99d55dea5dc383b7bfd6049e76e8c6afd.hattya@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/stklos/, dev-scheme/stklos/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-scheme/stklos/Manifest dev-scheme/stklos/files/stklos-2.10-gentoo.patch dev-scheme/stklos/stklos-2.10.ebuild X-VCS-Directories: dev-scheme/stklos/files/ dev-scheme/stklos/ X-VCS-Committer: hattya X-VCS-Committer-Name: Akinori Hattori X-VCS-Revision: f5f2a4d99d55dea5dc383b7bfd6049e76e8c6afd X-VCS-Branch: master Date: Sun, 3 Nov 2024 13:05:49 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 881699d2-38ce-404a-bf46-db040cb7d3c0 X-Archives-Hash: 91a1c090e87dc555bbf4d5ce9d08d2e5 commit: f5f2a4d99d55dea5dc383b7bfd6049e76e8c6afd Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> AuthorDate: Sun Nov 3 13:04:35 2024 +0000 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> CommitDate: Sun Nov 3 13:04:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5f2a4d9 dev-scheme/stklos: new upstream release Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> dev-scheme/stklos/Manifest | 1 + dev-scheme/stklos/files/stklos-2.10-gentoo.patch | 70 ++++++++++++++++++++++++ dev-scheme/stklos/stklos-2.10.ebuild | 56 +++++++++++++++++++ 3 files changed, 127 insertions(+) diff --git a/dev-scheme/stklos/Manifest b/dev-scheme/stklos/Manifest index 88e50b32a85c..7e8cc2cc10c2 100644 --- a/dev-scheme/stklos/Manifest +++ b/dev-scheme/stklos/Manifest @@ -1 +1,2 @@ DIST stklos-2.00.tar.gz 9661074 BLAKE2B c43918f182e8502d5ea4dd0a2d42ea4e788a573ca1184d4e3af792f3932b7a626280110c30bffa9771d73ed7fdc2a29db19bcd7ce8d5a219c1c0b9ef19195c6d SHA512 b98ad62713cb5e85d26378e73e2198d44676a0103c8e8444490cc555defc5b058652c514bdf3a27b0cc34c71b0b72d9f5fc440f260f6aa68064c5adda6571d5f +DIST stklos-2.10.tar.gz 10280638 BLAKE2B d08b3ca4422e497a4adba1d810c97af6cfa262443214127eb0c82bedb21885bc1dcea5cf8f13387a1bfaf9182a9590d9557368ee2840d5c11d4b15f5e0ffe427 SHA512 41981794bd2a8a600a03b543e87c02d1072c8dd3449704d6bb55586cc45e50c4654d8dd3f2b9ac1efc89cee41da8d3667b895d641ff1817a8d14944b1dcd66cd diff --git a/dev-scheme/stklos/files/stklos-2.10-gentoo.patch b/dev-scheme/stklos/files/stklos-2.10-gentoo.patch new file mode 100644 index 000000000000..f45a44ae4347 --- /dev/null +++ b/dev-scheme/stklos/files/stklos-2.10-gentoo.patch @@ -0,0 +1,70 @@ +--- a/lib/Lalr.d/Makefile.am ++++ b/lib/Lalr.d/Makefile.am +@@ -33,7 +33,7 @@ + all: lalr.ostk calc + + install-sources: install +- mkdir -p $(schemedir) ++ mkdir -p $(DESTDIR)$(schemedir) + cp lalr.stk $(DESTDIR)$(schemedir) + + uninstall-hook: +--- a/lib/scheme/Makefile.am ++++ b/lib/scheme/Makefile.am +@@ -208,7 +208,7 @@ + @for i in $(SUBDIRS) ;do \ + (cd $$i && $(MAKE) install-sources)\ + done +- cp $(scheme_sources) $(schemedir) ++ cp $(scheme_sources) $(DESTDIR)$(schemedir) + + install-data-hook: + (cd regex && $(MAKE) install) +--- a/lib/scheme/vector/Makefile.am ++++ b/lib/scheme/vector/Makefile.am +@@ -130,8 +130,8 @@ + #====================================================================== + + install-sources: +- mkdir -p $(srfidir) +- cp $(srfi_sources) $(srfi_interm) $(srfidir) ++ mkdir -p $(DESTDIR)$(srfidir) ++ cp $(srfi_sources) $(srfi_interm) $(DESTDIR)$(srfidir) + + # we also clean the TAG.stk files -- $(srfi-interm) --, which are NOT + # srfi_OBJS (should not be installed with other objects): +--- a/lib/stklos/Makefile.am ++++ b/lib/stklos/Makefile.am +@@ -77,7 +77,7 @@ + + # ====================================================================== + install-sources: +- cp $(scheme_sources) $(schemedir) ++ cp $(scheme_sources) $(DESTDIR)$(schemedir) + + clean: + rm -f $(ALL_OBJS) *-incl.c *~ +--- a/lib/streams/Makefile.am ++++ b/lib/streams/Makefile.am +@@ -75,7 +75,7 @@ + + # ====================================================================== + install-sources: +- install $(scheme_sources) $(schemedir) ++ install $(scheme_sources) $(DESTDIR)$(schemedir) + + clean: + rm -f $(ALL_OBJS) *-incl.c *~ +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -108,8 +108,8 @@ + + + install-exec-hook: +- mv $(bindir)/stklos $(bindir)/stklos-@VERSION@ +- ln -s stklos-@VERSION@ $(bindir)/stklos ++ mv $(DESTDIR)$(bindir)/stklos $(DESTDIR)$(bindir)/stklos-@VERSION@ ++ ln -s stklos-@VERSION@ $(DESTDIR)$(bindir)/stklos + + + doc: $(DOCDB) diff --git a/dev-scheme/stklos/stklos-2.10.ebuild b/dev-scheme/stklos/stklos-2.10.ebuild new file mode 100644 index 000000000000..17f5eaa272a9 --- /dev/null +++ b/dev-scheme/stklos/stklos-2.10.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit autotools toolchain-funcs + +DESCRIPTION="Fast and light Scheme implementation" +HOMEPAGE="https://stklos.net/" +SRC_URI="https://${PN}.net/download/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="threads" + +RDEPEND="dev-libs/boehm-gc[threads?] + dev-libs/gmp:= + dev-libs/libffi:= + dev-libs/libpcre2:=" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) +DOCS=( AUTHORS ChangeLog NEWS.md PACKAGES-USED {PORTING-NOTES,README}.md SUPPORTED-SRFIS ) + +src_prepare() { + default + + eautoreconf + export LD="$(tc-getCC)" + export STKLOS_CONFDIR="${T}"/.config/${PN} +} + +src_configure() { + econf \ + --datadir="${EPREFIX}"/usr/share/${PN}/${PV} \ + --libdir="${EPREFIX}"/usr/$(get_libdir)/${PN}/${PV} \ + --enable-threads=$(usex threads pthreads none) \ + --without-provided-bignum \ + --without-provided-ffi \ + --without-provided-gc \ + --without-provided-regexp +} + +src_compile() { + emake +} + +src_test() { + emake -j1 check +} + +src_install() { + default + einstalldocs +}