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/gambit/
Date: Sun, 22 Oct 2023 08:46:58 +0000 (UTC)	[thread overview]
Message-ID: <1697964414.44e61299cf841c28caa24949ce83fed0a27888a4.xgqt@gentoo> (raw)

commit:     44e61299cf841c28caa24949ce83fed0a27888a4
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 22 08:00:26 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Oct 22 08:46:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44e61299

dev-scheme/gambit: bump to 4.9.5

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

 dev-scheme/gambit/Manifest            |  1 +
 dev-scheme/gambit/gambit-4.9.5.ebuild | 95 +++++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)

diff --git a/dev-scheme/gambit/Manifest b/dev-scheme/gambit/Manifest
index 53e8c13c3b6a..a2368302bed5 100644
--- a/dev-scheme/gambit/Manifest
+++ b/dev-scheme/gambit/Manifest
@@ -1 +1,2 @@
 DIST gambit-4.9.4.tar.gz 15453486 BLAKE2B 59761f98fe380604b7b5d8be162769506536aaffb35e97c24a755b3cd62e2e72e830468add0ca098e87fba3d1716363b9125b0141dea4eee5608fa55abcbe2cf SHA512 f2963e5e33ad5cc773924cd1ac01bdf6ad68ba6514419583c4a94c0c878ae223c06c9a90b9058cec9c2237f905b6e3cd879360b04415473199a1a515ae4194ee
+DIST gambit-4.9.5.tar.gz 15859590 BLAKE2B d1b835928ce81259abc9fb2872fb7a521387cd3a8ceccd919a844d9c6543ab0796ab83c4f0ee5aac1c64ea4af0fb8310ba959214de6ff8f2e6e9ea683ab218c9 SHA512 7211f0734197b2ae84ded88efda3dd622c75ce76de6f4e299e54cb08b8e199e886f7ea778867eb7d2e358be660edf2fd0ae01d0fc5be9875176e84813c5fd702

diff --git a/dev-scheme/gambit/gambit-4.9.5.ebuild b/dev-scheme/gambit/gambit-4.9.5.ebuild
new file mode 100644
index 000000000000..e5ab7d8bab84
--- /dev/null
+++ b/dev-scheme/gambit/gambit-4.9.5.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic elisp-common
+
+DESCRIPTION="Gambit-C is a native Scheme to C compiler and interpreter"
+HOMEPAGE="http://www.iro.umontreal.ca/~gambit/
+	https://github.com/gambit/gambit/"
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+else
+	SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
+		-> ${P}.tar.gz"
+	S="${WORKDIR}/${PN}-tags-v${PV}"
+
+	KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="|| ( Apache-2.0 LGPL-2.1 )"
+SLOT="0"
+IUSE="emacs ssl static"
+
+RDEPEND="
+	ssl? ( dev-libs/openssl:0= )
+"
+DEPEND="
+	${RDEPEND}
+"
+BDEPEND="
+	app-text/ghostscript-gpl
+	emacs? ( >=app-editors/emacs-23.1:* )
+"
+
+DOCS=( INSTALL.txt README README.md )
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+	# bug #858254
+	filter-lto
+
+	local -a myconf=(
+		$(use_enable !static shared)
+		$(use_enable ssl openssl)
+		--enable-gnu-gcc-specific-options
+		--enable-gnu-gcc-no-strict-aliasing
+		--enable-single-host
+		--disable-absolute-shared-libs
+		--enable-type-checking
+	)
+	econf "${myconf[@]}"
+}
+
+src_compile() {
+	emake bootstrap
+
+	if use emacs ; then
+		elisp-compile misc/*.el
+	fi
+}
+
+src_test() {
+	cd tests || die
+
+	emake test{1..10}
+}
+
+src_install() {
+	emake DESTDIR="${ED}" install -j1
+
+	if use emacs ; then
+		elisp-install "${PN}" misc/*.el{,c}
+		elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+	fi
+
+	dodoc doc/gambit.{pdf,ps,txt}
+	einstalldocs
+
+	# Wrong install directory for this ELisp library.
+	rm "${ED}/usr/share/emacs/site-lisp/gambit.el" || die
+
+	keepdir "/usr/share/${PN}"
+}
+
+pkg_postinst() {
+	use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+	use emacs && elisp-site-regen
+}


             reply	other threads:[~2023-10-22  8:47 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-22  8:46 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-13 19:29 [gentoo-commits] repo/gentoo:master commit in: dev-scheme/gambit/ Arthur Zamarin
2023-12-13  0:37 Sam James
2023-10-26 13:13 Maciej Barć
2023-10-22  8:46 Maciej Barć
2023-10-22  8:46 Maciej Barć
2022-07-26 21:36 Maciej Barć
2022-04-02 15:52 Agostino Sarubbo
2022-04-02  8:03 Agostino Sarubbo
2022-01-28 21:15 Maciej Barć
2022-01-28 20:59 Maciej Barć
2022-01-28 20:59 Maciej Barć
2022-01-28 20:42 Maciej Barć
2022-01-28 20:42 Maciej Barć
2021-05-02 15:52 Mikle Kolyada
2021-01-06 22:31 Fabian Groffen
2019-09-08 10:42 Agostino Sarubbo
2019-09-07 21:07 Thomas Deutschmann
2019-07-13  9:12 Hans de Graaff
2018-12-29 14:19 Amy Liffey
2018-10-27  9:22 Amy Liffey
2018-03-19  7:02 Mikle Kolyada
2017-08-12 10:04 Amy Liffey
2017-08-12 10:04 Amy Liffey
2017-03-21  8:35 Amy Liffey
2015-08-11 21:06 Sebastian Pipping

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=1697964414.44e61299cf841c28caa24949ce83fed0a27888a4.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