From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dx5yx-0002eh-OD for guix-patches@gnu.org; Wed, 27 Sep 2017 02:38:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dx5ys-0000M4-R3 for guix-patches@gnu.org; Wed, 27 Sep 2017 02:38:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53641) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dx5ys-0000Lw-N4 for guix-patches@gnu.org; Wed, 27 Sep 2017 02:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dx5ys-0001Tn-8Q for guix-patches@gnu.org; Wed, 27 Sep 2017 02:38:02 -0400 Subject: [bug#27922] [PATCH] gnu: python-numpy: Update to 1.12.1. Resent-Message-ID: Date: Wed, 27 Sep 2017 08:36:46 +0200 (CEST) Message-Id: <20170927.083646.775100604942030136.post@thomasdanckaert.be> From: Thomas Danckaert In-Reply-To: <87efqtgr3z.fsf@gnu.org> References: <20170926154620.GB11123@jasmine.lan> <20170926.185921.1683575194897240087.post@thomasdanckaert.be> <87efqtgr3z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Wed_Sep_27_08_36_46_2017_600)--" 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: ludo@gnu.org Cc: 27922@debbugs.gnu.org ----Next_Part(Wed_Sep_27_08_36_46_2017_600)-- Content-Type: Text/Plain; charset=utf-8; format=flowed Content-Transfer-Encoding: base64 RnJvbTogbHVkb0BnbnUub3JnIChMdWRvdmljIENvdXJ0w6hzKQ0KU3ViamVjdDogUmU6IFtidWcj Mjc5MjJdIFtQQVRDSF0gZ251OiBweXRob24tbnVtcHk6IFVwZGF0ZSB0byAxLjEyLjEuDQpEYXRl OiBUdWUsIDI2IFNlcCAyMDE3IDIyOjA4OjMyICswMjAwDQoNCj4gVGhpcyBpcyB3ZWlyZDogYmFz aC1taW5pbWFsIGlzIGFuIGltcGxpY2l0IGlucHV0IGFscmVhZHkuICBXaGF0IHdhcyANCj4gdGhl DQo+IGVycm9yIGV4YWN0bHk/DQoNCk9vcHMsIGp1c3Qgc2V0dGluZyAoc2V0ZW52ICJTSEVMTCIg ImJhc2giKSBpcyBlbm91Z2guIEluZGVlZCwgYmFzaCBpcyANCmFscmVhZHkgdGhlcmUuDQoNCihJ J3ZlIGJlZW4gbG9va2luZyBpbiAoZ3VpeCBidWlsZC1zeXN0ZW0gLi4uKSB0byB0cnkgdG8gZmlu ZCBvdXQgdGhlIA0KZGVmYXVsdCBuYXRpdmUgaW5wdXRzIGZvciB0aGUgZGlmZmVyZW50IGJ1aWxk IHN5c3RlbXMsIGJ1dCBjb3VsZG4ndCANCmZpbmQgaXQuICBXaGVyZSBhcmUgdGhleSBzZXQ/KQ0K DQpUaG9tYXMNCg== ----Next_Part(Wed_Sep_27_08_36_46_2017_600)-- 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 f60e8593ca572477e2444a57ad508b9c558316ee 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.13.1. [source]: Download the zip release from pypi instead of a git snapshot. [native-inputs]: Add unzip. [arguments]: Set SHELL environment variable. Co-authored by Leo Famulari --- gnu/packages/python.scm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 5dcb5a05c..6988b44a9 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -3720,22 +3720,21 @@ 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) + ("python-cython" ,python-cython) ("python-nose" ,python-nose) ("gfortran" ,gfortran))) (arguments @@ -3743,6 +3742,8 @@ between language specification and implementation aspects.") (modify-phases %standard-phases (add-before 'build 'set-environment-variables (lambda* (#:key inputs #:allow-other-keys) + ;; numpy's distutils uses $SHELL to run external commands. + (setenv "SHELL" "bash") (call-with-output-file "site.cfg" (lambda (port) (format port -- 2.14.1 ----Next_Part(Wed_Sep_27_08_36_46_2017_600)----