[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 11/13] gnu: Add python2-unicodecsv.
From: |
Leo Famulari |
Subject: |
[PATCH 11/13] gnu: Add python2-unicodecsv. |
Date: |
Thu, 3 Mar 2016 20:26:37 -0500 |
* gnu/packages/python.scm (python2-unicodecsv): New variable.
---
gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ac82a09..ce7d777 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8338,3 +8338,30 @@ encoding algorithms to do fuzzy string matching.")
(native-inputs `(("python2-setuptools" ,python2-setuptools)
("python2-unicodecsv" ,python2-unicodecsv)
,@(package-native-inputs jellyfish))))))
+
+(define-public python2-unicodecsv
+ (package
+ (name "python2-unicodecsv")
+ (version "0.14.1")
+ (source (origin
+ (method url-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"))
+ (sha256
+ (base32
+ "087nqanfcyp6mlfbbr5lva5f3w6iz1bybls9xlrb8icmc474wh4w"))))
+ (build-system python-build-system)
+ (arguments
+ `(;; It supports Python 3, but Python 3 can already do Unicode CSV.
+ #:python ,python-2))
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ("python2-unittest2" ,python2-unittest2)))
+ (home-page "https://github.com/jdunck/python-unicodecsv")
+ (synopsis "Unicode CSV module for Python 2")
+ (description "Unicodecsv is a drop-in replacement for Python 2.7's CSV
+module, adding support for Unicode strings.")
+ (license bsd-2)))
--
2.6.3
- [PATCH 12/13] gnu: Add python-rarfile., (continued)
- [PATCH 12/13] gnu: Add python-rarfile., Leo Famulari, 2016/03/03
- Re: [PATCH 12/13] gnu: Add python-rarfile., Ricardo Wurmus, 2016/03/04
- Re: [PATCH 12/13] gnu: Add python-rarfile., Leo Famulari, 2016/03/04
- Re: [PATCH 12/13] gnu: Add python-rarfile., Leo Famulari, 2016/03/13
- Re: [PATCH 12/13] gnu: Add python-rarfile., Ricardo Wurmus, 2016/03/17
- Re: [PATCH 12/13] gnu: Add python-rarfile., Leo Famulari, 2016/03/17
- Re: [PATCH 12/13] gnu: Add python-rarfile., Efraim Flashner, 2016/03/18
- Re: [PATCH 12/13] gnu: Add python-rarfile., Leo Famulari, 2016/03/18
[PATCH 09/13] gnu: Add python-mpd2., Leo Famulari, 2016/03/03
[PATCH 08/13] gnu: Add python2-pathlib., Leo Famulari, 2016/03/03
[PATCH 11/13] gnu: Add python2-unicodecsv.,
Leo Famulari <=
[PATCH 13/13] gnu: Add beets., Leo Famulari, 2016/03/03
- Re: [PATCH 13/13] gnu: Add beets., Leo Famulari, 2016/03/18
- Re: [PATCH 13/13] gnu: Add beets., Ludovic Courtès, 2016/03/18
- Re: [PATCH 13/13] gnu: Add beets., Mark H Weaver, 2016/03/25
- Re: [PATCH 13/13] gnu: Add beets., Leo Famulari, 2016/03/25
- Re: [PATCH 13/13] gnu: Add beets., Alex Griffin, 2016/03/25
- Re: [PATCH 13/13] gnu: Add beets., Leo Famulari, 2016/03/25
- Re: [PATCH 13/13] gnu: Add beets., Leo Famulari, 2016/03/25
- Re: [PATCH 13/13] gnu: Add beets., Ludovic Courtès, 2016/03/26
- Re: [PATCH 13/13] gnu: Add beets., Alex Griffin, 2016/03/26