guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/05: gnu: python2-numpy@1.8: Don't use unstable tarball.


From: guix-commits
Subject: 01/05: gnu: python2-numpy@1.8: Don't use unstable tarball.
Date: Mon, 6 Jan 2020 05:20:48 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 6b61fc47e21efd5ea8e85bbf486d8ac204e4eab2
Author: Efraim Flashner <address@hidden>
AuthorDate: Mon Jan 6 12:01:03 2020 +0200

    gnu: python2-numpy@1.8: Don't use unstable tarball.
    
    * gnu/packages/python-xyz.scm (python2-numpy-1.8)[source]: Download
    using git-fetch.
---
 gnu/packages/python-xyz.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e6f6e41..53244bc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3430,13 +3430,14 @@ capabilities.")
     (version "1.8.2")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append
-             "https://github.com/numpy/numpy/archive/v"; version ".tar.gz"))
-       (file-name (string-append "python2-numpy-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/numpy/numpy";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name "numpy" version))
        (sha256
         (base32
-         "0sc20gz1b17xnyrkp5frca3ql5qfalpv916hfg2kqxpwr6jg0f1g"))))
+         "0ikgi15rsqwbkfsjjxrwh40lqyal2wvyp3923y6w6ch3dcr82sfk"))))
     (arguments
      (substitute-keyword-arguments (package-arguments python2-numpy)
        ((#:phases phases)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]