diff options
Diffstat (limited to 'dev-python/scipy/scipy-1.9.9999.ebuild')
-rw-r--r-- | dev-python/scipy/scipy-1.9.9999.ebuild | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild index ccb8c752ed10..888ff2073ebb 100644 --- a/dev-python/scipy/scipy-1.9.9999.ebuild +++ b/dev-python/scipy/scipy-1.9.9999.ebuild @@ -44,16 +44,20 @@ fi LICENSE="BSD LGPL-2" SLOT="0" -IUSE="doc +sparse" +IUSE="doc" +# umfpack is technically optional but it's preferred to have it available. DEPEND=" >=dev-python/numpy-1.18.5[lapack,${PYTHON_USEDEP}] - sci-libs/arpack:0= + sci-libs/arpack:= + sci-libs/umfpack virtual/cblas >=virtual/lapack-3.8 - sparse? ( sci-libs/umfpack:0= )" -RDEPEND="${DEPEND} - dev-python/pillow[${PYTHON_USEDEP}]" +" +RDEPEND=" + ${DEPEND} + dev-python/pillow[${PYTHON_USEDEP}] +" # TODO: restore pythran optionality? BDEPEND=" dev-lang/swig @@ -82,3 +86,11 @@ python_test() { epytest -n "$(makeopts_jobs)" --pyargs scipy } + +python_install_all() { + use doc && \ + local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \ + local HTML_DOCS=( "${WORKDIR}"/html/. ) + + distutils-r1_python_install_all +} |