diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-11-23 07:58:46 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-11-26 22:12:29 +0100 |
commit | 81245c75f8b75958ca76ab28e38f20353219fb0d (patch) | |
tree | fba3a32131a3211258a7742c1b7bd82f2eccd492 /dev-python/scipy/scipy-1.9.9999.ebuild | |
parent | python-utils-r1.eclass: Disable tavern plugin in epytest (diff) | |
download | gentoo-81245c75f8b75958ca76ab28e38f20353219fb0d.tar.gz gentoo-81245c75f8b75958ca76ab28e38f20353219fb0d.tar.bz2 gentoo-81245c75f8b75958ca76ab28e38f20353219fb0d.zip |
dev-python/scipy: Pass -Dblas, -Dlapack via DISTUTILS_ARGS
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/scipy/scipy-1.9.9999.ebuild')
-rw-r--r-- | dev-python/scipy/scipy-1.9.9999.ebuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild index 6396c461e4e3..b85e9495ebc9 100644 --- a/dev-python/scipy/scipy-1.9.9999.ebuild +++ b/dev-python/scipy/scipy-1.9.9999.ebuild @@ -62,6 +62,7 @@ RDEPEND=" BDEPEND=" dev-lang/swig >=dev-python/cython-0.29.18[${PYTHON_USEDEP}] + >=dev-python/meson-python-0.11[${PYTHON_USEDEP}] dev-python/pybind11[${PYTHON_USEDEP}] >=dev-util/meson-0.62.2 dev-util/patchelf @@ -70,10 +71,6 @@ BDEPEND=" fortran? ( dev-python/pythran[${PYTHON_USEDEP}] ) test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )" -PATCHES=( - "${FILESDIR}"/${PN}-1.9.9999-meson-options-lapack.patch -) - EPYTEST_DESELECT=( linalg/tests/test_decomp.py::TestSchur::test_sort linalg/tests/test_solvers.py::test_solve_discrete_are @@ -90,9 +87,11 @@ src_unpack() { } python_configure_all() { - # workaround stupid numpy distutils overrides, indirectly via pythran - export SETUPTOOLS_USE_DISTUTILS=stdlib export SCIPY_USE_PYTHRAN=$(usex fortran 1 0) + DISTUTILS_ARGS=( + -Dblas=blas + -Dlapack=lapack + ) } python_test() { |