summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-08-24 18:02:29 +0200
committerjgart <jgart@dismail.de>2025-08-26 09:30:00 -0500
commit1385c018f7368340f148e1afa23d29c98b92c582 (patch)
tree21cf7bde07b0c489960fb9b7a53e99c59f6a15e5 /gnu/packages/python-xyz.scm
parent5c522a1abff0b60d3a3d526605ef41bbf354162e (diff)
gnu: python-xlwt: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-xlwt): [build-system]: Switch to pyproject-build-system. [arguments]: Remove them. [native-inputs]: Add python-pytest, python-setuptools, python-wheel. Remove python-nose. [description]: Improve style. Signed-off-by: jgart <jgart@dismail.de>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm24
1 files changed, 7 insertions, 17 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bedcd86954..ba1776d088 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17721,25 +17721,15 @@ Unicode-aware. It is not intended as an end-user tool.")
(uri (pypi-uri "xlwt" version))
(sha256
(base32 "123c2pdamshkq75wwvck8fq0cjq1843xd3x9qaiz2a4vg9qi56f5"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (setenv "GUIX_PYTHONPATH"
- (string-append (getcwd) "/build/lib:"
- (getenv "GUIX_PYTHONPATH")))
- (invoke "nosetests" "-v")))))))
- (native-inputs
- `(("nose" ,python-nose)))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest python-setuptools python-wheel))
(home-page "https://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 (i.e. .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.")
+ (description
+ "@code{xlwt} is a library for writing data and formatting information to
+older Excel files (i.e. .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