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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8FB8415800A for ; Tue, 29 Aug 2023 11:48:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1A8C2BC014; Tue, 29 Aug 2023 11:48:23 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B39B02BC014 for ; Tue, 29 Aug 2023 11:48:23 +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 92ACA335CD4 for ; Tue, 29 Aug 2023 11:48:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B9E9D10CF for ; Tue, 29 Aug 2023 11:48:20 +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: <1693309687.f9022e15a1d75f090f06ee6299d73364d0284065.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/ginac/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/ginac/Manifest sci-mathematics/ginac/ginac-1.8.7.ebuild X-VCS-Directories: sci-mathematics/ginac/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: f9022e15a1d75f090f06ee6299d73364d0284065 X-VCS-Branch: master Date: Tue, 29 Aug 2023 11:48:20 +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: e1c563d8-07ba-4010-a65f-92f5d08cf4f5 X-Archives-Hash: 56354885689de23eed38c095a4a39815 commit: f9022e15a1d75f090f06ee6299d73364d0284065 Author: Andrey Grozin gentoo org> AuthorDate: Tue Aug 29 11:48:07 2023 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Tue Aug 29 11:48:07 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9022e15 sci-mathematics/ginac: bump to 1.8.7 Signed-off-by: Andrey Grozin gentoo.org> sci-mathematics/ginac/Manifest | 1 + sci-mathematics/ginac/ginac-1.8.7.ebuild | 76 ++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest index 56613b5a6eaa..ff11e9077436 100644 --- a/sci-mathematics/ginac/Manifest +++ b/sci-mathematics/ginac/Manifest @@ -1 +1,2 @@ DIST ginac-1.8.6.tar.bz2 1152914 BLAKE2B 3d3d655cde0f5444fa01b0dde62a48d3c42b5a3b27e00d9608c56677fd031e639b7e4e6ac7c6cf68f807033cbe81432148d5525d76ad176b8dcd0d80aece07a1 SHA512 b10402d722e8216374dabdee9eba9e6de3b6afebd291a368697eb8efcd0eb8148237628bfb74713771c99977ccc46d972bacccaead3fcf35a1ab328744a7fb48 +DIST ginac-1.8.7.tar.bz2 1153952 BLAKE2B 272a9603741d43d4ba4f7ac3478aac405490cf747e20a5f77d7d6c672c6aee972ab77ddf4cd68daa3c432ea0b02a46ba295311967c2c5a2135bf34070a25f272 SHA512 29a5dbe1fa8a40668a32eb0065d1f676b074222d76ed70a05c5841a4be92c4b1a019ae3fc820e1c7007e641ef8ef94d00adab901f89673df0d372a4c8af8e51a diff --git a/sci-mathematics/ginac/ginac-1.8.7.ebuild b/sci-mathematics/ginac/ginac-1.8.7.ebuild new file mode 100644 index 000000000000..4d0ac0c66bb6 --- /dev/null +++ b/sci-mathematics/ginac/ginac-1.8.7.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit python-any-r1 + +DESCRIPTION="C++ library and tools for symbolic calculations" +SRC_URI="http://www.ginac.de/${P}.tar.bz2" +HOMEPAGE="https://www.ginac.de/" + +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-doc/doxygen + dev-texlive/texlive-fontsrecommended + media-gfx/transfig + 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 +}