From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8DDCA13888F for ; Thu, 15 Oct 2015 03:58:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D21E21C002; Thu, 15 Oct 2015 03:58:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CC29721C002 for ; Thu, 15 Oct 2015 03:58:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0823E340AB6 for ; Thu, 15 Oct 2015 03:58:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 20EA5922 for ; Thu, 15 Oct 2015 03:58:32 +0000 (UTC) From: "Mark Wright" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mark Wright" Message-ID: <1444881317.78aa9e4e86c5addd59780e88072c8e3fe9d34b3d.gienah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/numpy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/numpy/numpy-1.10.0_p2.ebuild X-VCS-Directories: dev-python/numpy/ X-VCS-Committer: gienah X-VCS-Committer-Name: Mark Wright X-VCS-Revision: 78aa9e4e86c5addd59780e88072c8e3fe9d34b3d X-VCS-Branch: master Date: Thu, 15 Oct 2015 03:58:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2395f89f-3391-4903-815c-08d186e521b0 X-Archives-Hash: f4718f12cc1ad46453f3e855d95a78fa commit: 78aa9e4e86c5addd59780e88072c8e3fe9d34b3d Author: Mark Wright gentoo org> AuthorDate: Thu Oct 15 03:53:14 2015 +0000 Commit: Mark Wright gentoo org> CommitDate: Thu Oct 15 03:55:17 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78aa9e4e 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. dev-python/numpy/numpy-1.10.0_p2.ebuild | 9 ++++++--- 1 file 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 1174f3a..301e0be 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