summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wright <gienah@gentoo.org>2015-10-15 14:53:14 +1100
committerMark Wright <gienah@gentoo.org>2015-10-15 14:55:17 +1100
commit78aa9e4e86c5addd59780e88072c8e3fe9d34b3d (patch)
tree529ea1a180392c23c36946da9d269dd410dcfe4f /dev-python/numpy
parentnet-libs/nghttp2: version bump to 1.3.4 #563044 (diff)
downloadgentoo-78aa9e4e86c5addd59780e88072c8e3fe9d34b3d.tar.gz
gentoo-78aa9e4e86c5addd59780e88072c8e3fe9d34b3d.tar.bz2
gentoo-78aa9e4e86c5addd59780e88072c8e3fe9d34b3d.zip
dev-python/numpy: Fix Bug 563068 - dev-python/numpy-1.10.0_p2 -
unpack numpy-ref-1.9.1.pdf: file format not recognized - mv: target ?/var/tmp/portage/dev-python/numpy-1.10.0_p2/work/numpy-1.10.0_p2? is not a directory Thanks to Juergen Rose for reporting.
Diffstat (limited to 'dev-python/numpy')
-rw-r--r--dev-python/numpy/numpy-1.10.0_p2.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-python/numpy/numpy-1.10.0_p2.ebuild b/dev-python/numpy/numpy-1.10.0_p2.ebuild
index 1174f3a6b652..301e0be73dd2 100644
--- a/dev-python/numpy/numpy-1.10.0_p2.ebuild
+++ b/dev-python/numpy/numpy-1.10.0_p2.ebuild
@@ -10,12 +10,15 @@ FORTRAN_NEEDED=lapack
inherit distutils-r1 eutils flag-o-matic fortran-2 multilib multiprocessing toolchain-funcs versionator
+MY_PV="${PV/_p/.post}"
+MY_P="${PN}-${MY_PV}"
+
DOC_PV="1.9.1"
DOC_P="${PN}-${DOC_PV}"
DESCRIPTION="Fast array and numerical python library"
HOMEPAGE="http://www.numpy.org/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P/_p/.post}.tar.gz
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
doc? (
http://docs.scipy.org/doc/${DOC_P}/${PN}-html-${DOC_PV}.zip
http://docs.scipy.org/doc/${DOC_P}/${PN}-ref-${DOC_PV}.pdf
@@ -42,10 +45,10 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.9.2-no-hardcode-blas.patch
)
+S="${WORKDIR}/${MY_P}"
+
src_unpack() {
default
- mv "${WORKDIR}"/* "${S}" || die
-
if use doc; then
unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
fi