commit: 1a7ac8555cf98a290d83380afaf3000338c72a1c Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Tue Jul 15 05:26:42 2025 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Tue Jul 15 05:38:39 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a7ac855
dev-python/scipy: enforce boost version Upstream pins exact version of boost.math, and allowing other versions would require either discussing this upstream or patching the build. In the meantime, `emerge scipy` fails. Bug: https://github.com/scipy/scipy/issues/17751 Bug: https://github.com/scipy/scipy/pull/21270 Closes: https://bugs.gentoo.org/960038 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> dev-python/scipy/scipy-1.16.0.ebuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/dev-python/scipy/scipy-1.16.0.ebuild b/dev-python/scipy/scipy-1.16.0.ebuild index 54eccda61252..060179f704ef 100644 --- a/dev-python/scipy/scipy-1.16.0.ebuild +++ b/dev-python/scipy/scipy-1.16.0.ebuild @@ -49,8 +49,7 @@ IUSE="doc +fortran test-rust" # to actually compile code generated by pythran (headers and such needed). # # umfpack is technically optional but it's preferred to have it available. -DEPEND=" - dev-libs/boost:= +COMMON_DEPEND=" >=dev-python/numpy-1.23.5:=[lapack,${PYTHON_USEDEP}] ~media-libs/qhull-2020.2:= sci-libs/arpack:= @@ -58,8 +57,14 @@ DEPEND=" virtual/cblas >=virtual/lapack-3.8 " +# Only boost.math is used, and meson.build doesn't even look up specific boost modules. +# Exact version is enforced upstream, so building will fail if subslot isn't enforced. +DEPEND=" + ${COMMON_DEPEND} + dev-libs/boost:0/1.88.0 +" RDEPEND=" - ${DEPEND} + ${COMMON_DEPEND} dev-python/pillow[${PYTHON_USEDEP}] " DEPEND+="
