From: "Andrey Grozin" <grozin@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/ginac/
Date: Thu, 18 Apr 2024 11:53:18 +0000 (UTC) [thread overview]
Message-ID: <1713441169.3950e0273aae9a4cfccaee65e8bcfb325a068a08.grozin@gentoo> (raw)
commit: 3950e0273aae9a4cfccaee65e8bcfb325a068a08
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 18 11:52:10 2024 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Thu Apr 18 11:52:49 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3950e027
sci-mathematics/ginac: BDEPEND on media-gfx/transfig
Closes: https://bugs.gentoo.org/926432
Closes: https://bugs.gentoo.org/929791
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
sci-mathematics/ginac/ginac-1.8.7-r2.ebuild | 76 +++++++++++++++++++++++++++++
1 file changed, 76 insertions(+)
diff --git a/sci-mathematics/ginac/ginac-1.8.7-r2.ebuild b/sci-mathematics/ginac/ginac-1.8.7-r2.ebuild
new file mode 100644
index 000000000000..457fed4b44a8
--- /dev/null
+++ b/sci-mathematics/ginac/ginac-1.8.7-r2.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/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
+}
next reply other threads:[~2024-04-18 11:53 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-18 11:53 Andrey Grozin [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-29 11:47 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/ginac/ Sam James
2024-05-23 9:14 Florian Schmaus
2023-12-16 9:28 Joonas Niilola
2023-11-13 7:34 Sam James
2023-11-12 12:28 Pacho Ramos
2023-08-29 11:48 Andrey Grozin
2023-06-09 15:06 Arthur Zamarin
2023-05-25 10:18 Andrey Grozin
2023-04-19 11:52 Sam James
2023-04-19 11:29 Sam James
2022-06-07 8:26 Jakov Smolić
2022-06-07 8:26 Jakov Smolić
2022-02-02 15:40 Andrey Grozin
2021-11-18 23:50 Georgy Yakovlev
2021-04-29 14:16 Andrey Grozin
2021-02-16 14:39 Andreas Sturmlechner
2021-02-09 21:30 Sam James
2021-02-09 9:48 Sam James
2021-01-31 19:24 David Seifert
2020-08-21 8:58 Andrey Grozin
2020-08-21 8:56 Andrey Grozin
2020-02-01 9:14 Andrey Grozin
2020-01-31 16:27 Andrey Grozin
2018-06-26 11:58 Andrey Grozin
2017-03-11 10:13 David Seifert
2017-02-05 20:52 Andrey Grozin
2016-06-25 20:14 Agostino Sarubbo
2016-05-13 14:51 Agostino Sarubbo
2016-01-02 18:09 Andrey Grozin
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=1713441169.3950e0273aae9a4cfccaee65e8bcfb325a068a08.grozin@gentoo \
--to=grozin@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