diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-20 17:58:19 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-27 22:02:48 +0000 |
| commit | 085593c5ef32b0b2449455c6651952ed78d85e18 (patch) | |
| tree | 0b4fe421d486fbab4c5185252b3cdd7d9b365de0 /gnu | |
| parent | 9aed8e406a9ac40da78192cf5c9039aab9b3f212 (diff) | |
gnu: xlsx2csv: Update to 0.8.3.
* gnu/packages/xml.scm (xlsx2csv): Update to 0.8.3.
[arguments]: Improve style.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
Change-Id: I8b4bd7e00b1fd6de08d9961ddc2f0a1c12c363b9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/xml.scm | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 266b2ff8513..cdbee7a1166 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -1476,7 +1476,7 @@ elements to their parents (define-public xlsx2csv (package (name "xlsx2csv") - (version "0.7.8") + (version "0.8.3") (source (origin (method git-fetch) @@ -1485,19 +1485,21 @@ elements to their parents (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1p10571295f8zw1lsma8k5z07hrk9aspar0lsz8zpgjl7v35zcq7")))) - (build-system python-build-system) + (base32 "0cg2zf6dqnxdcsw0bpjz49sa7360iz9bvc9j7c50qhp9ms81vfs8")))) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (substitute* "test/run" - ;; Run tests with `python' only. - (("^(PYTHON_VERSIONS = ).*" all m) - (string-append m "['']"))) - (when tests? - (invoke "test/run"))))))) + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (substitute* "test/run" + ;; Run tests with `python' only. + (("^(PYTHON_VERSIONS = ).*" all m) + (string-append m "['']"))) + (when tests? + (invoke "test/run"))))))) + (native-inputs (list python-setuptools)) (home-page "https://github.com/dilshod/xlsx2csv") (synopsis "XLSX to CSV converter") (description |
