public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/cyclone/
Date: Wed, 14 Feb 2024 20:28:01 +0000 (UTC)	[thread overview]
Message-ID: <1707942479.baa89b6e6b5c5d72a6860bcb8c87acbba9e516bf.xgqt@gentoo> (raw)

commit:     baa89b6e6b5c5d72a6860bcb8c87acbba9e516bf
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 14 20:13:17 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Feb 14 20:27:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baa89b6e

dev-scheme/cyclone: bump to 0.36.0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/cyclone/Manifest              |  1 +
 dev-scheme/cyclone/cyclone-0.36.0.ebuild | 62 ++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/dev-scheme/cyclone/Manifest b/dev-scheme/cyclone/Manifest
index 528bc1469e61..2773ee76c5dd 100644
--- a/dev-scheme/cyclone/Manifest
+++ b/dev-scheme/cyclone/Manifest
@@ -1 +1,2 @@
 DIST cyclone-0.35.0.tar.gz 3955837 BLAKE2B 436399bd3d6f2233d9b613e059131195419ca25f0dab80cac19b14accdceffe481af68ba127d2cb4b4cc1d357e102f7548a98cf2e6c055ecd1d9a3248164b94e SHA512 9aabae2bdcccdf6873780947c41a3230b80a3a5e93c9797cdfe278ba971e2b43320edab31349403a7fb14416c92216395d76af2415c33fb28f041ab867f2d716
+DIST cyclone-0.36.0.tar.gz 3967729 BLAKE2B e546023734adfd277699b686d984cd55b4b0053795fbb6fbe90e7e5db65b795ed7a758c8b7b4f6b67ad2e5f7a89bbc87f77e384863f2c4cecd2f4bc860559e52 SHA512 477534602baa4acbae0450e664617ad70302a79c552005741080c4e4d2993805ff1d25703bd2c43c82764a477a4b26fb4b88c8787a82e99fa5a6fc88d9f914f2

diff --git a/dev-scheme/cyclone/cyclone-0.36.0.ebuild b/dev-scheme/cyclone/cyclone-0.36.0.ebuild
new file mode 100644
index 000000000000..c709f1965f91
--- /dev/null
+++ b/dev-scheme/cyclone/cyclone-0.36.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 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/v${PV}.tar.gz
+		-> ${P}.tar.gz"
+	S="${WORKDIR}/${PN}-bootstrap-${PV}"
+
+	KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="
+	dev-libs/concurrencykit
+"
+DEPEND="
+	${RDEPEND}
+"
+
+src_configure() {
+	export CYC_GCC_OPT_FLAGS="${CFLAGS}"
+
+	append-cflags -fPIC -Iinclude
+	append-ldflags -L.
+	tc-export AR CC RANLIB
+}
+
+src_compile() {
+	local -a myopts=(
+		PREFIX="/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() {
+	emake PREFIX="/usr" DESTDIR="${D}" install
+	einstalldocs
+}


             reply	other threads:[~2024-02-14 20:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-14 20:28 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-14 20:28 [gentoo-commits] repo/gentoo:master commit in: dev-scheme/cyclone/ Maciej Barć
2024-02-14 20:28 Maciej Barć
2024-02-14 20:28 Maciej Barć
2022-08-27 15:04 Maciej Barć
2022-08-27 15:04 Maciej Barć
2022-02-07  6:32 Sam James
2022-02-05  6:34 Sam James
2022-01-03 18:23 Maciej Barć
2022-01-03 18:22 Maciej Barć
2021-11-25 17:53 Maciej Barć

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1707942479.baa89b6e6b5c5d72a6860bcb8c87acbba9e516bf.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox