diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-21 11:25:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-21 11:25:44 +0100 |
commit | 944021dc3fb629a9c074228bf7da9f7ddf7a0caa (patch) | |
tree | f1096f56bf0c23189e2e82b909938638ac9b7efb /dev-python/scipy/scipy-1.9.9999.ebuild | |
parent | 53612ae086ce9e171633a17392eb88c008650b8e (diff) |
gentoo auto-resync : 21:09:2022 - 11:25:44
Diffstat (limited to 'dev-python/scipy/scipy-1.9.9999.ebuild')
-rw-r--r-- | dev-python/scipy/scipy-1.9.9999.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild index 47dd4358d2c0..e2718fe21ca6 100644 --- a/dev-python/scipy/scipy-1.9.9999.ebuild +++ b/dev-python/scipy/scipy-1.9.9999.ebuild @@ -84,7 +84,7 @@ distutils_enable_tests pytest src_unpack() { default - if use doc; then + if [[ ${PV} != *9999 ]] && use doc; then unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die fi } @@ -96,9 +96,10 @@ python_test() { } python_install_all() { - use doc && \ - local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \ + if [[ ${PV} != *9999 ]] && use doc; then + local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) local HTML_DOCS=( "${WORKDIR}"/html/. ) + fi distutils-r1_python_install_all } |