Skip to content

Commit

Permalink
sci-libs/scipy: Do not glob on DISTDIR
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/show_bug.cgi?id=612920
Package-Manager: Portage-2.3.5, Repoman-2.3.2
  • Loading branch information
SoapGentoo committed Mar 19, 2017
1 parent d6ed625 commit 1bfbb2f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions sci-libs/scipy/scipy-0.15.1.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions sci-libs/scipy/scipy-0.16.0.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion sci-libs/scipy/scipy-0.16.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion sci-libs/scipy/scipy-0.17.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion sci-libs/scipy/scipy-0.18.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 1bfbb2f

Please sign in to comment.