6 |
6 |
FORTRAN_NEEDED=fortran
|
7 |
7 |
DISTUTILS_EXT=1
|
8 |
8 |
DISTUTILS_USE_PEP517=meson-python
|
9 |
|
PYTHON_COMPAT=( python3_{9..11} )
|
|
9 |
PYTHON_COMPAT=( python3_{10..11} )
|
10 |
10 |
PYTHON_REQ_USE="threads(+)"
|
11 |
11 |
|
12 |
12 |
inherit fortran-2 distutils-r1 multiprocessing
|
... | ... | |
37 |
37 |
)"
|
38 |
38 |
|
39 |
39 |
if [[ ${PV} != *rc* ]] ; then
|
40 |
|
KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86"
|
|
40 |
KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
41 |
41 |
fi
|
42 |
42 |
fi
|
43 |
43 |
|
... | ... | |
47 |
47 |
|
48 |
48 |
# umfpack is technically optional but it's preferred to have it available.
|
49 |
49 |
DEPEND="
|
50 |
|
>=dev-python/numpy-1.19.5[lapack,${PYTHON_USEDEP}]
|
|
50 |
>=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}]
|
51 |
51 |
sci-libs/arpack:=
|
52 |
52 |
sci-libs/umfpack
|
53 |
53 |
virtual/cblas
|
... | ... | |
59 |
59 |
"
|
60 |
60 |
BDEPEND="
|
61 |
61 |
dev-lang/swig
|
62 |
|
>=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
|
63 |
|
>=dev-python/meson-python-0.11[${PYTHON_USEDEP}]
|
64 |
|
dev-python/pybind11[${PYTHON_USEDEP}]
|
65 |
|
>=dev-util/meson-0.62.2
|
|
62 |
>=dev-python/cython-0.29.35[${PYTHON_USEDEP}]
|
|
63 |
>=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}]
|
|
64 |
>=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}]
|
|
65 |
>=dev-util/meson-1.1.0
|
66 |
66 |
dev-util/patchelf
|
67 |
67 |
virtual/pkgconfig
|
68 |
68 |
doc? ( app-arch/unzip )
|
... | ... | |
77 |
77 |
|
78 |
78 |
distutils_enable_tests pytest
|
79 |
79 |
|
|
80 |
PATCHES=(
|
|
81 |
"${FILESDIR}"/${P}-determinant-1x1-matrix.patch
|
|
82 |
)
|
|
83 |
|
80 |
84 |
src_unpack() {
|
81 |
85 |
default
|
82 |
86 |
|
... | ... | |
86 |
90 |
}
|
87 |
91 |
|
88 |
92 |
python_configure_all() {
|
89 |
|
export SCIPY_USE_PYTHRAN=$(usex fortran 1 0)
|
90 |
93 |
DISTUTILS_ARGS=(
|
91 |
94 |
-Dblas=blas
|
92 |
95 |
-Dlapack=lapack
|
|
96 |
-Duse-pythran=$(usex fortran true false)
|
93 |
97 |
)
|
94 |
98 |
}
|
95 |
99 |
|
... | ... | |
102 |
106 |
scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
|
103 |
107 |
scipy/datasets/tests/test_data.py::TestDatasets::test_face
|
104 |
108 |
scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
|
|
109 |
|
|
110 |
# Precision issue with diff. blas?
|
|
111 |
scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799
|
105 |
112 |
)
|
106 |
113 |
local EPYTEST_IGNORE=()
|
107 |
114 |
|