From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwtDL-0007px-Ue for guix-patches@gnu.org; Tue, 26 Sep 2017 13:00:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwtDG-0002kO-NR for guix-patches@gnu.org; Tue, 26 Sep 2017 13:00:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53029) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dwtDG-0002k5-Ju for guix-patches@gnu.org; Tue, 26 Sep 2017 13:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dwtDG-0001Th-8l for guix-patches@gnu.org; Tue, 26 Sep 2017 13:00:02 -0400 Subject: [bug#27922] [PATCH] gnu: python-numpy: Update to 1.12.1. Resent-Message-ID: Date: Tue, 26 Sep 2017 18:59:21 +0200 (CEST) Message-Id: <20170926.185921.1683575194897240087.post@thomasdanckaert.be> From: Thomas Danckaert In-Reply-To: <20170926154620.GB11123@jasmine.lan> References: <87bmlxhe8y.fsf@gnu.org> <20170926154620.GB11123@jasmine.lan> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Tue_Sep_26_18_59_21_2017_730)--" Content-Transfer-Encoding: 7bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: leo@famulari.name Cc: 27922@debbugs.gnu.org ----Next_Part(Tue_Sep_26_18_59_21_2017_730)-- Content-Type: Text/Plain; charset=utf-8; format=flowed Content-Transfer-Encoding: base64 RnJvbTogTGVvIEZhbXVsYXJpIDxsZW9AZmFtdWxhcmkubmFtZT4NClN1YmplY3Q6IFJlOiBbYnVn IzI3OTIyXSBbU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lcm5h bCBjb21tYW5kcyBzdWNoIGFzIGdjYyBhcmUgcnVuIA0Kd2l0aGluIGEgc2hlbGwgd2l0aCAkU0hF TEwgLWMgJ2djYyBbLi4uXScsIEkgZGlkbid0IGxvb2sgdXAgdGhlIA0KbW90aXZhdGlvbiBmb3Ig dGhhdCkuDQoNCklmIHRoZXJlIGFyZSBubyBvYmplY3Rpb25zLCBJJ2xsIHB1c2ggdGhpcyBzb29u Lg0KDQpUaG9tYXMNCg0KcHMgSSBjb3VsZG4ndCBjaGVjayBpZiBtYXRwbG90bGliIHN0aWxsIGJ1 aWxkcyB3aXRoIHRoaXMgbnVtcHkgDQp2ZXJzaW9uLCBiZWNhdXNlIG91ciBibHVleiBwYWNrYWdl IChvbiB3aGljaCBtYXRwbG90bGliIGFwcGFyZW50bHkgDQpkZXBlbmRzKSBhcHBlYXJzIHRvIGJl IGJyb2tlbi4gIEJ1dCB0aGF0J3MgYW5vdGhlciBzdG9yeS4NCg== ----Next_Part(Tue_Sep_26_18_59_21_2017_730)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0001-gnu-python-numpy-Update-to-1.13.1.patch" >From 2b90b6e2a9b7ac73937ee8e52b08bb715ba33fb7 Mon Sep 17 00:00:00 2001 From: Thomas Danckaert Date: Tue, 26 Sep 2017 16:26:08 +0200 Subject: [PATCH] gnu: python-numpy: Update to 1.13.1. * gnu/packages/python.scm (python-numpy, python2-numpy): Update to 1.12.1. [source]: Download the zip release from pypi instead of a git snapshot. [native-inputs]: Add unzip and bash-minimal. [arguments]: Set SHELL environment variable. Co-authored by Leo Famulari --- gnu/packages/python.scm | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 5dcb5a05c..6b9de923d 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -3720,22 +3720,24 @@ between language specification and implementation aspects.") (define-public python-numpy (package (name "python-numpy") - (version "1.12.0") + (version "1.13.1") (source (origin (method url-fetch) - (uri (string-append - "https://github.com/numpy/numpy/archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (uri (pypi-uri "numpy" version ".zip")) (sha256 (base32 - "025d4j4aakcp8w5i5diqh812cbbjgac7jszx1j56ivrbi1i8vv7d")))) + "1fsgkhh1vdkhmlz8vmdgxnj9n9yaanckxxzz9s0b4p08fqvjic69")))) (build-system python-build-system) (inputs `(("openblas" ,openblas) ("lapack" ,lapack))) (native-inputs - `(("python-cython" ,python-cython) + `(("unzip" ,unzip) + ;; We need bash because numpy's distutils runs external commands with + ;; $SHELL -c '...'. + ("bash" ,bash-minimal) + ("python-cython" ,python-cython) ("python-nose" ,python-nose) ("gfortran" ,gfortran))) (arguments @@ -3743,6 +3745,8 @@ between language specification and implementation aspects.") (modify-phases %standard-phases (add-before 'build 'set-environment-variables (lambda* (#:key inputs #:allow-other-keys) + (setenv "SHELL" + (string-append (assoc-ref inputs "bash") "/bin/bash")) (call-with-output-file "site.cfg" (lambda (port) (format port -- 2.14.1 ----Next_Part(Tue_Sep_26_18_59_21_2017_730)----