summaryrefslogtreecommitdiff
path: root/sci-mathematics
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
commitb8c7370a682e4e29cda623222d17a790c01c3642 (patch)
treef6caa14689bd00a5760eadaa381ff41e50ef3c1b /sci-mathematics
parent8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff)
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/Manifest.gzbin19334 -> 19366 bytes
-rw-r--r--sci-mathematics/cgal/Manifest3
-rw-r--r--sci-mathematics/cgal/cgal-6.0_beta1.ebuild61
-rw-r--r--sci-mathematics/dunshire/Manifest2
-rw-r--r--sci-mathematics/dunshire/dunshire-0.1.3-r1.ebuild (renamed from sci-mathematics/dunshire/dunshire-0.1.3.ebuild)6
-rw-r--r--sci-mathematics/flint/Manifest7
-rw-r--r--sci-mathematics/flint/files/flint-3.1.0-fix-pc-install.patch29
-rw-r--r--sci-mathematics/flint/flint-3.0.1.ebuild81
-rw-r--r--sci-mathematics/flint/flint-3.1.0.ebuild84
-rw-r--r--sci-mathematics/flint/flint-3.1.3_p1.ebuild2
-rw-r--r--sci-mathematics/gsl-shell/Manifest6
-rw-r--r--sci-mathematics/gsl-shell/gsl-shell-2.3.2.ebuild62
-rw-r--r--sci-mathematics/gsl-shell/gsl-shell-2.3.5.ebuild4
-rw-r--r--sci-mathematics/gsl-shell/metadata.xml3
-rw-r--r--sci-mathematics/jags/Manifest2
-rw-r--r--sci-mathematics/jags/jags-4.3.1-r1.ebuild (renamed from sci-mathematics/jags/jags-4.3.1.ebuild)8
-rw-r--r--sci-mathematics/libpoly/Manifest2
-rw-r--r--sci-mathematics/libpoly/libpoly-0.1.11.ebuild4
-rw-r--r--sci-mathematics/mathematica/Manifest3
-rw-r--r--sci-mathematics/mathematica/mathematica-14.0.0.ebuild191
-rw-r--r--sci-mathematics/mathlib-tools/Manifest2
-rw-r--r--sci-mathematics/mathlib-tools/mathlib-tools-1.3.2_p1.ebuild4
-rw-r--r--sci-mathematics/petsc/Manifest2
-rw-r--r--sci-mathematics/petsc/petsc-3.21.3.ebuild5
-rw-r--r--sci-mathematics/primecount/Manifest3
-rw-r--r--sci-mathematics/primecount/files/primecount-7.13-gcc-15-buildfix.patch30
-rw-r--r--sci-mathematics/primecount/primecount-7.13-r1.ebuild55
-rw-r--r--sci-mathematics/primesieve/Manifest2
-rw-r--r--sci-mathematics/primesieve/primesieve-12.3.ebuild54
-rw-r--r--sci-mathematics/pspp/Manifest2
-rw-r--r--sci-mathematics/pspp/pspp-1.6.2-r2.ebuild4
-rw-r--r--sci-mathematics/rkward/Manifest3
-rw-r--r--sci-mathematics/rkward/files/rkward-0.8.0-unbundle-kdsingleapplication.patch57
-rw-r--r--sci-mathematics/rkward/rkward-0.8.0.ebuild62
34 files changed, 554 insertions, 291 deletions
diff --git a/sci-mathematics/Manifest.gz b/sci-mathematics/Manifest.gz
index 754b61eff03b..757a2006c540 100644
--- a/sci-mathematics/Manifest.gz
+++ b/sci-mathematics/Manifest.gz
Binary files differ
diff --git a/sci-mathematics/cgal/Manifest b/sci-mathematics/cgal/Manifest
index 89d2c5f2208b..a1ffab94cb85 100644
--- a/sci-mathematics/cgal/Manifest
+++ b/sci-mathematics/cgal/Manifest
@@ -3,6 +3,9 @@ DIST CGAL-5.6-doc_html.tar.xz 72825232 BLAKE2B 08a5148592771c933126e38a74d77a982
DIST CGAL-5.6.1-doc_html.tar.xz 55148128 BLAKE2B 526d71be5c474570f5d17734a0931ecc3ba4564a7660d798dc00ea901cc27a421e02032490f3355d58dc6ed0b213e916288a025d3d3de4be2887fcb7b42e52a3 SHA512 88b313bc62007412a3b31ae494bd6e03ee4910d689fbc6dbd22c3a38bbd02ffcad5fcf7e71583dfc5a0ef32577e2a1639972d9e5c5e8bef38443e7dd953e7543
DIST CGAL-5.6.1.tar.xz 24893904 BLAKE2B 51abb85af785a6428893df282ce8e8dd6f2aed705d89b057e52f08e4cc42bf2696f676553bd89adb5178915b980b2566bae61bc9809ba58913b9244dac26034d SHA512 34b0b5958253fd4bcfd83ec40d3232bcd1f3ee4c07739ad3e19bf97104c628d10601909cc2343e48fceca0407a41f2c31a686b182b795e471a9a02f1964574f0
DIST CGAL-5.6.tar.xz 24874364 BLAKE2B 556c05177f8b3bcecfd16f2bd38cb6505ab04fb41f1fdcfc97a300f539c7642c3529c75cbe29fd6186b329b3ea844698e752d04690d010a7a5c3f5b6ad3a141f SHA512 1d91ad870b63bce36e060c0de7fa2e7ab98f9d9f6cf7c94d91a6677db237f50c28f8fc49f24bef943b2adcb5a4a8acf01dd94092a97024c33413763348131ea4
+DIST CGAL-6.0-beta1-doc_html.tar.xz 60360336 BLAKE2B cf9612d1168caa03985b432aba5b272ccfc879bbf7ee4cd8d22196f29c74957481aa6704a3c653bd2bfd8aee2d1d05beb1f966201d28d9a186f06441f10087f8 SHA512 9d547114a29abbcf0a3ac486b7073fed77a4bc240f2c565c14acc857e4bb52af348bb73ef318280da577beb2346b79b14db92e33816b9d564ae27dbec924e6f7
+DIST CGAL-6.0-beta1.tar.xz 26383632 BLAKE2B df1e2b00ea5f4a936080d2f308c77fc4053d34b0924dea34431c657f2bdee7a7122aaffb89d323877c360cec65ae238fa188cb03140b337805c26d48a812c05a SHA512 bcbfd6f8704a9d64c3371b1ba0bf4ecd601178a2a849065bff2c5ec3651317237e2d4ee961dcc68936bb0c0a8e7d00220943067bfd18b51f35bc035f76a10891
EBUILD cgal-5.6.1.ebuild 1238 BLAKE2B 8094fe3fadccc096665fd7898c2efc7d5d6644e0353b2e6a704aebe1656cb159e30a8eaa17aa9b026f9a62f7f059415c4915a93e45337413b528ce4507f78f39 SHA512 7373abbe5b5d4348a71675b676176e0edc11a56e1c8c24b037ef3f2b5b77e3023a7f6a7ba976e79b7da496e0ea9e5c001aab7b8899d65a517866969a78696bf5
EBUILD cgal-5.6.ebuild 1248 BLAKE2B 85bf70631e6dbc0adb5aa26d52ee6f5948d8ae1f59f0db773a47d41eec88d50aabc5f61b6977e8fadcc55dcb0994d2e355551d98e1b2f5660633df99c2cdec81 SHA512 6f90f4c5b621b214a93556d19f4b1b9b4816cdc759a7d16ed12c7353b00d0b88277f6e4e4bdf39f45fc2cbf558cf03750f406a2ce5c8d642899124d19acc22bb
+EBUILD cgal-6.0_beta1.ebuild 1268 BLAKE2B 4b748619cda3f713e1678bdb685c08669610558ce8744defa91884d4fb3f272699cd6ae6c3849c5fdacf702cf37ed1928dc0eb5c01af6d2e1009e8be72e6ef14 SHA512 81e4985f29bdf65486041cff05fb94064845f78a828406f3084db10fab780302cdd0f230d8d6e526f17ed6dc61d91458b47ec57e5239c31ac82feed2cd4e5ba5
MISC metadata.xml 1118 BLAKE2B ed180a3128a37bc151ce89a0edcc076b09449a43e9ce7633ac0c0343b20cdd585cf6b68dc92262730d8379b4eb0d4b26feba90327384f2e4546fba27336d96ca SHA512 c407490521df2908343dbc870684938dfe71e5f4a072f016361db9f08ebb598540c69a704ce97cf803b4e23846a18c259fc208f286f0d11d8acbadd32182142c
diff --git a/sci-mathematics/cgal/cgal-6.0_beta1.ebuild b/sci-mathematics/cgal/cgal-6.0_beta1.ebuild
new file mode 100644
index 000000000000..99f0659b8999
--- /dev/null
+++ b/sci-mathematics/cgal/cgal-6.0_beta1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Modules provided by dev-cpp/eigen
+CMAKE_REMOVE_MODULES_LIST=( FindEigen3 )
+inherit cmake
+
+MY_PV="${PV/_/-}"
+MY_P="CGAL-${PV/_/-}"
+DESCRIPTION="C++ library for geometric algorithms and data structures"
+HOMEPAGE="https://www.cgal.org/"
+SRC_URI="
+ https://github.com/CGAL/cgal/releases/download/v${MY_PV}/${MY_P}.tar.xz
+ doc? ( https://github.com/CGAL/cgal/releases/download/v${MY_PV}/${MY_P}-doc_html.tar.xz )"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="LGPL-3 GPL-3 Boost-1.0"
+SLOT="0/14"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples"
+
+RDEPEND="
+ dev-cpp/eigen
+ dev-libs/boost:=
+ dev-libs/gmp:=[cxx]
+ dev-libs/mpfr:=
+ sys-libs/zlib
+ x11-libs/libX11:=
+ virtual/glu:=
+ virtual/opengl:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ app-arch/xz-utils
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.11.1-fix-buildsystem.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DCGAL_INSTALL_LIB_DIR="$(get_libdir)"
+ -DCGAL_INSTALL_CMAKE_DIR="$(get_libdir)/cmake/CGAL"
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ use doc && local HTML_DOCS=( "${WORKDIR}"/doc_html/. )
+
+ cmake_src_install
+
+ if use examples; then
+ dodoc -r examples demo
+ fi
+}
diff --git a/sci-mathematics/dunshire/Manifest b/sci-mathematics/dunshire/Manifest
index d3f7ef8147d7..9e62571841e5 100644
--- a/sci-mathematics/dunshire/Manifest
+++ b/sci-mathematics/dunshire/Manifest
@@ -1,3 +1,3 @@
DIST dunshire-0.1.3.tar.gz 52450 BLAKE2B 047f732daa7f2a53b8d24ea0aafdad3234aa5ee151a66f776ba22746d58b4b91a5047ba615978d4017e56345ac608fd1f537adef06f38b5a429276e284a88d02 SHA512 227d142347ad7b7eb5b283aaa94f457b20b686f40aa86b2a74057eed00d3d90e87fb4a0f32071db3bd73412489794a0b398a557f8194931a6e7d51ff442aa2b0
-EBUILD dunshire-0.1.3.ebuild 629 BLAKE2B b8a5e9713be85e33598b6a46ebf0cf7218a6e78cc039c0ac385afa87147ee1663f3f66e7aba39f43e6f72f091e87b80591dcc370edabbebfe7166f0c856e42c4 SHA512 ac743d92df8d03b7a25b4585e6fdb7fcc97ead47895947c4c6e2ea6115d6ae7f2a43a92b230eb085f394ddc1bc08ce427609561d84d6850b56046800410fb449
+EBUILD dunshire-0.1.3-r1.ebuild 851 BLAKE2B 15c1f147cb48bb4d9f8e09e2adf048c0db373f33f7df40596c22ab8a90418b0874daa9fde7931000e68c7e1953306deeb8e55b99a8973f29439fdf6314bf73e0 SHA512 fa54d4226d1f8078eee90b371611821eb02aca8cfa183c41871a36aac10d62eaf1b86bd4c25b8b963f63b48eda5a0dd6d41b169c5e3e7b9f54dc1fbd54303bbc
MISC metadata.xml 329 BLAKE2B e9cf64a4fd7f360e350a97ca0a9efe8e64ce485f2b025e456271c8e3d8bbf3f6950750a157eaa66e0639a800285351f84abd07789697acfbaf5422b9cb725ec6 SHA512 f8f757c9f662dfba3c0717720a7d2fe6e2c2bea517d6811cf9785d39cef92714c0ddddf3c56eecb6be37fc97fcd6ebdeba0412108b41ffc0c9cdde34c3e8a74a
diff --git a/sci-mathematics/dunshire/dunshire-0.1.3.ebuild b/sci-mathematics/dunshire/dunshire-0.1.3-r1.ebuild
index ac63ace2d98f..c98c5b6bf51d 100644
--- a/sci-mathematics/dunshire/dunshire-0.1.3.ebuild
+++ b/sci-mathematics/dunshire/dunshire-0.1.3-r1.ebuild
@@ -19,8 +19,12 @@ RDEPEND="dev-python/cvxopt[${PYTHON_USEDEP}]"
DOCS=( doc/README.rst )
distutils_enable_sphinx doc/source
+
+# There are no additional dependencies even though we're not really
+# using setup.py to run the test suite any more. The __main__.py
+# runner has its own exit code handling.
distutils_enable_tests setup.py
python_test() {
- esetup.py test
+ PYTHONPATH="." "${EPYTHON}" test/__main__.py --verbose || die
}
diff --git a/sci-mathematics/flint/Manifest b/sci-mathematics/flint/Manifest
index b9cd649810e6..bb704a69a211 100644
--- a/sci-mathematics/flint/Manifest
+++ b/sci-mathematics/flint/Manifest
@@ -1,10 +1,5 @@
AUX flint-3.0.1-find-cblas.patch 1755 BLAKE2B bdf73d282a98f11126271d1afb5dd27daa2242fbd4923558a720753db85fcc71474ab559822a3549d60c555ab72c8273350c9df3fea2ba4d134bd7a45ec4c089 SHA512 1dc9342031472e59a5ba68540f070dc410134be5d52d7545a780c5b2867fad3c84410c5719ada517a0f2780f384c02487d128e0264bdaa54e8cdf34d2a5b71df
-AUX flint-3.1.0-fix-pc-install.patch 1035 BLAKE2B 30f80d5a75353344c1dd2216395263adf13ca00545b019e1fe4f00f4cb2f92adab970092c2f237c8b9b15e60e0943b5b46d36f719c9a87f0039e50bd9db65e58 SHA512 859aaf547599fa7103de12020f569d13e7545cdcff09a3dcbbe05bd239daaa4d4f58780a4247910e115478117af8a7e266671104dec36d87feddce93255d9650
AUX flint-3.1.3_p1-c99-I.patch 14288 BLAKE2B b0c030835fa6f239367fd169e428c09551893f4b7a7d525344d33ee8c9756f6652b570543af5bd0ffccc292753bde9dad4cbe933aa71187660fe96852f65fea5 SHA512 7698f3003cab0909a7a42d8c6701a3a4837325aa595ab171781faef482850b1c013dcf9f11e089fe860de7fa7aad0b9f62830b3f41a73343fb0663135f5067e3
-DIST flint-3.0.1.tar.gz 7624944 BLAKE2B 0d94252075945f39af3dd2e49803cbe16aa65b108964dfc0c12bdfd9188748944c1e839401e17b974f8f6f8832e4da84d62a63f20b63cfff0ff5c2736bfd2d47 SHA512 4b5b432b962135cd708a0ce4242343f3226f0fdf73c3f541728ed4540e7ef6cb7812a48b6b46e65a8fcc1f5cae93d8bb59838d24728024cd9aa0f7b8e5c6f98f
-DIST flint-3.1.0.tar.gz 7585407 BLAKE2B 697be5bd88e7793eb160d5f0e2110a7b8371ef8d3ca82b576c4cc755983a660a884d35d3cbb442288caa074b7f41699f4c6bc3c244272d9e9f5755d8d209004d SHA512 1d33bb35853f4bdca047899ebb4ac9873748c6d57ad3b6aded32219261e95713fb26b394d8c86f6183b9f44db58697def07e6c565ac789461d5ccc4dca3e9ba7
DIST flint-3.1.3_p1.tar.gz 7588734 BLAKE2B 87acf8778e21e37c01e12b198ff81e62ab113df3e0e9c6155ff7dd505828f79d5c49d85093e261ea96397e906350caa03477e3ecbdd1fc09d6ae5c984397a2be SHA512 1b16ff2fb9cb2ac4b75513278b8c14683e8d83db39985631df14d6ea74bee4d6ea818a200321d5f0de6f1af89898f7a99dc7088f712f4c6db1a2546199aefba7
-EBUILD flint-3.0.1.ebuild 1983 BLAKE2B bba189fe6f49d2991abc592b99cf725add9abb69f1d683432aa1954e46293afe3fc0b5a8afa7e77acb09455598c91388e29cde07dc845bd2bd66fc98ef9734d8 SHA512 0e68cb71137a24a696f49b21f1523d694af56fda47b9d1343aca9d9a58f55196a304bbb236125e7313429311e7b4ba36a88d365d55f1ac7ff8840e4da4d9ac68
-EBUILD flint-3.1.0.ebuild 2023 BLAKE2B ebddd22bcbdc40778d36947998c266f0baaf146b07e902c7174ddacf7b26a22b28c366a4d1710b031e84e06532479ee6d1c183aaad05fdd5ca7346fcf66ecac3 SHA512 230fc27efc3ea58352c759a5be3a1a81e7138c9bbc1c9cdc723ef752d0dd1e7199a72a003759f62f64f9d9d3cfe916d38376f9f3a8817c95e1cfec9bb05da55a
-EBUILD flint-3.1.3_p1.ebuild 2093 BLAKE2B a7e288546940bc407d07a2f3d0147b89d57aeb2c709b2cfee58a24447a834140f87f513fe69355e5dfc139087af8344f42ded31e39875072b0a966d2a3206edf SHA512 eaa36ee26b3feffcba4220ed76c618b1f309aef29757a022e29c69494a4a01081f072ac6baa2342181d93adbb15fe585525a08e180ec3b0c45890da3729f0b22
+EBUILD flint-3.1.3_p1.ebuild 2091 BLAKE2B 58aef5504347696f5114385657e66f7e784f4e46e7cd39288bbc815f863978d9399c7009a9a30e67379d544d94bbe75091450f057e98a7fd5198f1367828cc74 SHA512 4f7c3760ef481d5e4f0bbda9d7b29c2ab8d0b098cff7191d23fd992d14dc92980a7c4b1143b2d638950ac1ab6681649a3cce091e1075ec47deac277dde39f0de
MISC metadata.xml 640 BLAKE2B b95d6f493564025e43604bffa340fffd88fcedf29c282fcc3c18e08ac089cdf1e10837787af664dd250a77a62237bf3665ff0a3045ca52680dd67aa0b39eeba7 SHA512 a9a64076e7f0df29e6a05a9d349c530a4ee4285b6a444425681eddf6ae1e8b41f610fda0bd7cc86b5177b36f34bc3072b67c7edac2cc8c0709a032b000576a14
diff --git a/sci-mathematics/flint/files/flint-3.1.0-fix-pc-install.patch b/sci-mathematics/flint/files/flint-3.1.0-fix-pc-install.patch
deleted file mode 100644
index 5e0145cb95e7..000000000000
--- a/sci-mathematics/flint/files/flint-3.1.0-fix-pc-install.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From f4e0dfda90f6574048578f112bea1013d54f0987 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Sun, 10 Mar 2024 21:48:51 -0400
-Subject: [PATCH 1/1] CMakeLists.txt: install the pkg-config file to the
- configured libdir
-
-Currently it installs to lib/pkgconfig, which can be incorrect on
-systems where (for example) the normal libdir is lib64 and "lib" is
-reserved for 32-bit libraries.
----
- CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 30935cef4..d8dfee38d 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -537,7 +537,7 @@ set(PACKAGE_NAME ${PROJECT_NAME})
- set(PACKAGE_VERSION ${PROJECT_VERSION})
- configure_file(flint.pc.in flint.pc @ONLY)
-
--install(FILES ${CMAKE_CURRENT_BINARY_DIR}/flint.pc DESTINATION lib/pkgconfig)
-+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/flint.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
-
- if(BUILD_TESTING)
- set(FLINT_SRC ${CMAKE_CURRENT_SOURCE_DIR}/src) # To get src/test/main
---
-2.43.0
-
diff --git a/sci-mathematics/flint/flint-3.0.1.ebuild b/sci-mathematics/flint/flint-3.0.1.ebuild
deleted file mode 100644
index 7f24b83f5744..000000000000
--- a/sci-mathematics/flint/flint-3.0.1.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake flag-o-matic python-any-r1
-
-DESCRIPTION="Fast Library for Number Theory"
-HOMEPAGE="https://www.flintlib.org/"
-
-# flintlib.org tarballs have been broken in the past, Bill Hart suggests
-# we get them from Github (which he has control over).
-SRC_URI="https://github.com/flintlib/flint/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1+"
-
-# Based off the soname, e.g. /usr/lib64/libflint.so -> libflint.so.15
-SLOT="0/18"
-
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
-IUSE="doc ntl test"
-
-RESTRICT="!test? ( test )"
-
-BDEPEND="${PYTHON_DEPS}
- doc? (
- app-text/texlive-core
- dev-python/sphinx
- dev-tex/latexmk
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- )
-"
-DEPEND="dev-libs/gmp:=
- dev-libs/mpfr:=
- ntl? ( dev-libs/ntl:= )
- virtual/cblas"
-# flint 3 includes arb and arb cannot use flint 3.
-RDEPEND="${DEPEND}
- !sci-mathematics/arb"
-
-# The rst files are API docs, but they're very low-effort compared to
-# the PDF and HTML docs, so we ship them unconditionally and hide only
-# the painful parts behind USE=doc.
-DOCS="AUTHORS README.md doc/source/*.rst"
-
-PATCHES=( "${FILESDIR}/flint-3.0.1-find-cblas.patch" )
-
-src_configure() {
- # https://github.com/flintlib/flint/issues/1683
- append-cflags -Wno-error=strict-prototypes
-
- local mycmakeargs=(
- -DWITH_NTL="$(usex ntl)"
- -DBUILD_TESTING="$(usex test)"
- -DBUILD_DOCS="$(usex doc)"
- )
-
- cmake_src_configure
-
- if use doc; then
- # Avoid the "html/_source" directory that will contain a copy of
- # the rst sources we've already installed, and also avoid
- # installing html/objects.inv.
- HTML_DOCS="${BUILD_DIR}/html/*.html
- ${BUILD_DIR}/html/*.js
- ${BUILD_DIR}/html/_static"
- DOCS+=" ${BUILD_DIR}/latex/Flint.pdf"
- fi
-}
-
-src_compile() {
- cmake_src_compile
-
- if use doc; then
- cmake_build html
- cmake_build pdf
- fi
-}
diff --git a/sci-mathematics/flint/flint-3.1.0.ebuild b/sci-mathematics/flint/flint-3.1.0.ebuild
deleted file mode 100644
index 7c2c45ffec7e..000000000000
--- a/sci-mathematics/flint/flint-3.1.0.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake flag-o-matic python-any-r1
-
-DESCRIPTION="Fast Library for Number Theory"
-HOMEPAGE="https://www.flintlib.org/"
-
-# flintlib.org tarballs have been broken in the past, Bill Hart suggests
-# we get them from Github (which he has control over).
-SRC_URI="https://github.com/flintlib/flint/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1+"
-
-# Based off the soname, e.g. /usr/lib64/libflint.so -> libflint.so.15
-SLOT="0/19"
-
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
-IUSE="doc ntl test"
-
-RESTRICT="!test? ( test )"
-
-BDEPEND="${PYTHON_DEPS}
- doc? (
- app-text/texlive-core
- dev-python/sphinx
- dev-tex/latexmk
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- )
-"
-DEPEND="dev-libs/gmp:=
- dev-libs/mpfr:=
- ntl? ( dev-libs/ntl:= )
- virtual/cblas"
-# flint 3 includes arb and arb cannot use flint 3.
-RDEPEND="${DEPEND}
- !sci-mathematics/arb"
-
-# The rst files are API docs, but they're very low-effort compared to
-# the PDF and HTML docs, so we ship them unconditionally and hide only
-# the painful parts behind USE=doc.
-DOCS="AUTHORS README.md doc/source/*.rst"
-
-PATCHES=(
- "${FILESDIR}/flint-3.0.1-find-cblas.patch"
- "${FILESDIR}/${P}-fix-pc-install.patch"
-)
-
-src_configure() {
- # https://github.com/flintlib/flint/issues/1683
- append-cflags -Wno-error=strict-prototypes
-
- local mycmakeargs=(
- -DWITH_NTL="$(usex ntl)"
- -DBUILD_TESTING="$(usex test)"
- -DBUILD_DOCS="$(usex doc)"
- )
-
- cmake_src_configure
-
- if use doc; then
- # Avoid the "html/_source" directory that will contain a copy of
- # the rst sources we've already installed, and also avoid
- # installing html/objects.inv.
- HTML_DOCS="${BUILD_DIR}/html/*.html
- ${BUILD_DIR}/html/*.js
- ${BUILD_DIR}/html/_static"
- DOCS+=" ${BUILD_DIR}/latex/Flint.pdf"
- fi
-}
-
-src_compile() {
- cmake_src_compile
-
- if use doc; then
- cmake_build html
- cmake_build pdf
- fi
-}
diff --git a/sci-mathematics/flint/flint-3.1.3_p1.ebuild b/sci-mathematics/flint/flint-3.1.3_p1.ebuild
index 09d8ddd97e09..4f60961ecba2 100644
--- a/sci-mathematics/flint/flint-3.1.3_p1.ebuild
+++ b/sci-mathematics/flint/flint-3.1.3_p1.ebuild
@@ -18,7 +18,7 @@ LICENSE="LGPL-2.1+"
# Based off the soname, e.g. /usr/lib64/libflint.so -> libflint.so.15
SLOT="0/19"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
IUSE="doc ntl test"
RESTRICT="!test? ( test )"
diff --git a/sci-mathematics/gsl-shell/Manifest b/sci-mathematics/gsl-shell/Manifest
index 0a33cf452514..7adaefc0529f 100644
--- a/sci-mathematics/gsl-shell/Manifest
+++ b/sci-mathematics/gsl-shell/Manifest
@@ -1,8 +1,6 @@
AUX gsl-shell-2.3.2-no-compile-in-install.patch 920 BLAKE2B e47e66c14d67cbbc8267ea690565d642f8e38177913730aee21e64f9bee9edb8700dfa8a673d2da7deaeb2d21fe72cdf4a5dfbe489ab57f9821b8da200ceb2a8 SHA512 7e9c46719d29202a0cf9fb48b025c8a108e73e4694a07511e711ab083e8db1a67469161261741666cdb9d78897d2bbaf73b63440128554b1298816366701befc
AUX gsl-shell-2.3.2-sphinx-extmath-to-imgmath.patch 571 BLAKE2B efb254f4c6ab8ecea7adf4405cd7ddad22a7d7641eb108af11897987757bc313ab128127f1bf793dc7849758f5397888555bbbf6646e43990f059ad1bfacb896 SHA512 0247eafc4450951a914240bc5180cb5ac2620b24e5fbc70c67f297910eb6a35a040c15cb9d8bbdd794dffa77f90a791921ce7f150f86228b6e0d7d8b162b1821
AUX gsl-shell-2.3.5-no-fetching.patch 2724 BLAKE2B bea4e68899a0c01508a0fd99c4e161e1ea163b6023df7a7375e1e5c5bba8679c22d1bef2a187b6efdeffd6c7b604a76cd12240a8699a26024139f68e6202e0ea SHA512 2d68573cd20603c6d7187ee42663c28e7eb47073430f0e1031a474f871d14bed5e129214fe1206224b49f2fc15343ebc7adb3c2e5cfd5a596d25dcdca4f34e7f
-DIST gsl-shell-2.3.2.tar.gz 3400376 BLAKE2B 8218b4d3232048fe7575631c7acc66d313520ee4d41a1dd2c267f021c8271a427673a575cc00f8f55a4868b8ec5e9626c0cbaa6ea9fa76662a726e436a527cf3 SHA512 6379380ab15a7ec477d67d36305ce76c551d32e88d8611447eeb6deaf9877c362392bce45599a2b2988331064c22626260c41f8548624c23e2c4e3c59c87c291
DIST gsl-shell-2.3.5.tar.gz 2533145 BLAKE2B 9eec5ee0676429a08b628766450f366b6998c4fc14e6b3108c49a9bf2ef4019c9b7671edbb0def295849155676df6c2bc8975aacb4ff906befc243bed147d80c SHA512 9712714a6cce249b007e475916d870eb2ce8bbc4ab2f0e49b8644378243723c9a386c285eacf5a8c54e27e22bab63fb0cd74d4641652230a8682c201b7e63da8
-EBUILD gsl-shell-2.3.2.ebuild 1622 BLAKE2B 02b6b9e3938bba91a885ccf92470bc92fbeeefb06799346ed79b938a1e6ae1098a00f8994e63f6da175396b980ded82de2f0ba145918129d67993dde3f898c9e SHA512 bdffe0fd4f205b5d2c3c7020a6c4cb1ff32a2f48f2c184d30fd747ec2c4dc8301ed8ffcf01edf2d1d6e05080aaaeca77d56855132431a3fe11f8318ab00fc30a
-EBUILD gsl-shell-2.3.5.ebuild 977 BLAKE2B 95f33dfc4c9d5b29960f1eab0f3d55a08efd446a45837cfbd2ea54b776f1ad4c606a96d924c3777b6da1499d5cbbefeba22a95df6890c42a527348c2649c277f SHA512 6513b79adbc0c3d7d132eb3ed9787abab085afa623abc51ead2481affd1e632e398db27ed1b8cea59bad38f49e65e103d54bd2feb4a0e0bc2c0962687e295a19
-MISC metadata.xml 937 BLAKE2B 502844c8dcbcd92853cac23a10d508e59cd6212344bd507958c71d5149edf71ce5e7916e4bd010320ed1a83796ebdd054a9407f1df0219a747d5f51419d6e69a SHA512 b9711d403f615c87c7ed0d1d8b4ba58d9193f6a01740f08c421d01cff4c6eaadd21ec3f1022c928d0fb965774a8f90c0e12a166edd96ebaa620d77eaf15f68e3
+EBUILD gsl-shell-2.3.5.ebuild 978 BLAKE2B cebed75f5b57f1e2d7e975b07aeef59cd08ed72a565468d9aaae89c965480d8cf30f3d4337acee3ce8aa27fa78ddbc72903afd4cdf5d788d390138b347a9dc9c SHA512 5ac005e55ee6aff2b87fc71314a2daf12b8ae77d2f19de95f682224b3699f680c7f34b426a739f1bc0ad6a968889d00178a7afdbe64cb7756345931af83294ac
+MISC metadata.xml 856 BLAKE2B e6f416ef2e39e64cc1d363b450bea0596f3569682efa9296b572f0bb469fabf8c787a1c5f68b62e6d68419084afc370aeda67eb10e0f98618e0e3f79d1f641a5 SHA512 0206d6bb70abc9e0ca76fcc4966587b2e33f2598a591150da00d859766a982ce7a4f908790f67222ee78bdee4d85c7c280795ab75d9428a87126f5763bcf8f4b
diff --git a/sci-mathematics/gsl-shell/gsl-shell-2.3.2.ebuild b/sci-mathematics/gsl-shell/gsl-shell-2.3.2.ebuild
deleted file mode 100644
index 1531e0e47cb0..000000000000
--- a/sci-mathematics/gsl-shell/gsl-shell-2.3.2.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-DOCS_BUILDER="sphinx"
-DOCS_DIR="doc/user-manual"
-DOCS_AUTODOC=0
-inherit toolchain-funcs python-any-r1 docs
-
-MY_P=${P/_/-}
-DESCRIPTION="Lua interactive shell for sci-libs/gsl"
-HOMEPAGE="https://www.nongnu.org/gsl-shell/"
-SRC_URI="https://github.com/franko/gsl-shell/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-SLOT="0"
-LICENSE="GPL-3"
-KEYWORDS="~amd64 ~x86"
-IUSE="fox"
-
-RDEPEND="
- >=sci-libs/gsl-1.14:=
- virtual/blas
- >=x11-libs/agg-2.5
- >=media-libs/freetype-2.4.10
- sys-libs/readline:0=
- || ( media-fonts/ubuntu-font-family media-fonts/freefont media-fonts/dejavu )
- fox? ( x11-libs/fox:1.6 )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-lang/luajit
- virtual/pkgconfig
- doc? ( virtual/latex-base )
-"
-
-PATCHES=(
- "${FILESDIR}/${P}-no-compile-in-install.patch"
- "${FILESDIR}/${P}-sphinx-extmath-to-imgmath.patch"
-)
-
-src_prepare() {
- tc-export PKG_CONFIG
- default
-}
-
-src_compile() {
- local BLAS=$($(tc-getPKG_CONFIG) --libs blas)
- local GSL=$($(tc-getPKG_CONFIG) --libs gsl)
- emake -j1 gsl-shell CC="$(tc-getCC)" CXX="$(tc-getCXX)" CFLAGS="${CFLAGS}" \
- GSL_LIBS="$($(tc-getPKG_CONFIG) --libs gsl) ${BLAS}"
- if use fox; then
- local FOX_INCLUDES="$(WANT_FOX=1.6 fox-config --cflags)"
- local FOX_LIBS="$(WANT_FOX=1.6 fox-config --libs)"
- emake -j1 gsl-shell-gui CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
- CFLAGS="${CFLAGS}" FOX_INCLUDES="${FOX_INCLUDES}" FOX_LIBS="${FOX_LIBS}" \
- GSL_LIBS="$($(tc-getPKG_CONFIG) --libs gsl) ${BLAS}"
- fi
- docs_compile
-}
diff --git a/sci-mathematics/gsl-shell/gsl-shell-2.3.5.ebuild b/sci-mathematics/gsl-shell/gsl-shell-2.3.5.ebuild
index aaa1e8873371..63e0f643d685 100644
--- a/sci-mathematics/gsl-shell/gsl-shell-2.3.5.ebuild
+++ b/sci-mathematics/gsl-shell/gsl-shell-2.3.5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
DOCS_BUILDER="sphinx"
DOCS_DIR="doc/user-manual"
DOCS_AUTODOC=0
diff --git a/sci-mathematics/gsl-shell/metadata.xml b/sci-mathematics/gsl-shell/metadata.xml
index 74456c83ce16..90658fa611c8 100644
--- a/sci-mathematics/gsl-shell/metadata.xml
+++ b/sci-mathematics/gsl-shell/metadata.xml
@@ -14,9 +14,6 @@ but does offer much more simple and expressive way to use GSL.
The objective of GSL shell is to give the user the power
of easily access GSL functions without having to write a complete C application.
</longdescription>
- <use>
- <flag name="fox">Build a <pkg>x11-libs/fox</pkg> GUI</flag>
- </use>
<upstream>
<remote-id type="github">franko/gsl-shell</remote-id>
</upstream>
diff --git a/sci-mathematics/jags/Manifest b/sci-mathematics/jags/Manifest
index ed48ad817f31..dd97c33d2f7d 100644
--- a/sci-mathematics/jags/Manifest
+++ b/sci-mathematics/jags/Manifest
@@ -1,5 +1,5 @@
DIST JAGS-4.3.0.tar.gz 2057409 BLAKE2B 5820c66dd10cc90343d53b901b7dbc1acf85dca0f5f80280864190882f0af865edad877eb2cfd421ec2035d3ae843373da1facee8a10b6735e2fc0387d452949 SHA512 d0564c73ff45484afad532ed788353f9c0945cd9667030eed5be674492bf97524d05903b22d4995c1de8a331dba7b04425d009e114d98a38b4bfce5214518b36
DIST JAGS-4.3.1.tar.gz 2019687 BLAKE2B dd464675f1aab59d007ffb29844b50ddcc26320cf8159b5ca108bf0e6db9878499aa40e090250b84ff4c8733100149037b2b3cee00b3ff2ec4fb23769157b944 SHA512 dceb97c92ad3ce3ebf62e1e68e822857f170f797f81a79fe5a56d8a81f8ea619e6e06356335e44def8f50ff82af55b2f9f7a880b84e092262a2d78e46c43acf2
EBUILD jags-4.3.0.ebuild 931 BLAKE2B 0304a6bb39fd1b8803aba33b27b794e100bd14047a5ce8e8d44dc377808709d6974432c4d6705b5d4b8b71fb92971d2772b6ebdd8f916387913e6481a38e7d19 SHA512 4d466632cc27a97291f38a4974e6dfbd4f1c1ffc883573f6ba812332197406ac30842a31d6119e881da45e016755398f5f8b6e23db7cd54090311eb2f2bf159b
-EBUILD jags-4.3.1.ebuild 928 BLAKE2B 533b15142bf0b8ee2329a63fd8397bef17508e345193a50c626c13231f9223acbae93d96076f707a768e277e4620b31482aecc1678857ab8563fb5631c949a41 SHA512 43855db8daa31482b0573d5dd2c072cccbe84e1599d5e3ab140fbcc08aa036f43f921c32138ef749eed510be1f933d31b78966895c72e1886c0a2d288da684e0
+EBUILD jags-4.3.1-r1.ebuild 995 BLAKE2B 7aff6dbeb97a38eac18bb4121c7daeb656ca564bc2137bb180ea69c9ed54837e3dad33da21e4acf3d3b189c5e815157df7759856b0b5e1c61a1527ec5790aa9c SHA512 2cbea1071a8813810e1b8167c7c66f2cf37938b8bf985953f85b784dd3909a6348258d7f62b193a12fdab5aa384c0c005cdd88a8c0e94b3e0fd62a0c2064b014
MISC metadata.xml 865 BLAKE2B 6a997d33faa0e84c6bacead33c91a63048cca029df407566730b77f615357230154f9a6ff790190a2547b33311a6a7f23135c354ed25f1eff1d7ceba9a146f94 SHA512 7e38978f65eac37716d885e6e5519c45f2c9c6b1f2616225abab4a6f9b4112cc02a47219c2db48458de2c998864023f10487456ae549829a8449a56cf49181c1
diff --git a/sci-mathematics/jags/jags-4.3.1.ebuild b/sci-mathematics/jags/jags-4.3.1-r1.ebuild
index 24618ca40553..6ee9e9025d55 100644
--- a/sci-mathematics/jags/jags-4.3.1.ebuild
+++ b/sci-mathematics/jags/jags-4.3.1-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit toolchain-funcs
+inherit libtool toolchain-funcs
MYP="JAGS-${PV}"
@@ -18,6 +18,7 @@ KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc"
RDEPEND="
+ dev-libs/libltdl
virtual/blas
virtual/lapack
"
@@ -30,6 +31,11 @@ BDEPEND="
)
"
+src_prepare() {
+ default
+ elibtoolize
+}
+
src_configure() {
econf \
--with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
diff --git a/sci-mathematics/libpoly/Manifest b/sci-mathematics/libpoly/Manifest
index 714ee03cb2c2..5a80cc07e07e 100644
--- a/sci-mathematics/libpoly/Manifest
+++ b/sci-mathematics/libpoly/Manifest
@@ -1,3 +1,3 @@
DIST libpoly-0.1.11.tar.gz 614216 BLAKE2B 42a2510a6a9f94e7170b5df97ec8f2b7b29cb9c95bd13c8c7abebc9e7db7fedcbeb7a928f22d173e154180acc199e081323d2f1cb23264bf31ac1bfc88494dc8 SHA512 df08a6bab33e27023316972e2496801cea4959faf403b5df8314fa45b4541cd1352583a44084bea130c1e3ca4ed86de032f7f96eeb915599f178e80976a68f7a
-EBUILD libpoly-0.1.11.ebuild 1420 BLAKE2B a06e8d45e5885b9f13d3cae64dbb4f0e8ce2b5b41c4168473e936109eddb5619baa41707be07ef7a8af0e4da178fba7de4840a1afdf498e51db3c4194c848ede SHA512 f61dda49c1f0a05e62cb4008d5b34b8ae6cdd0ec07be557cf76140e64350b88cacf12fc33494e7017d9064490ecb0049eb54dc4f94418328f0d7eb85a972e971
+EBUILD libpoly-0.1.11.ebuild 1421 BLAKE2B e051ed4f1cb76dd319f455e54f06c1603afe3fabf6de22c74b6d263b1bff63bc6c571dab755de7a50e7ce054bc56ea0e80b1b467cd48ae65bfe2386727ad593b SHA512 c482b290c9235643fc8e67a67d2ffd570b6c14cc5a4ad17c7ca366e0391556d5bfb06c4904cde7be4817faaee9f8ff2f11a47097cff5548433f21522c53fbd7d
MISC metadata.xml 757 BLAKE2B baf8c7cb139dff0a4fd382eee7583f5f921209ffcddcac77a85086bb5214bc24bc875343f4f4f363e3e72e8077361e2864419c05c28338df4e9dd80b5dc4ce97 SHA512 0d9b28c2900d806f2b4df86eb69e9a3c1491a564559d80fdf78fa77673634a1735a391beb89599caea26f3af1a22880cb91e0611297e9fa811e85495eb12ff02
diff --git a/sci-mathematics/libpoly/libpoly-0.1.11.ebuild b/sci-mathematics/libpoly/libpoly-0.1.11.ebuild
index f83360e390fa..53f135b36c03 100644
--- a/sci-mathematics/libpoly/libpoly-0.1.11.ebuild
+++ b/sci-mathematics/libpoly/libpoly-0.1.11.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit python-single-r1 cmake
diff --git a/sci-mathematics/mathematica/Manifest b/sci-mathematics/mathematica/Manifest
index b6ebbdab6d16..63594b61404d 100644
--- a/sci-mathematics/mathematica/Manifest
+++ b/sci-mathematics/mathematica/Manifest
@@ -8,6 +8,8 @@ DIST Mathematica_13.1.0_LINUX.sh 2032362325 BLAKE2B d044fe1ed3c71e6ebc2357c440af
DIST Mathematica_13.2.1_BNDL_LINUX.sh 5512713048 BLAKE2B 266a6979faab891c6fc10a1bc690ee21ad3af01413a2af29d81c27dffc92d8a10a2947aefe978dfcf16378e8f8f0d33145f99930840eeb2843d73270d2ad0de9 SHA512 2062b2ce7f6e7f33b8623607ef71475091b877112f03ffbc32671f513b71925aad8489f25e1b01ec75b5d4d7bee03bb2dc8b2627f767633de578ecae1d86b7f6
DIST Mathematica_13.3.1_BNDL_LINUX.sh 6072605531 BLAKE2B f9e6c218bef266fd9cb86905299f4074377c29270379cee24ad473bedc628bb30739ea2b00b333d3c7546775c9c9fbf95ebd2ff1fa075d9cce447a20279a0a6c SHA512 b40f4301d928fb760e0f1421df2dee78118edb9360afbf117049c93b3ee1a84975c3987bbef4483ff4f67c3f8d63c66081df71f6800dd259f8735ca062723d3f
DIST Mathematica_13.3.1_LINUX.sh 2057562969 BLAKE2B 9b76652135330b0b44027faad3703c1bf0dae3913416d2839e90582323291415fcbc7a59ca0bed152717a2e323d1b0f2ed2f46d700477b9574dec128ccaa8843 SHA512 cd470e1d171ab2df56b4d59fc9f156544217ea11c5e2d67683ca38c6a579cfebf4271bca7a52675fdab1d1d2d34a9b22410a93d95069a9008b2a377aae279201
+DIST Mathematica_14.0.0_BNDL_LINUX.sh 6362499931 BLAKE2B d5c4df6e556c970103f0736c72fb0b4419d41c19eb8c3887412c84c39446436279b3c1a2b8b5eb76158ddc4ae55d0131b90ef9f769f2350fdec4b93a1c44f69c SHA512 1c16369501a9a7e5e7864438a766ac89bbe5f20100eda6da2bb03120ab112acd55dda63b0c68a056c7899db0a1c8881e97bf31b7d58fa75a095b3b979347b4d5
+DIST Mathematica_14.0.0_LINUX.sh 2175783771 BLAKE2B ceb6e0d9ee8ef5c548c5dcf5d426ff1678c039a66da3936e69cadb91c24102163be253a63af528fedc37ce87f9fd2617958934479ed570955a14a2b2980d5a0e SHA512 83c02183e892a3a5a9b2b6db4010b763b50b30ac8d9417ceb1256b3dd7d78ecbad132b7fcd7c797a64536b64e5894f54341379c4c599420faff5857bd0f22390
DIST WLDocs_13.1.0_LINUX.sh 3546448755 BLAKE2B e5dbf6bf9cd60a313329df8591c281215039d7efa7c83a53f3b2d4e176765b62efae3ff04628ecf6905e76bbaf6867e87c96bd6188d13df2b981bea5a633335a SHA512 2107b37b30fc76974d040e746ca26ddb5df23bbacb9d8fabcd546a7cf789f1daaf70179c53890bed2385430665f601fbbc1f9829bf64f61068909ea8774f91d2
EBUILD mathematica-10.3.1-r1.ebuild 2821 BLAKE2B 958869840413f275d50272636693c776ac399cc14401d21d8709aab81ec23f396b0407618b787a4c04fe5a70327c604bef81735f6fcdeb8cbbaf6b74cf387172 SHA512 ac52970098b31e2e1a72d50dffc0db3cfe67c68eed8272b1d78febe5e47eb514b333c23a9c5f7030bb606f937106b5a237818d9ab829779533e33f5459d2aeb2
EBUILD mathematica-12.1.0.ebuild 3134 BLAKE2B 4a8f269cfb1d77dd941dfab8c56dc310306aea75fd6d676f2e79a1208420c25161afef7e253c101763d57a441480403580dbb62b31b420f6dbce3f7cfa786fc8 SHA512 cf14b8567a9dc6bd7f19447cb9d277c929084abf20bf073c4d9aa049e1795ddba0862f43340bfbb37d2633d84e7b5adfe4a3123554fd62bc55c018394177a2ee
@@ -18,4 +20,5 @@ EBUILD mathematica-13.0.1.ebuild 5421 BLAKE2B 27b1943495659b3bf64097f9f3c7ce7ab6
EBUILD mathematica-13.1.0.ebuild 7044 BLAKE2B 6411bceb04e19d939c7ac4287f37ecaf20add4cfb49edb4f4caac3ea1cd8eb706a59e42a60640002024f511036ab0f12b5ffd0caf02c9bf5627bb2c653e559ad SHA512 296c74dc0c2be909a1b029eae0a1fdab89f541443417d9e85a35d5623ae366300491c25f0a62208291870b540257d9ad7c8768b0aa6df9b8f7a4301ef3940d02
EBUILD mathematica-13.2.1.ebuild 6345 BLAKE2B bf34cf285d0bd5a60c4aa5987736f95a1b441f059a2d8f042a0245ed1265ef925e36cae9090d5c0d9e414ea2f573094f764f67c6657136541a4ace17666877c5 SHA512 2fe35f26f4c4066913088aec96b42cc4fb3a63b4cf101adea1fc191bd6ea9ed0cfa3d240be5a5750d348900dd4ba5efef752362c7b10808b612056b03ca6e951
EBUILD mathematica-13.3.1.ebuild 6888 BLAKE2B 7f5c1476cd54977b9adc085c3ac6a3d3220bf59ce9414b90a51e21bd616369725b97d6afd50d78f496b023ce52b18800bf1449995e8291f823f12f969a0fdece SHA512 d01c16ef26c730dda363df266f245a8e4b7c0897a9362ce565cfe7d90b088735df916a3bc214048da5fd1dc6fb036e8ef0c00d52168663cb99a121eb51c47d0b
+EBUILD mathematica-14.0.0.ebuild 6883 BLAKE2B 8051af45347c97e35a62d460c9afcca750de86166e7883694b36d5c9ae2fcd972bec27f3b6f5c2b6cae6747ccac213c9c8713980ff6a0d9cf5902b0a9e6c6391 SHA512 fb46fc9b0eb7ecf1f8a9b30035433a5ff1ee5e68f6c0790b364bc17f061fb2570644f22d342b84e39989c937a72e2e952583516db2df30796d402ac47e60c87a
MISC metadata.xml 1224 BLAKE2B 45915419ad562bc26b980e184cc74e04a092c00b38fe17ec81f6a62c7d0ac9616b844fbd8fc4eaa61eb7a2b62e920b482532956c45e18878ad357f435699e367 SHA512 7ebd5fd0f09a4468b5031d21085f7f1ea6fe1d0fc81ac942dbb11a0c62b7c4ff918636f53ea77e6fbe0c53733056b30c97409532955bddda0a93bb1a82d963c7
diff --git a/sci-mathematics/mathematica/mathematica-14.0.0.ebuild b/sci-mathematics/mathematica/mathematica-14.0.0.ebuild
new file mode 100644
index 000000000000..f75781884235
--- /dev/null
+++ b/sci-mathematics/mathematica/mathematica-14.0.0.ebuild
@@ -0,0 +1,191 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHECKREQS_DISK_BUILD=20G
+inherit check-reqs desktop unpacker xdg
+
+DESCRIPTION="Wolfram Mathematica"
+HOMEPAGE="https://www.wolfram.com/mathematica/"
+SRC_URI="
+ bundle? ( Mathematica_${PV}_BNDL_LINUX.sh )
+ !bundle? ( Mathematica_${PV}_LINUX.sh )
+"
+S="${WORKDIR}"
+
+LICENSE="all-rights-reserved"
+KEYWORDS="-* ~amd64"
+SLOT="0"
+IUSE="bundle cuda doc ffmpeg R"
+
+RESTRICT="strip mirror bindist fetch"
+
+# Mathematica comes with a lot of bundled stuff. We should place here only what we
+# explicitly override with LD_PRELOAD.
+# RLink (libjri.so) requires dev-lang/R
+# FFmpegTools (FFmpegToolsSystem-6.0.so) requires media-video/ffmpeg-6.0
+# FFmpegTools (FFmpegToolsSystem-4.4.so) requires media-video/ffmpeg-4.4
+RDEPEND="
+ dev-qt/qt5compat:6
+ dev-qt/qtbase:6[eglfs,wayland]
+ dev-qt/qtsvg:6
+ dev-qt/qtwayland:6[compositor]
+ media-libs/freetype
+ virtual/libcrypt
+ cuda? (
+ >=dev-util/nvidia-cuda-toolkit-11
+ <dev-util/nvidia-cuda-toolkit-13
+ )
+ ffmpeg? ( || (
+ media-video/ffmpeg:0/56.58.58
+ media-video/ffmpeg:0/58.60.60
+ ) )
+ R? ( dev-lang/R )
+"
+
+DEPEND="
+ ${RDEPEND}
+"
+
+BDEPEND="
+ dev-util/patchelf
+"
+
+# we need this a few times
+MPN="Mathematica"
+MPV=$(ver_cut 1-2)
+M_BINARIES="MathKernel Mathematica WolframKernel wolframscript math mathematica mcc wolfram"
+M_TARGET="opt/Wolfram/${MPN}/${MPV}"
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+src_unpack() {
+ /bin/sh "${DISTDIR}/${A}" --nox11 --keep --target "${S}/unpack_app" -- "-help" || die
+}
+
+src_install() {
+ local ARCH='-x86-64'
+
+ pushd "${S}/unpack_app" > /dev/null || die
+ # fix ACCESS DENIED issue when installer generate desktop files
+ sed -e "s|xdg-desktop-icon|xdg-dummy-command|g" -i "Unix/Installer/MathInstaller" || die
+ sed -e "s|xdg-desktop-menu|xdg-dummy-command|g" -i "Unix/Installer/MathInstaller" || die
+ sed -e "s|xdg-icon-resource|xdg-dummy-command|g" -i "Unix/Installer/MathInstaller" || die
+ sed -e "s|xdg-mime|xdg-dummy-command|g" -i "Unix/Installer/MathInstaller" || die
+ # fix ACCESS DENIED issue when installer check the avahi-daemon
+ sed -e "s|avahi-daemon -c|true|g" -i "Unix/Installer/MathInstaller" || die
+ # fix ACCESS DENIED issue when installing documentation
+ sed -e "s|\(exec ./MathInstaller\) -noprompt|\1 -auto -targetdir=${S}/${M_TARGET}/Documentation -noexec|" -i "Unix/Installer/MathInstaller" || die
+
+ /bin/sh "Unix/Installer/MathInstaller" -auto "-targetdir=${S}/${M_TARGET}" "-execdir=${S}/opt/bin" || die
+ popd > /dev/null || die
+
+ if ! use doc; then
+ einfo "Removing documentation"
+ rm -r "${S}/${M_TARGET}/Documentation" || die
+ fi
+
+ # fix world writable file QA problem for files
+ while IFS= read -r -d '' i; do
+ chmod o-w "${i}" || die
+ done < <(find "${S}/${M_TARGET}" -type f -print0)
+
+ einfo 'Removing MacOS- and Windows-specific files'
+ find "${S}/${M_TARGET}" -type d -\( -name Windows -o -name Windows-x86-64 \
+ -o -name MacOSX -o -name MacOSX-x86-64 -o -name Macintosh -\) \
+ -exec rm -rv {} + || die
+
+ if ! use cuda; then
+ einfo 'Removing cuda support'
+ rm -r "${S}/${M_TARGET}/SystemFiles/Components/CUDACompileTools/LibraryResources/Linux-x86-64/CUDAExtensions"*.so || die
+ fi
+
+ # Linux-x86-64/AllVersions is the supported version, other versions remove
+ einfo 'Removing unsupported RLink versions'
+ rm -r "${S}/${M_TARGET}/SystemFiles/Links/RLink/SystemFiles/Libraries/Linux-x86-64/3.5.0" || die
+ rm -r "${S}/${M_TARGET}/SystemFiles/Links/RLink/SystemFiles/Libraries/Linux-x86-64/3.6.0" || die
+ rm -r "${S}/${M_TARGET}/SystemFiles/Links/RLink/SystemFiles/Libraries/MacOSX-ARM64" || die
+ # RLink can't use if R not used
+ if ! use R; then
+ einfo 'Removing RLink support'
+ rm -r "${S}/${M_TARGET}/SystemFiles/Links/RLink/SystemFiles/Libraries/Linux-x86-64/AllVersions/libjri.so" || die
+ fi
+ # FFmpegTools can't use if ffmpeg not used
+ if ! use ffmpeg; then
+ einfo 'Removing FFmpegTools support'
+ rm -r "${S}/${M_TARGET}/SystemFiles/Links/FFmpegTools/LibraryResources/Linux-x86-64/FFmpegToolsSystem"*.so || die
+ fi
+
+ # fix RPATH
+ while IFS= read -r -d '' i; do
+ # Use \x7fELF header to separate ELF executables and libraries
+ # Skip .o files and static files to avoid surprises
+ [[ $(od -t x1 -N 4 "${i}") == *"7f 45 4c 46"* ]] || continue
+ [[ -f "${i}" && "${i: -2}" != ".o" ]] || continue
+ [[ "$(file "${i}")" == *"dynamically"* ]] || continue
+ einfo "Fixing RPATH of ${i}"
+ patchelf --set-rpath \
+'/'"${M_TARGET}"'/SystemFiles/Libraries/Linux-x86-64:'\
+'/'"${M_TARGET}"'/SystemFiles/Libraries/Linux-x86-64/Qt/lib:'\
+'/'"${M_TARGET}"'/SystemFiles/Java/Linux-x86-64/lib:'\
+'/'"${M_TARGET}"'/SystemFiles/Java/Linux-x86-64/lib/jli:'\
+'$ORIGIN' "${i}" || \
+ die "patchelf failed on ${i}"
+ done < <(find "${S}/${M_TARGET}" -type f -print0)
+
+ # fix broken symbolic link
+ ln -sf "/${M_TARGET}/SystemFiles/Kernel/Binaries/Linux-x86-64/wolframscript" "${S}/${M_TARGET}/Executables/wolframscript" || die
+
+ # move all over
+ mv "${S}"/opt "${ED}"/opt || die
+
+ # the autogenerated symlinks point into sandbox, remove
+ rm "${ED}"/opt/bin/* || die
+
+ # install wrappers instead
+ for name in ${M_BINARIES} ; do
+ einfo "Generating wrapper for ${name}"
+ echo '#!/bin/sh' >> "${T}/${name}" || die
+ echo 'QT_QPA_PLATFORM="wayland;xcb"' >> "${T}/${name}" || die
+ echo "LD_PRELOAD=/usr/$(get_libdir)/libfreetype.so.6:/$(get_libdir)/libz.so.1:/$(get_libdir)/libcrypt.so.1 /${M_TARGET}/Executables/${name} \$*" \
+ >> "${T}/${name}" || die
+ dobin "${T}/${name}"
+ done
+ for name in ${M_BINARIES} ; do
+ einfo "Symlinking ${name} to /opt/bin"
+ dosym ../../usr/bin/${name} /opt/bin/${name}
+ done
+
+ # fix some embedded paths and install desktop files
+ for filename in $(find "${ED}/${M_TARGET}/SystemFiles/Installation" -name "wolfram-mathematica*.desktop") ; do
+ einfo "Fixing ${filename}"
+ sed -e "s|${S}||g" -e 's|^\t\t||g' -i "${filename}" || die
+ echo "Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}" || die
+ domenu "${filename}"
+ done
+
+ # install icons
+ for iconsize in 16 32 64 128 256; do
+ local iconfile="${ED}/${M_TARGET}/SystemFiles/FrontEnd/SystemResources/X/App-${iconsize}.png"
+ if [ -e "${iconfile}" ]; then
+ newicon -s "${iconsize}" "${iconfile}" wolfram-mathematica.png
+ fi
+ done
+
+ # install mime types
+ insinto /usr/share/mime/application
+ for filename in $(find "${ED}/${M_TARGET}/SystemFiles/Installation" -name "application-*.xml"); do
+ basefilename=$(basename "${filename}")
+ mv "${filename}" "${T}/${basefilename#application-}" || die
+ doins "${T}/${basefilename#application-}"
+ done
+}
+
+pkg_nofetch() {
+ einfo "Please place the Wolfram Mathematica installation file ${SRC_URI}"
+ einfo "in your \$\{DISTDIR\}."
+ einfo "Note that to actually run and use Mathematica you need a valid license."
+ einfo "Wolfram provides time-limited evaluation licenses at ${HOMEPAGE}"
+}
diff --git a/sci-mathematics/mathlib-tools/Manifest b/sci-mathematics/mathlib-tools/Manifest
index 2f965035121e..2d6173c9e5fe 100644
--- a/sci-mathematics/mathlib-tools/Manifest
+++ b/sci-mathematics/mathlib-tools/Manifest
@@ -1,4 +1,4 @@
AUX mathlib-tools-1.3.2-pull-131.patch 3637 BLAKE2B bf7128554dc0727c80a754081aca5fe75e5df33e1429b9b94243884209049cab57f32139c8149732a4e6bf6eb4c58b60d7adcbd100fa4d65de7c265a9d54eaee SHA512 d222078b011f3169f0fbdbc6a05a7d9593209ded23a407b9998b5f572b308d9064fec1767a26013997ca882d4f51bae9938661efd548270efdbbe8099d770151
DIST mathlib-tools-1.3.2_p1.gh.tar.gz 36686 BLAKE2B 0120e64821c183e368a4ca7d7122146637b933c9f56279c15716c825ac6e0e20d19f8ece731ee5c4114b7c221e84b53d3b89fcc0268529cbd1f2ad3328ac7847 SHA512 7b3c5a8aea19a4c7df366c71baa19e3d8ab6a0a6b387973ed37aecf3003361f298b85a4deecc8a4fcb6a2003f666c503fd66cde986e412003d439d48345afbc7
-EBUILD mathlib-tools-1.3.2_p1.ebuild 1404 BLAKE2B a3a1309621fb82e4eb394febf917ff9aae42c1ef2d428dc62d1e3dae10c1f0085af5533571168d53066584b011c6b1efcb1b8c8ac525c6f97f23db87183f6fa4 SHA512 cc011704fba9ed8a1dba3756148a2823ba263e28c10cc3877411512dc2d7c70e18f1dbba1a791de9176d8ffac13eea713b2baa5a4caa76fdd40a2a71b4fd2bc5
+EBUILD mathlib-tools-1.3.2_p1.ebuild 1404 BLAKE2B e70a07ce21baa1be145fa50a4cbad0a133863a44c6301f043d0af248d5c20baf616fdd2a38fb5cdcf78ab21443b219dc47a9de93362e73ef3f468457d7bf75f2 SHA512 570eeebd326f46eb4fb17e39126f038f2da7fc2567fa537db2b3da65cf0fc72e54600a5015aeb555d3a1845480c59143d6ce0611dece30987d1ce2077bdcd81b
MISC metadata.xml 845 BLAKE2B 8d01442128f49f1c8c0c29cf4469d775936149cdde77d7e96a6825bc631119a4e83932bc67f9e60781128f0c179ef7e622edcc9836d7fb3f4240b356e92caf8b SHA512 8add0a2a70e219d5581ef7fdcd0125ab1375c65d631093df02559e462974b07cef0bf1fe75919707be026b91e77131b24d3b197a5c332961c6a573ddf899c939
diff --git a/sci-mathematics/mathlib-tools/mathlib-tools-1.3.2_p1.ebuild b/sci-mathematics/mathlib-tools/mathlib-tools-1.3.2_p1.ebuild
index c18adafa5977..ff507d91bc0b 100644
--- a/sci-mathematics/mathlib-tools/mathlib-tools-1.3.2_p1.ebuild
+++ b/sci-mathematics/mathlib-tools/mathlib-tools-1.3.2_p1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
diff --git a/sci-mathematics/petsc/Manifest b/sci-mathematics/petsc/Manifest
index 02e227302149..718cd676289c 100644
--- a/sci-mathematics/petsc/Manifest
+++ b/sci-mathematics/petsc/Manifest
@@ -18,5 +18,5 @@ EBUILD petsc-3.19.1-r1.ebuild 7323 BLAKE2B d42ef6d5dea72728bca65edbd783ad38ed809
EBUILD petsc-3.19.2-r1.ebuild 7323 BLAKE2B d42ef6d5dea72728bca65edbd783ad38ed809ed9ab312cd5f21e9039d560166beca6a44859094346a52f33ea5810b429cd61db4812ef8747966778d77636d233 SHA512 540bbc5210587b45df3fd5038b0671eafbe330683198661fdacd1eda10a08c4f89d7dbed6966b69154dd54a98fc5238c615bc27cff2ddee270d32fb170d2d7ef
EBUILD petsc-3.19.4-r1.ebuild 7447 BLAKE2B 25b7431319effec19012133dd480cc76309206f3de7789262fc09d2724cde19dcdc9ae86a40432fa40dc6b927c49e445d5e67c010e5e47eee1c27aa8db8510b2 SHA512 835ef674e227720e47e86165143b3b55d79694c9424b666f94a9191d70d2f435acd5d4f0aada1765520194eb97126e064b49c71a2efaf90775a867eec9a49acd
EBUILD petsc-3.20.5-r1.ebuild 7460 BLAKE2B ba8adc670eb453336766c670caa28fd1130f10eb222bc1aafa3e69e616288059908ff845d3a290f71f65d6011f82f0d94c4ba87d79a298b80f17035575ead102 SHA512 89db7fbeda8e15bac7194b84f07a0a12f85d2916be9ba45d5ae64e389fd9dd39233611bab424b8916be2a55569409afd08bd8efb830b422bd18347d16e9cc428
-EBUILD petsc-3.21.3.ebuild 7445 BLAKE2B caa8f098a17253540ffd738a251d630f1478e62321b3cb4b68dd8e332c1c23f1b7ffeda2932e2dd85914dcd89b1bc5dfd4e281d9d8b5a60891a44d1f154ecc27 SHA512 2908d9f0e4fd7432e65134d7559ad95b3c9bc88d35dbd6215debecf487ca08502821bd22e6d501ae1e7649dee3ca0a90ab9cf7fbcc622dad99eb68638af33dab
+EBUILD petsc-3.21.3.ebuild 7321 BLAKE2B 60cbd5eb826775ff9632a2e2f1861d905b3fa717739cfb4d4a734392cf369422f62900253a31caf0d5c8e86807c9beb2a66a34e03d45b6e42b791830bb0e7af4 SHA512 3c5fd8d0bf86d0f23c9e460b33b562591957dc1844805cb6486813142fde8fdcb7ef4bb20bb01260c99e65ea06fc318962b34ac1ad6f07096d403f24739dd574
MISC metadata.xml 1310 BLAKE2B 04161c348ae88640222ad8d6c3f3471defbfdc0adc223acc6e8d0d21f62090b62f2887caacae5de751cb4b1ddb1e0d4bb4de5ea57d9381c710837262668fc37b SHA512 327aa86d4dba087c0de4ab7e2099bf8df13f2eb04138207802f664c316b74c09b2b15f82e9766b6b713d530f3ee094844f490c4769a1b5719f4912b486156ba9
diff --git a/sci-mathematics/petsc/petsc-3.21.3.ebuild b/sci-mathematics/petsc/petsc-3.21.3.ebuild
index 34622426cdb2..10be74f1f7e2 100644
--- a/sci-mathematics/petsc/petsc-3.21.3.ebuild
+++ b/sci-mathematics/petsc/petsc-3.21.3.ebuild
@@ -92,11 +92,6 @@ petsc_select() {
}
src_configure() {
- # -Werror=lto-type-mismatch
- # https://bugs.gentoo.org/863260
- # https://gitlab.com/petsc/petsc/-/issues/1560
- filter-lto
-
# bug 548498
# PETSc runs mpi processes during configure that result in a sandbox
# violation by trying to open /proc/mtrr rw. This is not easy to
diff --git a/sci-mathematics/primecount/Manifest b/sci-mathematics/primecount/Manifest
index 468b32e191d8..48e146ff288a 100644
--- a/sci-mathematics/primecount/Manifest
+++ b/sci-mathematics/primecount/Manifest
@@ -1,3 +1,6 @@
+AUX primecount-7.13-gcc-15-buildfix.patch 1002 BLAKE2B 559087005bc7f476fb82a567337bec6ea100278d8b1f7a469da8789d90e95cafe7ba48ec1fdf8c72710646929d3c675f25874ccec6092116309d2be34fa130eb SHA512 1e4600453335eb861ee95947c0934f5b78fa683bd94a23782ddf137440bbe5fed0e9a16a3908f753c868d0da4435c7b2bb2b74bba8d952ffeb28c95904c840e2
+DIST primecount-7.13.tar.gz 431676 BLAKE2B a02ba71af2b545f2a89e83018c3e9f2ab6ad5e567e5e72e3a0e85ccc132f1bc54b7dcc8b51ccdb1e727f6edcf050a856cee15e4180cc46a54fa8c5fe834d8cd8 SHA512 836c181e586a691708049d3ba04672e1dd4922160e17b3b03737ea55512186d3a529e003af08ff2e78f7bf7349cce0819c98144cfb89bd8208e4bad8124ae17b
DIST primecount-7.6.tar.gz 382074 BLAKE2B f665db8724b32b2f057db96fdd6421d7a996ed4bda7f43cd405e6c05b59abab8672407c41b6fafdd9c68dae3f51b65305112c0724c95ce3fdb33b9dbfaadfbff SHA512 643372d9a011dba8a49f21eabc00068b77a5ef5dc6d12e6b55230b97f14dc9d1d855bb7ad662beda548e4ff1396f1b06d473e2fe4b81e7dbe9926aaadc4da360
+EBUILD primecount-7.13-r1.ebuild 1271 BLAKE2B 090c8061f918ffd8cdda81f79590bdb259245121ec82ae17daf7a11b3a4bf921524b66dac1ad41658d859c01218df9b1b32b78ac545e7ff75846c28229df9752 SHA512 7503ccf23b771b4c0084a21ccc0c09cb1df5cb781dd58e8e06a0dddb16b6a2ac87b1205c3ec839e671c6f0975ade1815a580bc87f69a6d4389567e09df885074
EBUILD primecount-7.6.ebuild 1284 BLAKE2B 899f461eb37ae77f62bdddd5650cf26d89b09c7b5ba043c786c1787adb24bc3ac1aef05c01800372895fea5d4c5303745917a86e29be361261839b8eef19e277 SHA512 299160fa362a1720ed11ae0bfad56e600a44c4323190d394e75b83fcb849e55a735b862fa9c234a8ac6b0319a435c578ea04eadbd44e47a2647b80d95372563e
MISC metadata.xml 674 BLAKE2B 2d8321166afee1e9d0a20723ae6849f17a7ef0d5d474dc3ec0b1650519b197ad5b1360641faa6985a60121501741a137812b8bcf03cd708766278a1b014615f7 SHA512 7a4fa0c1cae4880bdc230065c98ec46dfb5f1b1adae6ffa5eac275f6f04f38ce0c24042e62f5aac6117f9f816890244daec8fb1c920ec4b6a0a124385e5d7e33
diff --git a/sci-mathematics/primecount/files/primecount-7.13-gcc-15-buildfix.patch b/sci-mathematics/primecount/files/primecount-7.13-gcc-15-buildfix.patch
new file mode 100644
index 000000000000..6f483ba401ce
--- /dev/null
+++ b/sci-mathematics/primecount/files/primecount-7.13-gcc-15-buildfix.patch
@@ -0,0 +1,30 @@
+From a4512db281754a487314b64fadf4537f4620396d Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Tue, 30 Jul 2024 16:19:25 -0400
+Subject: [PATCH] include/libdivide.h: backport gcc-15 fix
+
+This is commit 572d2408 to upstream libdivide, backported to the copy
+bundled with primecount. The issue is also fixed in primecount but
+won't arrive until v7.14.
+---
+ include/libdivide.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/include/libdivide.h b/include/libdivide.h
+index 3779ebd..7336efb 100644
+--- a/include/libdivide.h
++++ b/include/libdivide.h
+@@ -2015,8 +2015,8 @@ public:
+ }
+
+ bool operator==(const divider<T, ALGO>& other) const {
+- return div.denom.magic == other.denom.magic &&
+- div.denom.more == other.denom.more;
++ return div.denom.magic == other.div.denom.magic &&
++ div.denom.more == other.div.denom.more;
+ }
+
+ bool operator!=(const divider<T, ALGO>& other) const {
+--
+2.44.2
+
diff --git a/sci-mathematics/primecount/primecount-7.13-r1.ebuild b/sci-mathematics/primecount/primecount-7.13-r1.ebuild
new file mode 100644
index 000000000000..2408ad36320b
--- /dev/null
+++ b/sci-mathematics/primecount/primecount-7.13-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake toolchain-funcs
+
+DESCRIPTION="Highly optimized CLI and library to count primes"
+HOMEPAGE="https://github.com/kimwalisch/primecount"
+SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0/7" # subslot is first component of libprimecount.so version
+KEYWORDS="~amd64"
+IUSE="+executable openmp test"
+RESTRICT="!test? ( test )"
+
+DEPEND=">=sci-mathematics/primesieve-12.0:="
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-gcc-15-buildfix.patch" )
+
+DOCS=(
+ ChangeLog
+ README.md
+ doc/Credits.md
+ doc/Easy-Special-Leaves.md
+ doc/Hard-Special-Leaves.md
+ doc/Records.md
+ doc/References.md
+ doc/alpha-factor-dr.pdf
+ doc/alpha-factor-gourdon.pdf
+ doc/alpha-factor-lmo.pdf
+ doc/libprimecount.md
+)
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_LIBPRIMESIEVE="OFF"
+ -DBUILD_PRIMECOUNT="$(usex executable)"
+ -DBUILD_STATIC_LIBS="OFF"
+ -DBUILD_TESTS="$(usex test)"
+ -DWITH_OPENMP="$(usex openmp)"
+ )
+
+ cmake_src_configure
+}
diff --git a/sci-mathematics/primesieve/Manifest b/sci-mathematics/primesieve/Manifest
index 65b4e325b00c..402a3d56c117 100644
--- a/sci-mathematics/primesieve/Manifest
+++ b/sci-mathematics/primesieve/Manifest
@@ -1,3 +1,5 @@
DIST primesieve-11.0.tar.gz 125086 BLAKE2B ac425b6435bc95efbfc3d7458b59719af390508db811e0a993a606397166771cfcb9c0269249341fb6f678aafa8bae4a89e7a914176f61a608e6ccdfd0cab22b SHA512 1be9ff9d07068cab1ca69315010238ab15e5ba3b674bd45e9a0e11d20418810ece05a8df3853796118193468ac2ac6e24391f82d6db9581658ce59ddabb5b7fc
+DIST primesieve-12.3.tar.gz 140761 BLAKE2B d93aa8747d43850b9194172a2300942a685797c1aeb503240eb23cbbfe4b99281f3058a622d0e2359017e144ff8200dcecdd56922e16b46366d693b04eb1350a SHA512 b7bd74223ca9abe41de9f6a48102e6cfd1b1989fb291292c13f5c751a31f8df93e1faaadee318f169cfe81fa4dc4d5b0678fe7556f77043941d8ae749c6e8cc7
EBUILD primesieve-11.0.ebuild 1038 BLAKE2B 24f210bb5099c96234c0682bf634a3387ad33b8325b229497a93f7bcc77e04d604d08c579f4ad03414dc2669f648ebbf8ee0b1c6fbfe1c14c95fbeeb408e4120 SHA512 e8ef7324d624fbc1033081f443f3d241e631071869cf210ad4a5cf95ca879bda7f7dc29a308ddfedd775c60fbc5fd5d3fd1d85525ec76c06433439bcc8703331
+EBUILD primesieve-12.3.ebuild 1122 BLAKE2B 6f319a223f9440d473d09aae586d3db0ca8798596aa3082b74f8d9c3bac3fdc257914f7a961183a04f202f01a1f47b5a62f701946d3439d3478407e4ce248783 SHA512 a34b7e78759f13b96e868adf0df923dc7af3fbb20cbcd28d58f4f28a9d2d533442afa7a171268b6b2ad86b8eea0bff82f0a33448080ff1da358e035d39537cc7
MISC metadata.xml 672 BLAKE2B e580c88061b6dcece5a34fde2cd13ce8c55264f3bac16fe3af6374df92d6280993452ebeea3d8446d9f8afcf7c1cb6927405c40e82a1c01a153d5060c77392fd SHA512 8ad3dd50c172ad3333d30a01b0e7ddb8f0f96b7666b61a0c6a1644e92abc49fa75f4f54c4c88eb72c2c8c7104d5e720d852bc7319fbc1a9569fcc5de85529b02
diff --git a/sci-mathematics/primesieve/primesieve-12.3.ebuild b/sci-mathematics/primesieve/primesieve-12.3.ebuild
new file mode 100644
index 000000000000..580881f0c652
--- /dev/null
+++ b/sci-mathematics/primesieve/primesieve-12.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="CLI and library for quickly generating prime numbers"
+HOMEPAGE="https://github.com/kimwalisch/primesieve"
+SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="BSD-2"
+SLOT="0/12" # subslot is first component of libprimesieve.so version
+KEYWORDS="~amd64"
+IUSE="doc +executable test"
+RESTRICT="!test? ( test )"
+
+# dev-texlive/texlive-latexextra needed for varwidth.sty, bug 936808
+BDEPEND="doc? (
+ app-text/doxygen
+ app-text/texlive
+ dev-texlive/texlive-latexextra
+ media-gfx/graphviz
+)"
+
+DOCS=(
+ ChangeLog
+ README.md
+ doc/ALGORITHMS.md
+ doc/CPP_API.md
+ doc/C_API.md
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_DOC="$(usex doc)"
+ -DBUILD_PRIMESIEVE="$(usex executable)"
+ -DBUILD_STATIC_LIBS="OFF"
+ -DBUILD_TESTS="$(usex test)"
+ )
+
+ if use doc; then
+ DOCS+=(
+ "${BUILD_DIR}/doc/html"
+ "${BUILD_DIR}/doc/latex/refman.pdf"
+ )
+ fi
+
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ use doc && cmake_build doc
+}
diff --git a/sci-mathematics/pspp/Manifest b/sci-mathematics/pspp/Manifest
index 5125f7db3418..fb929542a7d0 100644
--- a/sci-mathematics/pspp/Manifest
+++ b/sci-mathematics/pspp/Manifest
@@ -1,4 +1,4 @@
AUX pspp-1.6.2-underlinking.patch 980 BLAKE2B 59d7509417526e3428023f2e0f085a9ec806fe4bada8934404e0da3d306860f5826d83b9682151c5c4946bdf914618e3d555c99d60b93e858e56221cbd336c12 SHA512 8773b768dd8336a37c97527ac24311d7006c04c4ea0b71199432dc779b7a16c2b2e6fa786714cb7e359a2e52e806958315644f13199a7f656445d1c17a2b852a
DIST pspp-1.6.2.tar.gz 9249366 BLAKE2B d1a4fb352615be8d5f3af3125d10760648ab16e8d2b42dbf0632de64a5bb5bbe87b9b56661c7f600ea09c6a359e477376d3efb821280023d1825d6eb7b0a299f SHA512 fd8b6b23ae4e4a1a560bf4d20c35e761d84dcde2e220648303303f11e9c17d56285a3d5b3c26e7dad44d52ecc82fdf93fdc51a3533ff907f2ca1f1474922e31f
-EBUILD pspp-1.6.2-r2.ebuild 1874 BLAKE2B c9bdabe3154c2093d439450db76ff528df4c6caf9de3cad41641750a1f8e21c0c93e8080fbed14630b850a09610cc0ded86e2d184a511b37b42b24e470f42606 SHA512 dc5d44d7b32d9be2f4f282b084e2bc835cb2ba39739f3eaf1892e3113d18520c3eaa8cc10b6545b01e878b8c892eb1df107f55655ddbd1bf64289d0fec052a6f
+EBUILD pspp-1.6.2-r2.ebuild 1875 BLAKE2B 842c4b078a2e5c15eb4a595bb138e71627cbb0ca49e65575ab32e1a7461597955baea7e201f10b6df4e6f5ffc9188fdf2aec407e13f95b865e5476c847224803 SHA512 f43ceab326d1e1c7c983c2d8de912174934db4af67b7de4839f22050fde03ba6ba9fb0d12332f2a4b968310f23ebe5b59e473af7251afab7dac4e7e0daf323f3
MISC metadata.xml 789 BLAKE2B 512ff8155a10ed8c1be37ec63067c73c196c5bfe48d9722feaba5305e95703e0cccd247d5d55dd123275f3543632020d3cacedb0416953a547e5e7015d1f759f SHA512 011cf3d266b6d1385791930ce84850e99d5d0b506d9ffb632807a8e825217e94ba02c3cb55b56a6be40fc1e84bfed28b7db7131ce58fe958468d5a44b6734305
diff --git a/sci-mathematics/pspp/pspp-1.6.2-r2.ebuild b/sci-mathematics/pspp/pspp-1.6.2-r2.ebuild
index 997eac8a4074..7bd92ddfe088 100644
--- a/sci-mathematics/pspp/pspp-1.6.2-r2.ebuild
+++ b/sci-mathematics/pspp/pspp-1.6.2-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit python-any-r1 xdg
diff --git a/sci-mathematics/rkward/Manifest b/sci-mathematics/rkward/Manifest
index 8dc9735788a2..9553dba6d5ad 100644
--- a/sci-mathematics/rkward/Manifest
+++ b/sci-mathematics/rkward/Manifest
@@ -1,3 +1,6 @@
+AUX rkward-0.8.0-unbundle-kdsingleapplication.patch 2094 BLAKE2B a1214ddce2ae5eda93f9cb9ed9904f5b38f538b8ef9af4f3f39eef60edfb049da3034db5679c0581b8e76ff26d34eac46990d5cb84a8c75bac85eb460fa2894f SHA512 69cc9a68ce3d4b43758a4aa532da94e885f7d9701616d47bd197e0be44f48cef57e185815754ac4d63b9a30b8f663d097b6f0c5ac5dc904ea6dfe0bc5b40985f
DIST rkward-0.7.5.tar.gz 7682442 BLAKE2B b3c79dbc51585c646e88549d82b0a68a3246219b069d641f71beb25f2ac855d0c7a0e44e1cdba3da112ee94479584768ebd45fc37afb83fbd95de51bcc3f5a31 SHA512 247ee50fbebb9b74a1c03d6ef99dded18a1b3cf18286a6d2afcaa8ff7472cc3cb735db0a876926625aff4674906956f7a0c001a46d0dfd328a93e8c7af9f6c6b
+DIST rkward-0.8.0.tar.gz 8614382 BLAKE2B e44dd1c9ae5df02160ac47a14409a2fbf88dbc085369af22e64c80a59740f25305129e166402e944f85978cabde4d273a08f7f473eb46fdb31145ff8d886f46a SHA512 07070189e05fe1bdd65372fb3f90c027c693b93e3dc80a17bc30f90c983ca0bc777f30ea81ef99343ebdc90f463f47721d03f26d116145567c8ef6ca4ffdff27
EBUILD rkward-0.7.5.ebuild 1425 BLAKE2B 17d68f72beaef5fb809a54480db2e93bf4b6c6870d78c080772724d514d6c7fe90aa5eb8cc0bee24330fbaaf0963c23f66305087fec55ca4c42294e83994fe0a SHA512 bbc7a4c98853a8786c94a5d63094d78c39fd9259057d062747146d8b03bb007f4fd78d90b7322f03425beebe61cb1b67b78be78ae21fb4624ff18e0345ab3e68
+EBUILD rkward-0.8.0.ebuild 1788 BLAKE2B ddb2ca26400627c472282d4fcf0cc5e9d71852a570e8a463fd0e8707a8c74b92af21190bdfab642668ac57ff9c15cca64730c8f06bbd7a9736494e0095305806 SHA512 fb451201e90557f0eb03b6480b09ff15013c20e11bd36a2eeccfdd15060362e51a3d6e90167171326dbaefeb087413262a42ff3a2253346c76aa7ac1f8db215e
MISC metadata.xml 448 BLAKE2B c43701b135281f800da40813b11df123d5088bfa0beb3e0700ba354e991ec18aac267dc0a0f3d206bdd06eef5d50f78378a107f05d1f01d17b0d409e632066de SHA512 b9b3c376714fc5c81008caed25794d262d2d60cafbd3fcdccfeccdf9666b16dbb09f1d06025526c8304c640e150492b685df95f200002e8ef41aed609b0893a8
diff --git a/sci-mathematics/rkward/files/rkward-0.8.0-unbundle-kdsingleapplication.patch b/sci-mathematics/rkward/files/rkward-0.8.0-unbundle-kdsingleapplication.patch
new file mode 100644
index 000000000000..0340987c517b
--- /dev/null
+++ b/sci-mathematics/rkward/files/rkward-0.8.0-unbundle-kdsingleapplication.patch
@@ -0,0 +1,57 @@
+From 997c8a7280fe0f99a29465f67b56fd001cdac4e1 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Mon, 22 Jul 2024 22:20:26 +0200
+Subject: [PATCH] Make it possible to build against system kdsingleapplication
+
+Bundling must be avoided wherever possible.
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ CMakeLists.txt | 10 +++++++++-
+ rkward/main.cpp | 2 +-
+ 2 files changed, 10 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 3b9833164..1af6cd172 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -26,6 +26,15 @@ FIND_PACKAGE(Qt6 6.6 CONFIG REQUIRED COMPONENTS Widgets Core Xml Network Qml Pri
+ FIND_PACKAGE(KF6 6.0.0 REQUIRED COMPONENTS CoreAddons DocTools I18n XmlGui TextEditor WidgetsAddons Parts Config Notifications WindowSystem Archive BreezeIcons OPTIONAL_COMPONENTS Crash)
+ FIND_PACKAGE(Gettext REQUIRED)
+
++FIND_PACKAGE(KDSingleApplication-qt6 1.1.0 QUIET)
++if(KDSingleApplication-qt6_FOUND)
++ message(STATUS "Using system KDSingleApplication")
++else()
++ message(STATUS "Using bundled KDSingleApplication")
++ add_subdirectory(3rdparty/KDSingleApplication)
++ add_definitions(-DKDSINGLEAPPLICATION_STATIC_BUILD)
++endif()
++
+ IF(FORCE_PRETTY_MAKEFILE)
+ SET(CMAKE_VERBOSE_MAKEFILE OFF)
+ ENDIF(FORCE_PRETTY_MAKEFILE)
+@@ -37,7 +46,6 @@ remove_definitions(-DQT_NO_CAST_FROM_ASCII) # TODO remove to compley to KDECompi
+ #uncomment the line below to save ~250-350kB in object size
+ #ADD_DEFINITIONS(-DRKWARD_NO_TRACE)
+
+-ADD_SUBDIRECTORY(3rdparty/KDSingleApplication)
+ ADD_SUBDIRECTORY(rkward)
+ ADD_SUBDIRECTORY(doc)
+ ADD_SUBDIRECTORY(tests)
+diff --git a/rkward/main.cpp b/rkward/main.cpp
+index 2804e99d8..df959ba82 100644
+--- a/rkward/main.cpp
++++ b/rkward/main.cpp
+@@ -72,7 +72,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
+ #include "rbackend/rksessionvars.h"
+ #include "windows/rkdebugmessagewindow.h"
+ #include "misc/rkcommonfunctions.h"
+-#include "../3rdparty/KDSingleApplication/kdsingleapplication.h"
++#include "kdsingleapplication.h"
+ #include "misc/rkcommandlineargs.h"
+
+ #ifdef Q_OS_WIN
+--
+GitLab
+
diff --git a/sci-mathematics/rkward/rkward-0.8.0.ebuild b/sci-mathematics/rkward/rkward-0.8.0.ebuild
new file mode 100644
index 000000000000..a6333ecdd210
--- /dev/null
+++ b/sci-mathematics/rkward/rkward-0.8.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=6.3.0
+QTMIN=6.6.2
+inherit ecm kde.org optfeature
+
+DESCRIPTION="IDE for the R-project"
+HOMEPAGE="https://rkward.kde.org/"
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~amd64-linux"
+fi
+
+LICENSE="GPL-2+ LGPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ dev-lang/R
+ dev-libs/kdsingleapplication[qt6(+)]
+ >=dev-qt/qt5compat-${QTMIN}:6
+ >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,widgets,xml]
+ >=dev-qt/qtdeclarative-${QTMIN}:6
+ >=dev-qt/qtwebengine-${QTMIN}:6[widgets]
+ >=kde-frameworks/breeze-icons-${KFMIN}:6
+ >=kde-frameworks/karchive-${KFMIN}:6
+ >=kde-frameworks/kcompletion-${KFMIN}:6
+ >=kde-frameworks/kconfig-${KFMIN}:6
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/kcrash-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kio-${KFMIN}:6
+ >=kde-frameworks/kjobwidgets-${KFMIN}:6
+ >=kde-frameworks/knotifications-${KFMIN}:6
+ >=kde-frameworks/kparts-${KFMIN}:6
+ >=kde-frameworks/kservice-${KFMIN}:6
+ >=kde-frameworks/ktexteditor-${KFMIN}:6
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+ >=kde-frameworks/kwindowsystem-${KFMIN}:6
+ >=kde-frameworks/kxmlgui-${KFMIN}:6
+"
+RDEPEND="${DEPEND}
+ !${CATEGORY}/${PN}:5
+"
+BDEPEND="sys-devel/gettext"
+
+PATCHES=( "${FILESDIR}/${P}-unbundle-kdsingleapplication.patch" )
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ optfeature "kate plugins support" "kde-apps/kate-addons:6"
+ optfeature "prendering (or previewing) R markdown (.Rmd) files" "app-text/pandoc"
+ optfeature "managing citations while writing articles" "app-text/kbibtex"
+ fi
+ ecm_pkg_postinst
+}