diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-29 16:05:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-29 16:05:39 +0100 |
commit | 55b8da184993b6b27e0426838d77dcbc741e12cd (patch) | |
tree | f84bbb7ec4d7e42755046582b7d2b6529c7cfd9d /sci-mathematics/ginac | |
parent | 20325cfc3bd40d48d3c7034afaac4f5193d9c704 (diff) |
gentoo auto-resync : 29:08:2023 - 16:05:39
Diffstat (limited to 'sci-mathematics/ginac')
-rw-r--r-- | sci-mathematics/ginac/Manifest | 2 | ||||
-rw-r--r-- | sci-mathematics/ginac/ginac-1.8.7.ebuild | 76 |
2 files changed, 78 insertions, 0 deletions
diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest index 18a5ba247de5..dd5d8953cdbb 100644 --- a/sci-mathematics/ginac/Manifest +++ b/sci-mathematics/ginac/Manifest @@ -1,5 +1,7 @@ AUX ginac-1.8.2-pkgconfig.patch 340 BLAKE2B 1f405dea9cc0a68fec86a65765247e93959a4b7ab4b962855259dd4205d139deb11e52366760a3ade6200ef53938d56dc08e5eb132724dc840291d4be37d74f0 SHA512 6629df1b961d8697e6ec1080ba13caa81eaf7596f103862e35f80fa13ad552e0cfe6d53733dd2ea8b4ac83075cd60d9e3f93b5f01886933bcfe97e919b6caef9 AUX ginac-1.8.6-unicode.patch 755 BLAKE2B e51170a710a0bffca47da33183c32730938e2b52cfe7091adec18e159f8fb94164626cebab516af014f36a2bd8362cca0bf2622a06a2e1e717a2656cdbc69bea SHA512 33a7e74803a0c134b21bcdd44a6fea7236d2c1cd322bdd0ea709d36d12ed0dddb5849452bc837a3d29340f84a4d9d7bae3b328e435142cebbef9fa722a490585 DIST ginac-1.8.6.tar.bz2 1152914 BLAKE2B 3d3d655cde0f5444fa01b0dde62a48d3c42b5a3b27e00d9608c56677fd031e639b7e4e6ac7c6cf68f807033cbe81432148d5525d76ad176b8dcd0d80aece07a1 SHA512 b10402d722e8216374dabdee9eba9e6de3b6afebd291a368697eb8efcd0eb8148237628bfb74713771c99977ccc46d972bacccaead3fcf35a1ab328744a7fb48 +DIST ginac-1.8.7.tar.bz2 1153952 BLAKE2B 272a9603741d43d4ba4f7ac3478aac405490cf747e20a5f77d7d6c672c6aee972ab77ddf4cd68daa3c432ea0b02a46ba295311967c2c5a2135bf34070a25f272 SHA512 29a5dbe1fa8a40668a32eb0065d1f676b074222d76ed70a05c5841a4be92c4b1a019ae3fc820e1c7007e641ef8ef94d00adab901f89673df0d372a4c8af8e51a EBUILD ginac-1.8.6.ebuild 1549 BLAKE2B 4fd2459adf3059a074d48ae808d091959ea2e43b9bf32fd14630eeef3cc5182dc9371ef341517733278df4795564089f7ae439a1978d474e465277c3aded53e9 SHA512 f54c433be88328bd7fe6c93e1e8ad977b6babb6d26368ab05f6bbce60d173dfb9eb67627bf595be732d2d3caa4962bc133ce3f33ead349d85a32ef811c11aa75 +EBUILD ginac-1.8.7.ebuild 1510 BLAKE2B e31011cf1daddebfbdfdf4fde2ae22af0d7ba8444d288e319b3792fe2c1f89dfff21a65967ff05ab033a40b4d252feec58c1d2d9755c10a9bc8cce4199dddc8a SHA512 a46168638998478c1ecdd379447ce5f0a34644c0bb13525e32db5e2b4a13b11a46629d372434e123cba36596bf96a96c1861c51e60a815631c8999765b35cb7c MISC metadata.xml 793 BLAKE2B e657f7bb74f228c2a4be58dc2fee5dced4002195d0a33d153a354a962552a8c49395cfb92a9b0de0b5090d8009de29e13c001301b041dce149dbb9fec9799b95 SHA512 c8da993984bc0313f9586aad8899ce1fd43c304da66486aa68a1c33bb1c75aac63e129eddeda925081f624c38064634187fc24ce39c5c337b64f2889443befad 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 +} |