Files
buildroot/package/python-scipy/python-scipy.mk
Bernd Kuhls 56db14b886 package/python-scipy: bump version to 1.16.3
Depends on python-numpy >= 2.0.0:
https://github.com/scipy/scipy/blob/v1.16.3/pyproject.toml#L41
a3e2bb639b

Updated license hash due to copyright year bumps:
https://github.com/scipy/scipy/commits/v1.16.3/LICENSE.txt

qhull license file was moved upstream:
6d699dded4
96423e5279

Updated numpy path in PYTHON_SCIPY_MESON_EXTRA_PROPERTIES following
upstream commit:
923f219077

Test was successful:

$ utils/docker-run support/testing/run-tests -j33    -k -d dl -o output_folder tests.package.test_python_scipy.TestPythonPy3SciPy
09:59:22 TestPythonPy3SciPy                       Starting
09:59:23 TestPythonPy3SciPy                       Building
10:10:09 TestPythonPy3SciPy                       Building done
Downloading to /home/bernd/buildroot/dl/tmpw1frnmf9
Renaming from /home/bernd/buildroot/dl/tmpw1frnmf9 to /home/bernd/buildroot/dl/kernel-versatile-5.10.202
Downloading to /home/bernd/buildroot/dl/tmpiip1lach
Renaming from /home/bernd/buildroot/dl/tmpiip1lach to /home/bernd/buildroot/dl/versatile-pb-5.10.202.dtb
10:10:24 TestPythonPy3SciPy                       Cleaning up
.
----------------------------------------------------------------------
Ran 1 test in 661.922s

OK

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-01-21 21:05:56 +01:00

48 lines
1.3 KiB
Makefile

################################################################################
#
# python-scipy
#
################################################################################
PYTHON_SCIPY_VERSION = 1.16.3
PYTHON_SCIPY_SOURCE = scipy-$(PYTHON_SCIPY_VERSION).tar.gz
PYTHON_SCIPY_SITE = https://files.pythonhosted.org/packages/0a/ca/d8ace4f98322d01abcd52d381134344bf7b431eba7ed8b42bdea5a3c2ac9
PYTHON_SCIPY_LICENSE = \
BSD-3-Clause, \
BSD-2-Clause, \
BSD, \
BSD-Style, \
MIT, \
Qhull
PYTHON_SCIPY_LICENSE_FILES = \
LICENSE.txt \
scipy/ndimage/LICENSE.txt \
scipy/optimize/tnc/LICENSE \
scipy/sparse/linalg/_dsolve/SuperLU/License.txt \
scipy/sparse/linalg/_eigen/arpack/ARPACK/COPYING \
scipy/spatial/COPYING_QHULL.txt
PYTHON_SCIPY_CPE_ID_VENDOR = scipy
PYTHON_SCIPY_CPE_ID_PRODUCT = scipy
PYTHON_SCIPY_DEPENDENCIES += \
host-python-cython \
host-python-numpy \
host-python-pythran \
zlib \
lapack \
openblas \
python3 \
python-numpy \
python-pybind
PYTHON_SCIPY_INSTALL_STAGING = YES
PYTHON_SCIPY_CONF_ENV += \
_PYTHON_SYSCONFIGDATA_NAME=$(PKG_PYTHON_SYSCONFIGDATA_NAME) \
PYTHONPATH=$(PYTHON3_PATH)
PYTHON_SCIPY_CONF_OPTS = -Dblas=openblas -Dlapack=lapack
PYTHON_SCIPY_MESON_EXTRA_PROPERTIES = \
numpy-include-dir='$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/numpy/_core/include'
$(eval $(meson-package))