commit:     1bfbb2fbe5f743bae7d83aa5e5849bf42efa25c7
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 19 12:44:15 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Mar 19 12:45:11 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bfbb2fb

sci-libs/scipy: Do not glob on DISTDIR

Bug: https://bugs.gentoo.org/show_bug.cgi?id=612920
Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sci-libs/scipy/scipy-0.15.1.ebuild | 4 ++--
 sci-libs/scipy/scipy-0.16.0.ebuild | 4 ++--
 sci-libs/scipy/scipy-0.16.1.ebuild | 2 +-
 sci-libs/scipy/scipy-0.17.0.ebuild | 2 +-
 sci-libs/scipy/scipy-0.18.1.ebuild | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/sci-libs/scipy/scipy-0.15.1.ebuild 
b/sci-libs/scipy/scipy-0.15.1.ebuild
index 21b523cf8c5..e228f7d3d4d 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 5cc5d81af80..e404280c580 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 2b2cbdd32e2..dd5908fb231 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 43d3e39d637..ac2f5ad71e9 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 44a6f8669f1..c1d9ea57af2 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
 }

Reply via email to