From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0146A1580E0 for ; Wed, 04 Jun 2025 09:43:21 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id E21DF343086 for ; Wed, 04 Jun 2025 09:43:20 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D3AA61102BE; Wed, 04 Jun 2025 09:43:19 +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 bobolink.gentoo.org (Postfix) with ESMTPS id C47BC1102BE for ; Wed, 04 Jun 2025 09:43:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 785CF34307D for ; Wed, 04 Jun 2025 09:43:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E1497B87 for ; Wed, 04 Jun 2025 09:43:17 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1749030184.cd340e17a04fe17d3d7548b0e8635a2ad4cc0bda.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/fricas/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/fricas/Manifest sci-mathematics/fricas/fricas-1.3.12.ebuild X-VCS-Directories: sci-mathematics/fricas/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: cd340e17a04fe17d3d7548b0e8635a2ad4cc0bda X-VCS-Branch: master Date: Wed, 04 Jun 2025 09:43:17 +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: e8bc8e6f-4f5b-49a5-bac3-726e20318f36 X-Archives-Hash: 9d5d589ad3bfe273d9d93c2801d75856 commit: cd340e17a04fe17d3d7548b0e8635a2ad4cc0bda Author: Andrey Grozin gentoo org> AuthorDate: Wed Jun 4 09:43:04 2025 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Wed Jun 4 09:43:04 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd340e17 sci-mathematics/fricas: bump to 1.3.12 Signed-off-by: Andrey Grozin gentoo.org> sci-mathematics/fricas/Manifest | 1 + sci-mathematics/fricas/fricas-1.3.12.ebuild | 98 +++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest index 7f5ab6e655a2..074fc21672ef 100644 --- a/sci-mathematics/fricas/Manifest +++ b/sci-mathematics/fricas/Manifest @@ -1 +1,2 @@ DIST fricas-1.3.11-full.tar.bz2 10937641 BLAKE2B 52bb467468de83dfbb8a61717356d74c605efe1174168c35af50d15232c8441457415ca2c88fd19356caec9f9ee29af556104f421dc0479f3ae635144432be7a SHA512 6166661866829764fdf02e84c08f3afd8f631a40c8c5340648640b4fa388641c703021f5006e135ac32e671786b1a75bc290039e929ef322c60a0ba0cb0212ac +DIST fricas-1.3.12-full.tar.bz2 10951028 BLAKE2B a88a9665ac003aaabf3aeb1a862a0402d781b22ffbb8a5fb95d5875ac459b86cd1f86c0160945898afa1bb88ca95f372ec73e9e58b73a3f7f75cb44f632571d7 SHA512 458505a41282e3aa874c70fe688a40296cb9a0d8053571d091a11df96c84ae5e8792524d83d156ccfecc915fa7c36b9dfa801cb68eaad36404aeccb673199358 diff --git a/sci-mathematics/fricas/fricas-1.3.12.ebuild b/sci-mathematics/fricas/fricas-1.3.12.ebuild new file mode 100644 index 000000000000..e491412059b5 --- /dev/null +++ b/sci-mathematics/fricas/fricas-1.3.12.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +VIRTUALX_REQUIRED="doc" +inherit virtualx elisp-common + +DESCRIPTION="FriCAS is a fork of Axiom computer algebra system" +HOMEPAGE="https://fricas.sourceforge.net/ + https://github.com/fricas/fricas + https://fricas.github.io/" +SRC_URI="https://downloads.sourceforge.net/${PN}/${PV}/${P}-full.tar.bz2" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="+sbcl cmucl gcl ecl clisp clozurecl X emacs gmp doc" +REQUIRED_USE="^^ ( sbcl cmucl gcl ecl clisp clozurecl ) + gmp? ( ^^ ( sbcl clozurecl ) )" +RDEPEND="sbcl? ( dev-lisp/sbcl:= ) + cmucl? ( dev-lisp/cmucl:= ) + gcl? ( dev-lisp/gcl:= ) + ecl? ( dev-lisp/ecl:= ) + clisp? ( dev-lisp/clisp:= ) + clozurecl? ( dev-lisp/clozurecl:= ) + X? ( x11-libs/libXpm x11-libs/libICE ) + emacs? ( >=app-editors/emacs-23.1:* ) + gmp? ( dev-libs/gmp:= )" +DEPEND="${RDEPEND} + doc? ( dev-texlive/texlive-basic + dev-texlive/texlive-latex + dev-texlive/texlive-latexrecommended + dev-texlive/texlive-latexextra + dev-texlive/texlive-mathscience + dev-tex/pgf )" + +# necessary for clisp and gcl +RESTRICT="strip" + +src_configure() { + local LISP GMP + use sbcl && LISP="sbcl --dynamic-space-size 4096" + use cmucl && LISP=lisp + use gcl && LISP=gcl + use ecl && LISP=ecl + use clisp && LISP=clisp + use clozurecl && LISP=ccl + + if use sbcl || use clozurecl + then GMP=$(use_enable gmp) + else GMP='' + fi + + # aldor is not yet in portage + econf --disable-aldor --with-lisp="${LISP}" $(use_with X x) ${GMP} +} + +src_compile() { + default + if use doc; then + pushd src/doc > /dev/null || die "pushd src/doc failed" + virtx emake book + popd > /dev/null + fi +} + +src_test() { + emake -j1 all-input +} + +src_install() { + emake -j1 DESTDIR="${D}" install + dodoc README.rst FAQ + + if use emacs; then + sed -e "s|(setq load-path (cons (quote \"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \ + -i "${D}"/usr/bin/efricas \ + || die "sed efricas failed" + elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el + elisp-make-site-file 64${PN}-gentoo.el + else + rm "${D}"/usr/bin/efricas || die "rm efricas failed" + fi + rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed" + + if use doc; then + dodoc src/doc/book.pdf + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +}