guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: python-cachecontrol: Do not use unstable source archive.


From: guix-commits
Subject: 01/01: gnu: python-cachecontrol: Do not use unstable source archive.
Date: Mon, 15 Jul 2019 14:42:24 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 6e00b1ea62584b55d6019fd81943aebba853729a
Author: Marius Bakke <address@hidden>
Date:   Mon Jul 15 17:20:24 2019 +0200

    gnu: python-cachecontrol: Do not use unstable source archive.
    
    * gnu/packages/python-web.scm (python-cachecontrol)[source]: Change to 
GIT-FETCH.
---
 gnu/packages/python-web.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7047c51..d1ca5a1 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1982,15 +1982,15 @@ provide an easy-to-use Python interface for building 
OAuth1 and OAuth2 clients."
     (version "0.11.6")
     (source
      (origin
-       (method url-fetch)
+       (method git-fetch)
        ;; Pypi does not have tests.
-       (uri (string-append
-             "https://github.com/ionrock/cachecontrol/archive/v";
-             version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (uri (git-reference
+             (url "https://github.com/ionrock/cachecontrol";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "0yj60d0f69a2l8p7y86k4zhzzm6rnxpq74sfl240pry9l0lfw2vw"))))
+         "0pb16bzbkk99nh317xyfk8fxc2ngimsbz7lz9pxsw8c82n83d4dh"))))
     (build-system python-build-system)
     (arguments
      `(#:phases



reply via email to

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