~ruther/guix-local

1385c018f7368340f148e1afa23d29c98b92c582 — Nicolas Graves 7 months ago 5c522a1
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>
1 files changed, 7 insertions(+), 17 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +7 -17
@@ 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