commit: 86d2893c8a60021b98f1fbe78a99d59be42eeb4b
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 21 11:27:27 2026 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sat Feb 21 11:27:27 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86d2893c
sci-mathematics/ginac: bump to 1.8.10
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
sci-mathematics/ginac/Manifest | 1 +
sci-mathematics/ginac/ginac-1.8.10.ebuild | 76 +++++++++++++++++++++++++++++++
2 files changed, 77 insertions(+)
diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
index 1c6a4ab2cc6a..528740ace1c5 100644
--- a/sci-mathematics/ginac/Manifest
+++ b/sci-mathematics/ginac/Manifest
@@ -1 +1,2 @@
+DIST ginac-1.8.10.tar.bz2 1517978 BLAKE2B
be42edf5eaff8b4a5fe32f122509b63acf233dcd2ad499e9614c9764c729ec6278fa176418628c6b1ef576757897ffce251e5b3ab577a91ed52d09625f378c7c
SHA512
d817a57bab19e2c9a2163ff0eef649b20df5c6b4651b926449f16b9475fab636a790cf26dbe40d9a6f96000124133f6a8db1bc73d2683c9c062aa8ca68edf1f8
DIST ginac-1.8.9.tar.bz2 1173214 BLAKE2B
32126ba90b786a056d1a3e07d67611d18ee6a671e84d356fed113b7da744f2bc76cd497234d797d53d7bbe9680ba3eea2bce6111d99293c5230f1bb8ba9fec3c
SHA512
33e7a74458a220bb132f42a42b785c799cf0b14c5da66ab5b54cbc8359aa8f97b9a897f62387f3f79b07418bbae7937c8e14b3d8e4f79f69d3866108644a80b1
diff --git a/sci-mathematics/ginac/ginac-1.8.10.ebuild
b/sci-mathematics/ginac/ginac-1.8.10.ebuild
new file mode 100644
index 000000000000..ba56b712af78
--- /dev/null
+++ b/sci-mathematics/ginac/ginac-1.8.10.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit python-any-r1
+
+DESCRIPTION="C++ library and tools for symbolic calculations"
+HOMEPAGE="https://www.ginac.de/"
+SRC_URI="http://www.ginac.de/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc examples"
+
+RDEPEND="sci-libs/cln"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ ${PYTHON_DEPS}
+ virtual/pkgconfig
+ doc? (
+ app-text/doxygen
+ dev-texlive/texlive-fontsrecommended
+ >=media-gfx/fig2dev-3.2.9-r3[ghostscript]
+ dev-texlive/texlive-latexextra
+ virtual/texi2dvi
+ )"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.8.2-pkgconfig.patch )
+
+src_configure() {
+ econf \
+ --disable-rpath \
+ --disable-static
+}
+
+src_compile() {
+ emake
+
+ if use doc; then
+ local -x VARTEXFONTS="${T}"/fonts
+ emake -C doc/reference html pdf
+ emake -C doc/tutorial ginac.pdf ginac.html
+ fi
+}
+
+src_install() {
+ default
+
+ if use doc; then
+ pushd doc >/dev/null || die
+ newdoc tutorial/ginac.pdf tutorial.pdf
+ newdoc reference/reference.pdf reference.pdf
+
+ docinto html/reference
+ dodoc -r reference/html_files/.
+
+ docinto html
+ newdoc tutorial/ginac.html tutorial.html
+ popd >/dev/null || die
+ fi
+
+ if use examples; then
+ pushd doc >/dev/null || die
+ docinto examples
+ dodoc examples/*.cpp examples/ginac-examples.*
+ docompress -x /usr/share/doc/${PF}/examples
+ popd >/dev/null || die
+ fi
+
+ # no static archives
+ find "${ED}" -name '*.la' -delete || die
+}