~ruther/guix-local

e4fd402e362d47293261a26c7105f7e5165fd044 — Nicolas Graves 6 months ago 43857e4
gnu: python-beautifultable: Update to 1.1.0.

* gnu/packages/python-xyz.scm (python-beautifultable): Update to 1.1.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Replace <#:phases> with <#:test-backend>.
[native-inputs]: Add python-pandas, python-setuptools.
[description]: Improve style.

Change-Id: I305dede9a5fa05189ecb2f728f394fba1ea5506e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 14 insertions(+), 18 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +14 -18
@@ 27297,29 27297,25 @@ application.")
(define-public python-beautifultable
  (package
    (name "python-beautifultable")
    (version "1.0.0")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "beautifultable" version))
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/pri22296/beautifultable")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32
         "0wwlbifcbpzy3wfv6yzsxncarsngzizmmxbn6cy5gazlcq7h4k5x"))))
    (build-system python-build-system)
    (propagated-inputs
     (list python-wcwidth))
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'patch-setup.py
           (lambda _
             (substitute* "setup.py"
               (("setup\\(")
                "setup(\n    test_suite=\"test\",")))))))
        (base32 "0b6c7dpc45sm3vn65qm00q20sdgpi78xxzwc0rij7hnj9c45w97x"))))
    (build-system pyproject-build-system)
    (arguments (list #:test-backend #~'unittest))
    (native-inputs (list python-pandas python-setuptools))
    (propagated-inputs (list python-wcwidth))
    (home-page "https://github.com/pri22296/beautifultable")
    (synopsis "Print ASCII tables for terminals")
    (description "@code{python-beautifultable} provides a class for easily
printing tabular data in a visually appealing ASCII format to a terminal.
    (description
     "@code{python-beautifultable} provides a class for easily printing
tabular data in a visually appealing ASCII format to a terminal.

Features include, but are not limited to:
@itemize