42127f01bc
Migrate to meson package infrastructure.
Add new openblas dependency.
License hash changed due to date update:
d3f0aea40f
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# python-scipy
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_SCIPY_VERSION = 1.11.0
|
|
PYTHON_SCIPY_SOURCE = scipy-$(PYTHON_SCIPY_VERSION).tar.gz
|
|
PYTHON_SCIPY_SITE = https://files.pythonhosted.org/packages/fa/d0/724c8204f87b6f807e3e67de32b8b4922d579154a448ce94e89129064bf1
|
|
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/qhull_src/COPYING.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))
|