diff options
Diffstat (limited to 'gnu/packages/python.scm')
| -rw-r--r-- | gnu/packages/python.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 708ba29d240..2c9772e933c 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | ;;; Copyright © 2015 Christopher Allan Webber <cwebber@dustycloud.org> | 11 | ;;; Copyright © 2015 Christopher Allan Webber <cwebber@dustycloud.org> |
| 12 | ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr> | 12 | ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr> |
| 13 | ;;; Copyright © 2015 Leo Famulari <leo@famulari.name> | 13 | ;;; Copyright © 2015 Leo Famulari <leo@famulari.name> |
| 14 | ;;; Copyright © 2015 Ben Woodcroft <donttrustben@gmail.com> | ||
| 14 | ;;; | 15 | ;;; |
| 15 | ;;; This file is part of GNU Guix. | 16 | ;;; This file is part of GNU Guix. |
| 16 | ;;; | 17 | ;;; |
| @@ -4918,6 +4919,37 @@ object to help create WSGI responses.") | |||
| 4918 | (define-public python2-webob | 4919 | (define-public python2-webob |
| 4919 | (package-with-python2 python-webob)) | 4920 | (package-with-python2 python-webob)) |
| 4920 | 4921 | ||
| 4922 | (define-public python-xlrd | ||
| 4923 | (package | ||
| 4924 | (name "python-xlrd") | ||
| 4925 | (version "0.9.4") | ||
| 4926 | (source (origin | ||
| 4927 | (method url-fetch) | ||
| 4928 | (uri (string-append "https://pypi.python.org/packages/source/x/" | ||
| 4929 | "xlrd/xlrd-" version ".tar.gz")) | ||
| 4930 | (sha256 | ||
| 4931 | (base32 | ||
| 4932 | "0wpa55nvidmm5m2qr622dsh3cj46akdk0h3zjgzschcmydck73cf")))) | ||
| 4933 | (build-system python-build-system) | ||
| 4934 | (arguments | ||
| 4935 | `(#:phases | ||
| 4936 | (modify-phases %standard-phases | ||
| 4937 | ;; Current test in setup.py does not work as of 0.9.4, so use nose to | ||
| 4938 | ;; run tests instead for now. | ||
| 4939 | (replace 'check (lambda _ (zero? (system* "nosetests"))))))) | ||
| 4940 | (native-inputs `(("python-nose" ,python-nose) | ||
| 4941 | ("python-setuptools" ,python-setuptools))) | ||
| 4942 | (home-page "http://www.python-excel.org/") | ||
| 4943 | (synopsis "Library for extracting data from Excel files") | ||
| 4944 | (description "This packages provides a library to extract data from | ||
| 4945 | spreadsheets using Microsoft Excel® proprietary file formats @samp{.xls} and | ||
| 4946 | @samp{.xlsx} (versions 2.0 onwards). It has support for Excel dates and is | ||
| 4947 | Unicode-aware. It is not intended as an end-user tool.") | ||
| 4948 | (license bsd-3))) | ||
| 4949 | |||
| 4950 | (define-public python2-xlrd | ||
| 4951 | (package-with-python2 python-xlrd)) | ||
| 4952 | |||
| 4921 | (define-public python-prettytable | 4953 | (define-public python-prettytable |
| 4922 | (package | 4954 | (package |
| 4923 | (name "python-prettytable") | 4955 | (name "python-prettytable") |
