diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-19 12:05:02 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-19 12:05:02 +0100 |
commit | b6cfc0c19effe2d9f7b8ab303cd00636f16da253 (patch) | |
tree | a0158050dac0a7ebfb9df4f667ec6ad2dd185538 /sci-mathematics/ginac | |
parent | 2d01b3d133c0fbf17de8d7b47905585af88bd6e4 (diff) |
gentoo auto-resync : 19:04:2024 - 12:05:02
Diffstat (limited to 'sci-mathematics/ginac')
-rw-r--r-- | sci-mathematics/ginac/Manifest | 1 | ||||
-rw-r--r-- | sci-mathematics/ginac/ginac-1.8.7-r2.ebuild | 76 |
2 files changed, 77 insertions, 0 deletions
diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest index f8fe07a9dd29..f7d4675f2c60 100644 --- a/sci-mathematics/ginac/Manifest +++ b/sci-mathematics/ginac/Manifest @@ -1,4 +1,5 @@ AUX ginac-1.8.2-pkgconfig.patch 340 BLAKE2B 1f405dea9cc0a68fec86a65765247e93959a4b7ab4b962855259dd4205d139deb11e52366760a3ade6200ef53938d56dc08e5eb132724dc840291d4be37d74f0 SHA512 6629df1b961d8697e6ec1080ba13caa81eaf7596f103862e35f80fa13ad552e0cfe6d53733dd2ea8b4ac83075cd60d9e3f93b5f01886933bcfe97e919b6caef9 DIST ginac-1.8.7.tar.bz2 1153952 BLAKE2B 272a9603741d43d4ba4f7ac3478aac405490cf747e20a5f77d7d6c672c6aee972ab77ddf4cd68daa3c432ea0b02a46ba295311967c2c5a2135bf34070a25f272 SHA512 29a5dbe1fa8a40668a32eb0065d1f676b074222d76ed70a05c5841a4be92c4b1a019ae3fc820e1c7007e641ef8ef94d00adab901f89673df0d372a4c8af8e51a EBUILD ginac-1.8.7-r1.ebuild 1520 BLAKE2B 7c999ade6c88ee0815f3bb508ec2054dae9f3911f2ad7ef01af36dbbf52f341d1765121f4f0c65beb3b694763e62f7f7e28c9a05d5baa33251969e3bc785eb9b SHA512 0a976b1092d4738e2dce36bb251778c9fce7d696b5b4a37ff050cfd60be5664a85f4d3304d5f2737623fa6d78a2d2febd1a29719572c9f87dd9b2803edf67b06 +EBUILD ginac-1.8.7-r2.ebuild 1511 BLAKE2B 877ef797f014448bcd918e11b5d4f3bba8dba1c4d5c9c630fc5194b4aa42efe32967f6a0376593c04c2ccba4e1e403bc209605dbd4ac14e6fd18dbf21e1419bd SHA512 c0f7482332ab7e1b8f9d6e5146d2edc7013956328ae9fbc02fd9eeba4cc8df2e08fc9624d67122102d2056eb8da5e5b5b539ed93a0648369ef65cba3e5be7640 MISC metadata.xml 793 BLAKE2B e657f7bb74f228c2a4be58dc2fee5dced4002195d0a33d153a354a962552a8c49395cfb92a9b0de0b5090d8009de29e13c001301b041dce149dbb9fec9799b95 SHA512 c8da993984bc0313f9586aad8899ce1fd43c304da66486aa68a1c33bb1c75aac63e129eddeda925081f624c38064634187fc24ce39c5c337b64f2889443befad 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 +} |