[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/05: gnu: python2-unicodecsv: Don't use unstable tarball.
From: |
guix-commits |
Subject: |
02/05: gnu: python2-unicodecsv: 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 f711b71bd5ac7c8dca26852f9eec8461d31b73bd
Author: Efraim Flashner <address@hidden>
AuthorDate: Mon Jan 6 12:04:09 2020 +0200
gnu: python2-unicodecsv: Don't use unstable tarball.
* gnu/packages/python-xyz.scm (python2-unicodecsv)[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 53244bc..7c1a4f8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9523,15 +9523,16 @@ encoding algorithms to do fuzzy string matching.")
(name "python2-unicodecsv")
(version "0.14.1")
(source (origin
- (method url-fetch)
+ (method git-fetch)
;; The test suite is not included in the PyPi release.
;; https://github.com/jdunck/python-unicodecsv/issues/19
- (uri (string-append "https://github.com/jdunck/python-unicodecsv/"
- "archive/" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (uri (git-reference
+ (url "https://github.com/jdunck/python-unicodecsv")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "087nqanfcyp6mlfbbr5lva5f3w6iz1bybls9xlrb8icmc474wh4w"))))
+ "15hx2k41a2lpv4hcml9zp4cvlx1171mnb5s4s13xc1pxkq3vgdjy"))))
(build-system python-build-system)
(arguments
`(;; It supports Python 3, but Python 3 can already do Unicode CSV.