[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50628] [PATCH 003/154] gnu: Add python-xlwt.
From: |
Hartmut Goebel |
Subject: |
[bug#50628] [PATCH 003/154] gnu: Add python-xlwt. |
Date: |
Fri, 17 Sep 2021 00:52:22 +0200 |
* gnu/packages/python-xyz.scm (python-xlwt): New variable.
---
gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b4f6f67ef2..23a76d7727 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10368,6 +10368,36 @@ Unicode-aware. It is not intended as an end-user
tool.")
(define-public python2-xlrd
(package-with-python2 python-xlrd))
+(define-public python-xlwt
+ (package
+ (name "python-xlwt")
+ (version "1.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "xlwt" version))
+ (sha256
+ (base32 "123c2pdamshkq75wwvck8fq0cjq1843xd3x9qaiz2a4vg9qi56f5"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (setenv "PYTHONPATH"
+ (string-append (getcwd) "/build/lib:"
+ (getenv "PYTHONPATH")))
+ (invoke "nosetests" "-v"))))))
+ (native-inputs
+ `(("nose" ,python-nose)))
+ (home-page "http://www.python-excel.org/")
+ (synopsis "Library for creating spreadsheet Excel files")
+ (description "@code{xlwt} is a library for writing data and formatting
+information to older Excel files (ie: .xls). The package itself is pure
+Python with no dependencies on modules or packages outside the standard Python
+distribution. It is not intended as an end-user tool.")
+ (license license:bsd-3)))
+
(define-public python-immutables
(package
(name "python-immutables")
--
2.30.2
- [bug#50628] [PATCH 000/154] Add 146 Tryton modules and some dependencies, Hartmut Goebel, 2021/09/16
- [bug#50628] [PATCH 001/154] gnu: Add python-braintree., Hartmut Goebel, 2021/09/16
- [bug#50628] [PATCH 002/154] gnu: Add python-markuppy., Hartmut Goebel, 2021/09/16
- [bug#50628] [PATCH 003/154] gnu: Add python-xlwt.,
Hartmut Goebel <=
- [bug#50628] [PATCH 006/154] gnu: Add python-febelfin-coda., Hartmut Goebel, 2021/09/16
- [bug#50628] [PATCH 005/154] gnu: Add python-csb43., Hartmut Goebel, 2021/09/16
- [bug#50628] [PATCH 004/154] gnu: Add python-tablib., Hartmut Goebel, 2021/09/16
- [bug#50628] [PATCH 007/154] gnu: Add python-ofxparse., Hartmut Goebel, 2021/09/16
- [bug#50628] [PATCH 008/154] gnu: Add python-stripe., Hartmut Goebel, 2021/09/16
- [bug#50628] [PATCH 011/154] gnu: Add trytond-account-cash-rounding., Hartmut Goebel, 2021/09/16