guix-commits
[Top][All Lists]
Advanced

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

77/88: gnu: python-schematics: Don't use unstable tarball.


From: guix-commits
Subject: 77/88: gnu: python-schematics: Don't use unstable tarball.
Date: Wed, 10 Apr 2019 23:44:48 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 1961d18791d3d929889471ab5cc1676cba0e33a1
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Apr 9 00:01:26 2019 +0200

    gnu: python-schematics: Don't use unstable tarball.
    
    * gnu/packages/python-xyz.scm (python-schematics)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/python-xyz.scm | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f340970..5b3d475 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10239,20 +10239,21 @@ discovery, monitoring and configuration.")
     (name "python-schematics")
     (version "1.1.1")
     (source
-      (origin
-        (method url-fetch)
-        (uri (string-append
-               "https://github.com/schematics/schematics/archive/v"; version 
".tar.gz"))
-        (file-name (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "19v1i69bf3bzarfxmbv0v6ivpcn758x3shvbiy9l2hy0lvqwnp6l"))))
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/schematics/schematics.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0xdqskycznqc7mfp60bhw1zq8wx7yx1dvmbq3brnm1dx3xnqa0zd"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-six" ,python-six)))
     (arguments
-     `(#:tests? #f)) ; requires a bunch of not very nice packages with fixed
-                     ; version requirements (eg python-coveralls)
+     ;; The tests require a bunch of not very nice packages with fixed
+     ;; version requirements (e.g. python-coveralls).
+     `(#:tests? #f))
     (home-page "https://github.com/schematics/schematics";)
     (synopsis "Python Data Structures for Humans")
     (description "Python Data Structures for Humans.")



reply via email to

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