From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/chicken/
Date: Fri, 19 Nov 2021 13:46:32 +0000 (UTC) [thread overview]
Message-ID: <1637329539.93ee9039a9d5aad1b58cfa314e4edd9a12c83bc4.hattya@gentoo> (raw)
commit: 93ee9039a9d5aad1b58cfa314e4edd9a12c83bc4
Author: Christopher Bayliss <cjb <AT> cjb <DOT> sh>
AuthorDate: Mon Sep 14 04:49:02 2020 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Fri Nov 19 13:45:39 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93ee9039
dev-scheme/chicken: version bump
Closes: https://bugs.gentoo.org/696402
Closes: https://bugs.gentoo.org/742413
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Christopher Bayliss <cjb <AT> cjb.sh>
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
dev-scheme/chicken/Manifest | 1 +
dev-scheme/chicken/chicken-5.2.0.ebuild | 66 +++++++++++++++++++++++++++++++++
2 files changed, 67 insertions(+)
diff --git a/dev-scheme/chicken/Manifest b/dev-scheme/chicken/Manifest
index 6fa1f0039689..b70f6dff065d 100644
--- a/dev-scheme/chicken/Manifest
+++ b/dev-scheme/chicken/Manifest
@@ -1 +1,2 @@
DIST chicken-4.13.0.tar.gz 4244358 BLAKE2B c40a28346fb6cd144e33605235ed022d48103edd1db1ae35e109e266989caaa0bf8fabf75e8b9cb740ac8bf4e3fba74218763573485127acacd001b8767cd088 SHA512 02c2035b4f81da6f4af2d246361ce8debdc9d9c663c3f43b7afb9abbf1ff591a2bb8fa144511b4d747a373dea4dcd9c10cac48466bf97032db76f3830c08709d
+DIST chicken-5.2.0.tar.gz 4052305 BLAKE2B c86284af04cd6693c5c470f6861806e388eb898935e3b34b988e30738b9f0458943dc737dadd383d94b8919079166f743f3f4c9c8c613b3ff024da77d6584875 SHA512 0290362900a5be0004774a73756c2b0f617152004571a3e5e5bf43ea55343e694f98bf7fb328f24d4fc50cc33377b25af382b9ec9e8a790c5d873d2eaf0cc2ce
diff --git a/dev-scheme/chicken/chicken-5.2.0.ebuild b/dev-scheme/chicken/chicken-5.2.0.ebuild
new file mode 100644
index 000000000000..2dbaea1fa525
--- /dev/null
+++ b/dev-scheme/chicken/chicken-5.2.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Scheme interpreter and native Scheme to C compiler"
+HOMEPAGE="http://www.call-cc.org/"
+SRC_URI="http://code.call-cc.org/releases/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
+IUSE="doc"
+
+DEPEND=""
+RDEPEND=""
+
+src_prepare() {
+ default
+
+ # Because chicken's Upstream is in the habit of using variables that
+ # portage also uses :( eg. $ARCH and $A
+ sed "s,A\(\s?=\|)\),chicken&," \
+ -i Makefile.cross-linux-mingw defaults.make rules.make || die
+ sed "s,ARCH,zARCH," \
+ -i Makefile.* defaults.make rules.make || die
+ sed -e "s,\$(PREFIX)/lib,\$(PREFIX)/$(get_libdir)," \
+ -e "s,\$(DATADIR)/doc,\$(SHAREDIR)/doc/${PF}," \
+ -i defaults.make || die
+
+ if ! use doc; then
+ rm -rf manual-html || die
+ # Without this Makefile tries to re-bootstrap the compiler
+ touch build-version.c
+ fi
+}
+
+src_compile() {
+ emake -j1 PLATFORM=linux PREFIX=/usr C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \
+ LINKER_OPTIONS="${LDFLAGS}" \
+ HOSTSYSTEM="${CBUILD}"
+}
+
+src_test() {
+ cd tests
+ ./runtests.sh || die
+}
+
+src_install() {
+ # still can't run make in parallel for the install target
+ emake -j1 PLATFORM=linux PREFIX=/usr DESTDIR="${D}" HOSTSYSTEM="${CBUILD}" \
+ LINKER_OPTIONS="${LDFLAGS}" install
+
+ rm "${D}"/usr/share/doc/${PF}/LICENSE || die
+
+ # README is installed by Makefile
+ dodoc NEWS
+
+ # Let portage track this file (created later)
+ touch "${D}"/usr/$(get_libdir)/chicken/11/modules.db || die
+}
+
+pkg_postinst() {
+ # Create modules.db file in ${ROOT}
+ chicken-install -update-db || die
+}
next reply other threads:[~2021-11-19 13:46 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-19 13:46 Akinori Hattori [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-01 1:11 [gentoo-commits] repo/gentoo:master commit in: dev-scheme/chicken/ Sam James
2024-10-01 1:11 Sam James
2024-10-01 1:11 Sam James
2024-10-01 1:11 Sam James
2024-08-24 15:44 Maciej Barć
2022-05-23 14:26 Jakov Smolić
2022-05-23 14:05 Yixun Lan
2022-04-16 2:10 Akinori Hattori
2022-04-02 15:52 Agostino Sarubbo
2022-04-02 8:03 Agostino Sarubbo
2022-04-01 12:06 Arthur Zamarin
2022-04-01 5:15 Arthur Zamarin
2021-11-28 13:10 Akinori Hattori
2021-11-19 15:51 Akinori Hattori
2021-11-19 13:46 Akinori Hattori
2021-11-19 13:46 Akinori Hattori
2021-11-19 13:46 Akinori Hattori
2021-11-19 13:46 Akinori Hattori
2021-11-19 13:46 Akinori Hattori
2018-06-11 15:07 Aaron Bauman
2018-03-31 10:11 Tobias Klausmann
2018-03-18 10:33 Sergei Trofimovich
2018-03-15 21:22 Mikle Kolyada
2018-03-15 21:07 Maxim Koltsov
2018-03-15 20:39 Maxim Koltsov
2016-10-05 7:57 Patrice Clement
2015-12-21 14:25 Patrick Lauer
2015-11-15 1:03 Ian Delaney
2015-11-13 9:48 Agostino Sarubbo
2015-11-04 14:26 Agostino Sarubbo
2015-11-01 13:10 Mikle Kolyada
2015-10-23 10:34 Agostino Sarubbo
2015-10-21 12:28 Tobias Klausmann
2015-10-17 0:48 Ian Delaney
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=1637329539.93ee9039a9d5aad1b58cfa314e4edd9a12c83bc4.hattya@gentoo \
--to=hattya@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