commit:     2f71170b154a120c362d2bc525f3caa822476218
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Mon Nov  3 08:34:26 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov  4 11:04:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f71170b

sci-mathematics/mathmod: drop 12.0

Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44448
Closes: https://github.com/gentoo/gentoo/pull/44448
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-mathematics/mathmod/Manifest                   |  1 -
 .../mathmod/files/mathmod-12.0-rm_complex.patch    | 21 -----------
 sci-mathematics/mathmod/mathmod-12.0.ebuild        | 42 ----------------------
 3 files changed, 64 deletions(-)

diff --git a/sci-mathematics/mathmod/Manifest b/sci-mathematics/mathmod/Manifest
index 038048b8f1b1..432d97e88ad9 100644
--- a/sci-mathematics/mathmod/Manifest
+++ b/sci-mathematics/mathmod/Manifest
@@ -1,3 +1,2 @@
-DIST mathmod-12.0.tar.gz 9392067 BLAKE2B 
2144c4aa06c3c13bdb5dca333134195d92bea5dcf0478e80f2ca25b41e4c74344725cced3bc72fc4b4f571da5b3ec734b0ea05fc7b1f80566f8b83d229e5627f
 SHA512 
d8a247a14e03c4d6fb4812b4404338162d7ff79745ebe31c467a444fdb48441b950a9d39c7b31fedb3f2bb1961d3075e44eb264b863708bd48f949b8185d60c6
 DIST mathmod-12.1.tar.gz 9475468 BLAKE2B 
9aeb27578d4c17cc2d8414f95ddcd55910458fe49208c0cb0277439a3d5628f517d79644bdd8c7e1ec747482e14898cdcb2896f57ec02a3af3bc033ac28f6034
 SHA512 
2e7ed6e2d345ffc16d275ccebc41352b4fd21f0c085ff25ae35fda7329b103371ccfe7bff6b12d8df3ebb145deaaf8f2ddcaedf3190a5542d1db002e2adc7566
 DIST mathmod-13.0.tar.gz 9407320 BLAKE2B 
cc8e550ca1c583edaa1398fb9f0dc27c996ac755caacf3995d0590bb08815c6b30c49b3560cc14ca570ff8344547d812ec61c8860c23fce3e44f7fc8f9a15fca
 SHA512 
b276dbc42b54ccda7e608c99197f32c9a54e56046c598deb6ef118670bc7b9a61f3dab726cc94db8810946f727d193f9665f0c6c6a5ddbfb06e773de4840a831

diff --git a/sci-mathematics/mathmod/files/mathmod-12.0-rm_complex.patch 
b/sci-mathematics/mathmod/files/mathmod-12.0-rm_complex.patch
deleted file mode 100644
index 51ba2930a306..000000000000
--- a/sci-mathematics/mathmod/files/mathmod-12.0-rm_complex.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From 61b94a59728fd691fb363ccc4e5f5bbb35e2b3c2 Mon Sep 17 00:00:00 2001
-From: Abderrahman Taha <[email protected]>
-Date: Wed, 2 Apr 2025 01:04:49 -0400
-Subject: [PATCH] #269 Collision between <complex.h> and QT
-
----
- pariso/commun.h | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/pariso/commun.h b/pariso/commun.h
-index 2d647f3..0827cb8 100644
---- a/pariso/commun.h
-+++ b/pariso/commun.h
-@@ -22,7 +22,6 @@
- 
- #include "../fparser/fparser.hh"
- #include <qthread.h>
--#include <complex.h>
- #include <tgmath.h>
- 
- #define PI (double(314159265) / double(100000000))

diff --git a/sci-mathematics/mathmod/mathmod-12.0.ebuild 
b/sci-mathematics/mathmod/mathmod-12.0.ebuild
deleted file mode 100644
index ff8480ffbff9..000000000000
--- a/sci-mathematics/mathmod/mathmod-12.0.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop qmake-utils xdg
-
-DESCRIPTION="Plot parametric and implicit surfaces"
-HOMEPAGE="https://github.com/parisolab/mathmod
-       https://sourceforge.net/projects/mathmod/
-       https://www.facebook.com/parisolab";
-SRC_URI="https://github.com/parisolab/mathmod/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-       dev-qt/qtbase:6[gui,opengl,widgets]
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-       # Fix collision between <complex.h> and QT
-       # Merged, to be removed with release 12.1
-       "${FILESDIR}"/${P}-rm_complex.patch
-)
-
-src_configure() {
-       eqmake6 MathMod.pro
-}
-
-src_install() {
-       dobin MathMod
-       insinto /usr/share/${P}
-       doins mathmodconfig.js mathmodcollection.js advancedmodels.js
-       local size
-       for size in 16 32 64; do
-               newicon -s ${size} 
images/icon/catenoid_mini_${size}x${size}.png catenoid.png
-       done
-       make_desktop_entry MathMod MathMod catenoid
-}

Reply via email to