commit: 95d26a38ddba22350e50fddf31c7d89c28003b0c
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 15 10:05:12 2024 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 10:07:56 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95d26a38
sci-mathematics/ginac: drop 1.8.6
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sci-mathematics/ginac/Manifest | 1 -
.../ginac/files/ginac-1.8.6-unicode.patch | 12 ----
sci-mathematics/ginac/ginac-1.8.6.ebuild | 76 ----------------------
3 files changed, 89 deletions(-)
diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
index ff11e9077436..fb59da0c8585 100644
--- a/sci-mathematics/ginac/Manifest
+++ b/sci-mathematics/ginac/Manifest
@@ -1,2 +1 @@
-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/files/ginac-1.8.6-unicode.patch
b/sci-mathematics/ginac/files/ginac-1.8.6-unicode.patch
deleted file mode 100644
index d7e4491f7434..000000000000
--- a/sci-mathematics/ginac/files/ginac-1.8.6-unicode.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -r -U3 ginac-1.8.6.orig/ginac/numeric.cpp ginac-1.8.6/ginac/numeric.cpp
---- ginac-1.8.6.orig/ginac/numeric.cpp 2023-02-08 06:02:38.000000000 +0700
-+++ ginac-1.8.6/ginac/numeric.cpp 2023-02-17 16:13:45.137824611 +0700
-@@ -2139,7 +2139,7 @@
- /** The Binomial coefficients. It computes the binomial coefficients. For
- * integer n and k and positive n this is the number of ways of choosing k
- * objects from n distinct objects. If n is a negative integer, the formula
-- * binomial(n,k) == (-1)^k*binomial(k-n-1,k) (if k≥0)
-+ * binomial(n,k) == (-1)^k*binomial(k-n-1,k) (if k>=0)
- * binomial(n,k) == (-1)^(n-k)*binomial(-k-1,n-k) (otherwise)
- * is used to compute the result. */
- const numeric binomial(const numeric &n, const numeric &k)
diff --git a/sci-mathematics/ginac/ginac-1.8.6.ebuild
b/sci-mathematics/ginac/ginac-1.8.6.ebuild
deleted file mode 100644
index 1d7a466c9d4a..000000000000
--- a/sci-mathematics/ginac/ginac-1.8.6.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2024 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-text/doxygen
- dev-texlive/texlive-fontsrecommended
- media-gfx/transfig
- dev-texlive/texlive-latexextra
- virtual/texi2dvi
- )"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.8.2-pkgconfig.patch
"${FILESDIR}"/${PN}-1.8.6-unicode.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
-}