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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 45CCC139368 for ; Mon, 9 Aug 2021 18:11:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B914E0839; Mon, 9 Aug 2021 18:11:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1F880E0839 for ; Mon, 9 Aug 2021 18:11:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 68750342CB7 for ; Mon, 9 Aug 2021 18:11:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C44D2744 for ; Mon, 9 Aug 2021 18:11:13 +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: <1628532622.20027f5495c8b7e0cefb5cb8827fdc655fedb71b.xgqt@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-scheme/cyclone/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-scheme/cyclone/Manifest dev-scheme/cyclone/cyclone-0.31.0.ebuild X-VCS-Directories: dev-scheme/cyclone/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 20027f5495c8b7e0cefb5cb8827fdc655fedb71b X-VCS-Branch: dev Date: Mon, 9 Aug 2021 18:11:13 +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: fcbb6e32-334a-4fe2-998c-5297035bfbe3 X-Archives-Hash: 9f54054eac91ba15411a83b7d11b36ce commit: 20027f5495c8b7e0cefb5cb8827fdc655fedb71b Author: Maciej Barć riseup net> AuthorDate: Mon Aug 9 18:02:39 2021 +0000 Commit: Maciej Barć riseup net> CommitDate: Mon Aug 9 18:10:22 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=20027f54 dev-scheme/cyclone: bump to 0.31.0 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Maciej Barć riseup.net> dev-scheme/cyclone/Manifest | 1 + dev-scheme/cyclone/cyclone-0.31.0.ebuild | 55 ++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-scheme/cyclone/Manifest b/dev-scheme/cyclone/Manifest index 7d9a1e32b..c604cb7a3 100644 --- a/dev-scheme/cyclone/Manifest +++ b/dev-scheme/cyclone/Manifest @@ -1 +1,2 @@ DIST cyclone-0.28.0.tar.gz 3683280 BLAKE2B 7f5e5982104094bbadc9cde545b3d9d21b3f000136ff07543b4fd4f8a5e79799b8adf8c480bc65f15645e62ec9ae5cccc9c5ae9305334ae2ef080eab6d730045 SHA512 e106a0ef779a4829b729a928e30cf80409e6fe6bb14859c595098e0bfe18fcd5d9ba8859d607a55ec2f97b2c58ec8ccb3405b41de34044994441889718c6caec +DIST cyclone-0.31.0.tar.gz 3936909 BLAKE2B 6439501caa0cb92fe2bb5c59b452b13ac4206c62ce4ddfb3e459c1160ee0904b4720f3b8506b71eab67841b72a1b96ffc31283946fc91da285c8ba7ca75d4d4d SHA512 f0a5d7c6890183ccab65028f43be2080dcf7d44b80a254f176ffa034c04a2701266febbc3f91072e58175bc84eb86a839dab1dbb3674868128ef3d8e650c91c9 diff --git a/dev-scheme/cyclone/cyclone-0.31.0.ebuild b/dev-scheme/cyclone/cyclone-0.31.0.ebuild new file mode 100644 index 000000000..5e0340647 --- /dev/null +++ b/dev-scheme/cyclone/cyclone-0.31.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Cyclone is a self-hosting Scheme to C compiler +# cyclone-bootstrap is the Cyclone SOURCE transpiled by it to C + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="R7RS Scheme to C compiler" +HOMEPAGE="http://justinethier.github.io/cyclone/" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/justinethier/${PN}-bootstrap.git" +else + SRC_URI="https://github.com/justinethier/${PN}-bootstrap/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}-bootstrap-${PV}" +fi + +LICENSE="MIT" +SLOT="0" + +DEPEND="dev-libs/concurrencykit" +RDEPEND="${DEPEND}" + +src_configure() { + export CYC_GCC_OPT_FLAGS="${CFLAGS}" + append-cflags -fPIC -Iinclude + append-ldflags -L. + tc-export AR CC RANLIB +} + +src_compile() { + local myopts=( + PREFIX="${EPREFIX}/usr" + CYC_GCC_OPT_FLAGS="${CYC_GCC_OPT_FLAGS}" + AR="$(tc-getAR)" + CC="$(tc-getCC)" + RANLIB="$(tc-getRANLIB)" + ) + emake "${myopts[@]}" +} + +src_test() { + emake LDFLAGS="" test +} + +src_install() { + einstalldocs + + emake PREFIX="/usr" DESTDIR="${D}" install +}