• [gentoo-dev] [PATCH 3/7] dev-python/scipy: Pass -Dblas, -Dlapack via DI

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Fri Nov 25 18:10:02 2022
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    dev-python/scipy/scipy-1.9.3-r1.ebuild | 109 +++++++++++++++++++++++++
    dev-python/scipy/scipy-1.9.9999.ebuild | 11 ++-
    2 files changed, 114 insertions(+), 6 deletions(-)
    create mode 100644 dev-python/scipy/scipy-1.9.3-r1.ebuild

    diff --git a/dev-python/scipy/scipy-1.9.3-r1.ebuild b/dev-python/scipy/scipy-1.9.3-r1.ebuild
    new file mode 100644
    index 000000000000..7c62ef8bb35f
    --- /dev/null
    +++ b/dev-python/scipy/scipy-1.9.3-r1.ebuild
    @@ -0,0 +1,109 @@
    +# Copyright 1999-2022 Gentoo Authors
    +# Distributed under the terms of the GNU General Public License v2
    +
    +EAPI=8
    +
    +FORTRAN_NEEDED=fortran
    +DISTUTILS_USE_PEP517=meson-python
    +PYTHON_COMPAT=( python3_{8..11} )
    +PYTHON_REQ_USE="threads(+)"
    +
    +inherit fortran-2 distutils-r1 multiprocessing
    +
    +DESCRIPTION="Scientific algorithms library for Python"
    +HOMEPAGE="
    + https://scipy.org/
    + https://github.com/scipy/scipy/
    + https://pypi.org/project/scipy/
    +"
    +
    +if [[ ${PV} == *9999* ]] ; then
    + inherit git-r3
    +
    + # Need submodules,