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
This commit is contained in:
David Seifert
2017-03-19 13:44:15 +01:00
parent d6ed6252a3
commit 1bfbb2fbe5
5 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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
}

View File

@@ -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
}