From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3E7CF1581D3 for ; Thu, 23 May 2024 09:14:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D57AE29FC; Thu, 23 May 2024 09:14:24 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 146F5E29FC for ; Thu, 23 May 2024 09:14:24 +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 35F7A33BF60 for ; Thu, 23 May 2024 09:14:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6764D1B39 for ; Thu, 23 May 2024 09:14:21 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1716455640.e69eec6b240d527703eaaddee85febe4acf9470c.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/ginac/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/ginac/ginac-1.8.7-r3.ebuild X-VCS-Directories: sci-mathematics/ginac/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: e69eec6b240d527703eaaddee85febe4acf9470c X-VCS-Branch: master Date: Thu, 23 May 2024 09:14:21 +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: c9885649-83a1-41c7-be9c-babcbeb7efac X-Archives-Hash: c144ebcf7fc0e3c5151aeaed07c8103d commit: e69eec6b240d527703eaaddee85febe4acf9470c Author: Mario Haustein hrz tu-chemnitz de> AuthorDate: Wed May 22 19:16:31 2024 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Thu May 23 09:14:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e69eec6b sci-mathematics/ginac: BDEPEND on media-gfx/fig2dev media-gfx/fig2dev now provides ghostscript support Bug: https://bugs.gentoo.org/926432 Signed-off-by: Mario Haustein hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/36779 Signed-off-by: Florian Schmaus gentoo.org> sci-mathematics/ginac/ginac-1.8.7-r3.ebuild | 76 +++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/sci-mathematics/ginac/ginac-1.8.7-r3.ebuild b/sci-mathematics/ginac/ginac-1.8.7-r3.ebuild new file mode 100644 index 000000000000..aa58de66a5af --- /dev/null +++ b/sci-mathematics/ginac/ginac-1.8.7-r3.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..12} ) + +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 ~amd64-linux ~x86-linux" +IUSE="doc examples" + +RDEPEND=">=sci-libs/cln-1.2.2" +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 +}