gnu: python-prettytable: Update to 3.3.0.

* gnu/packages/python-xyz.scm (python-prettytable): Update to 3.3.0.
[arguments]: New field.  Override check phase.
[native-inputs]: Add PYTHON-PYTEST, PYTHON-PYTEST-LAZY-FIXTURE, and
PYTHON-SETUPTOOLS-SCM.
[propagated-inputs]: Add PYTHON-WCWIDTH.
[home-page]: Update to current.
This commit is contained in:
Marius Bakke 2022-06-21 15:33:34 +02:00
parent 8dbc8d4802
commit d29b206ef1
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

View File

@ -11542,16 +11542,28 @@ functional languages.")
(define-public python-prettytable (define-public python-prettytable
(package (package
(name "python-prettytable") (name "python-prettytable")
(version "0.7.2") (version "3.3.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "prettytable" version ".tar.bz2")) (uri (pypi-uri "prettytable" version))
(sha256 (sha256
(base32 (base32
"0diwsicwmiq2cpzpxri7cyl5fmsvicafw6nfqf6p6p322dji2g45")))) "1c599w31i2ndzbkn85xwsgv9sd2j16r56dl922w4jh3rs97vb3hi"))))
(build-system python-build-system) (build-system python-build-system)
(home-page "https://code.google.com/archive/p/prettytable/") (arguments
(list #:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv")))))))
(native-inputs
(list python-pytest
python-pytest-lazy-fixture
python-setuptools-scm))
(propagated-inputs (list python-wcwidth))
(home-page "https://github.com/jazzband/prettytable")
(synopsis "Display tabular data in an ASCII table format") (synopsis "Display tabular data in an ASCII table format")
(description (description
"A library designed to represent tabular data in visually appealing ASCII "A library designed to represent tabular data in visually appealing ASCII