From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4D823158086 for ; Thu, 2 Dec 2021 13:20:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 233B92BC004; Thu, 2 Dec 2021 13:20:06 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E6F6DE086A for ; Thu, 2 Dec 2021 13:20:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ACCC9340CF6 for ; Thu, 2 Dec 2021 13:20:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D4430200 for ; Thu, 2 Dec 2021 13:20:00 +0000 (UTC) From: "Akinori Hattori" 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" Message-ID: <1638451045.bde7aec9acbad4782f5f69b79a831ddfc717ef94.hattya@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/tinyscheme/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-scheme/tinyscheme/metadata.xml dev-scheme/tinyscheme/tinyscheme-1.41-r1.ebuild dev-scheme/tinyscheme/tinyscheme-1.41.ebuild X-VCS-Directories: dev-scheme/tinyscheme/ X-VCS-Committer: hattya X-VCS-Committer-Name: Akinori Hattori X-VCS-Revision: bde7aec9acbad4782f5f69b79a831ddfc717ef94 X-VCS-Branch: master Date: Thu, 2 Dec 2021 13:20:00 +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: 28453bdf-80b8-4c1d-a446-a8fd85857e3e X-Archives-Hash: dac67ae13fa51bebc14e2bd37b6bd581 commit: bde7aec9acbad4782f5f69b79a831ddfc717ef94 Author: Akinori Hattori gentoo org> AuthorDate: Thu Dec 2 13:17:25 2021 +0000 Commit: Akinori Hattori gentoo org> CommitDate: Thu Dec 2 13:17:25 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bde7aec9 dev-scheme/tinyscheme: update to EAPI 8 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Akinori Hattori gentoo.org> dev-scheme/tinyscheme/metadata.xml | 9 +++- dev-scheme/tinyscheme/tinyscheme-1.41-r1.ebuild | 50 ++++++++++++++++++++ dev-scheme/tinyscheme/tinyscheme-1.41.ebuild | 62 ------------------------- 3 files changed, 58 insertions(+), 63 deletions(-) diff --git a/dev-scheme/tinyscheme/metadata.xml b/dev-scheme/tinyscheme/metadata.xml index ac49f95d58ff..71fee92b23b1 100644 --- a/dev-scheme/tinyscheme/metadata.xml +++ b/dev-scheme/tinyscheme/metadata.xml @@ -6,7 +6,14 @@ Gentoo Scheme Project -TinyScheme is a lightweight Scheme interpreter that implements as large a subset of R5RS as was possible without getting very large and complicated. It is meant to be used as an embedded scripting interpreter for other programs. As such, it does not offer IDEs or extensive toolkits although it does sport a small top-level loop, included conditionally. A lot of functionality in TinyScheme is included conditionally, to allow developers freedom in balancing features and footprint. + TinyScheme is a lightweight Scheme interpreter that implements as large + a subset of R5RS as was possible without getting very large and + complicated. It is meant to be used as an embedded scripting + interpreter for other programs. As such, it does not offer IDEs or + extensive toolkits although it does sport a small top-level loop, + included conditionally. A lot of functionality in TinyScheme is + included conditionally, to allow developers freedom in balancing + features and footprint. tinyscheme diff --git a/dev-scheme/tinyscheme/tinyscheme-1.41-r1.ebuild b/dev-scheme/tinyscheme/tinyscheme-1.41-r1.ebuild new file mode 100644 index 000000000000..65386c50ba9e --- /dev/null +++ b/dev-scheme/tinyscheme/tinyscheme-1.41-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit flag-o-matic multilib toolchain-funcs + +DESCRIPTION="Lightweight scheme interpreter" +HOMEPAGE="https://tinyscheme.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="static-libs" + +RDEPEND="" +DEPEND="" + +PATCHES=( "${FILESDIR}"/${PN}-makefile.patch ) +DOCS=( CHANGES {Manual,MiniSCHEMETribute,hack}.txt ) + +src_compile() { + emake \ + AR=$(tc-getAR) \ + CC=$(tc-getCC) \ + LDFLAGS="${LDFLAGS}" +} + +src_install() { + local tslib=lib${PN}$(get_libname) + local tslibx=lib${PN}$(get_libname ${PV}) + + newbin scheme ${PN} + + newlib.so ${tslib} ${tslibx} + dosym ${tslibx} /usr/$(get_libdir)/${tslib} + use static-libs && dolib.a lib${PN}.a + einstalldocs + + # bug #328967 + insinto /usr/include + newins scheme.h ${PN}.h + + local INIT_DIR=/usr/share/${PN} + insinto ${INIT_DIR} + doins init.scm + dodir /etc/env.d + echo "TINYSCHEMEINIT=\"${EPREFIX}${INIT_DIR}/init.scm\"" >"${ED}"/etc/env.d/50${PN} +} diff --git a/dev-scheme/tinyscheme/tinyscheme-1.41.ebuild b/dev-scheme/tinyscheme/tinyscheme-1.41.ebuild deleted file mode 100644 index e1f5b2da4cdc..000000000000 --- a/dev-scheme/tinyscheme/tinyscheme-1.41.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit epatch flag-o-matic multilib toolchain-funcs - -DESCRIPTION="Lightweight scheme interpreter" -HOMEPAGE="https://tinyscheme.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -#KEYWORDS="~amd64 ~ppc ~x86 ~ppc-macos ~x64-macos" -KEYWORDS="amd64 ppc x86" -IUSE="static-libs" - -DEPEND="" -RDEPEND="" - -src_prepare() { - - epatch "${FILESDIR}"/${PN}-makefile.patch - - if [[ ${CHOST} == *-darwin* ]] ; then - append-flags -DOSX - sed -i \ - -e 's/SOsuf=so/SOsuf=dylib/' \ - -e "s|-Wl,-soname=|-Wl,-install_name=${EPREFIX}/usr/lib/|" \ - makefile || die - fi -} - -src_compile() { - emake LDFLAGS="${LDFLAGS}"\ - AR=$(tc-getAR) CC=$(tc-getCC) -} - -src_install() { - - local tslib=libtinyscheme$(get_libname) - local tslibx=libtinyscheme$(get_libname ${PV}) - - newbin scheme ${PN} - - newlib.so ${tslib} ${tslibx} - dosym ${tslibx} /usr/$(get_libdir)/${tslib} - dodoc Manual.txt - - if use static-libs; then - dolib.a libtinyscheme.a - fi - - # Bug 328967: dev-scheme/tinyscheme-1.39-r1 doesn't install header file - insinto /usr/include/ - newins scheme.h tinyscheme.h - - local INIT_DIR=/usr/share/${PN}/ - insinto ${INIT_DIR} - doins init.scm - dodir /etc/env.d/ && echo "TINYSCHEMEINIT=\"${EPREFIX}${INIT_DIR}init.scm\"" > "${ED}"/etc/env.d/50tinyscheme -}