diff --git a/sci-libs/scipy/scipy-0.15.1.ebuild b/sci-libs/scipy/scipy-0.15.1.ebuild index 21b523cf8c51d..e228f7d3d4dc7 100644 --- a/sci-libs/scipy/scipy-0.15.1.ebuild +++ b/sci-libs/scipy/scipy-0.15.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -123,7 +123,7 @@ sys.exit(0 if r.wasSuccessful() else 1)" || die "Tests fail with ${EPYTHON}" python_install_all() { if use doc; then - dodoc "${DISTDIR}"/${PN}*pdf + dodoc "${DISTDIR}"/${PN}-${DOC_PV}-ref.pdf docinto html dodoc -r "${WORKDIR}"/html/. fi diff --git a/sci-libs/scipy/scipy-0.16.0.ebuild b/sci-libs/scipy/scipy-0.16.0.ebuild index 5cc5d81af8075..e404280c58045 100644 --- a/sci-libs/scipy/scipy-0.16.0.ebuild +++ b/sci-libs/scipy/scipy-0.16.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -125,7 +125,7 @@ python_test() { python_install_all() { if use doc; then - dodoc "${DISTDIR}"/${PN}*pdf + dodoc "${DISTDIR}"/${PN}-${DOC_PV}-ref.pdf docinto html dodoc -r "${WORKDIR}"/html/. fi diff --git a/sci-libs/scipy/scipy-0.16.1.ebuild b/sci-libs/scipy/scipy-0.16.1.ebuild index 2b2cbdd32e203..dd5908fb2319d 100644 --- a/sci-libs/scipy/scipy-0.16.1.ebuild +++ b/sci-libs/scipy/scipy-0.16.1.ebuild @@ -130,7 +130,7 @@ python_test() { python_install_all() { if use doc; then - dodoc "${DISTDIR}"/${PN}*pdf + dodoc "${DISTDIR}"/${PN}-${DOC_PV}-ref.pdf docinto html dodoc -r "${WORKDIR}"/html/. fi diff --git a/sci-libs/scipy/scipy-0.17.0.ebuild b/sci-libs/scipy/scipy-0.17.0.ebuild index 43d3e39d63713..ac2f5ad71e96b 100644 --- a/sci-libs/scipy/scipy-0.17.0.ebuild +++ b/sci-libs/scipy/scipy-0.17.0.ebuild @@ -131,7 +131,7 @@ python_test() { python_install_all() { use doc && \ - local DOCS=( "${DISTDIR}"/${PN}*pdf ) \ + local DOCS=( "${DISTDIR}"/${PN}-${DOC_PV}-ref.pdf ) \ local HTML_DOCS=( "${WORKDIR}"/html/. ) distutils-r1_python_install_all } diff --git a/sci-libs/scipy/scipy-0.18.1.ebuild b/sci-libs/scipy/scipy-0.18.1.ebuild index 44a6f8669f157..c1d9ea57af227 100644 --- a/sci-libs/scipy/scipy-0.18.1.ebuild +++ b/sci-libs/scipy/scipy-0.18.1.ebuild @@ -130,7 +130,7 @@ python_test() { python_install_all() { use doc && \ - local DOCS=( "${DISTDIR}"/${PN}*pdf ) \ + local DOCS=( "${DISTDIR}"/${PN}-${DOC_PV}-ref.pdf ) \ local HTML_DOCS=( "${WORKDIR}"/html/. ) distutils-r1_python_install_all }