aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/python.scm
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-10-07 23:55:17 -0400
committerMark H Weaver <mhw@netris.org>2015-10-07 23:55:17 -0400
commit319fe79dd01e03c4ef61311c336bcd77e1133f02 (patch)
treec169d85b429a801fdc22ce27c25b7e4230eb320a /gnu/packages/python.scm
parent9511de1ef8c59788f2c93ae6b0cb1e87e30824ab (diff)
parenta606ed89d4e3737beec2f3392bedba61904778f4 (diff)
downloadpatches-319fe79dd01e03c4ef61311c336bcd77e1133f02.tar
patches-319fe79dd01e03c4ef61311c336bcd77e1133f02.tar.gz
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r--gnu/packages/python.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5dea76f0bc..9a6d39f791 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2015 Christopher Allan Webber <cwebber@dustycloud.org>
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2015 Ben Woodcroft <donttrustben@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -4953,6 +4954,37 @@ object to help create WSGI responses.")
(define-public python2-webob
(package-with-python2 python-webob))
+(define-public python-xlrd
+ (package
+ (name "python-xlrd")
+ (version "0.9.4")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/x/"
+ "xlrd/xlrd-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0wpa55nvidmm5m2qr622dsh3cj46akdk0h3zjgzschcmydck73cf"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; Current test in setup.py does not work as of 0.9.4, so use nose to
+ ;; run tests instead for now.
+ (replace 'check (lambda _ (zero? (system* "nosetests")))))))
+ (native-inputs `(("python-nose" ,python-nose)
+ ("python-setuptools" ,python-setuptools)))
+ (home-page "http://www.python-excel.org/")
+ (synopsis "Library for extracting data from Excel files")
+ (description "This packages provides a library to extract data from
+spreadsheets using Microsoft Excel® proprietary file formats @samp{.xls} and
+@samp{.xlsx} (versions 2.0 onwards). It has support for Excel dates and is
+Unicode-aware. It is not intended as an end-user tool.")
+ (license bsd-3)))
+
+(define-public python2-xlrd
+ (package-with-python2 python-xlrd))
+
(define-public python-prettytable
(package
(name "python-prettytable")