~ruther/guix-local

085593c5ef32b0b2449455c6651952ed78d85e18 — Nicolas Graves 2 months ago 9aed8e4
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>
1 files changed, 15 insertions(+), 13 deletions(-)

M gnu/packages/xml.scm
M gnu/packages/xml.scm => gnu/packages/xml.scm +15 -13
@@ 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