mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user