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>
This commit is contained in:
Nicolas Graves 2025-12-20 17:58:19 +01:00 committed by Sharlatan Hellseher
parent 9aed8e406a
commit 085593c5ef
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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