aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-06-21 15:33:34 +0200
committerMarius Bakke <marius@gnu.org>2022-06-21 17:30:45 +0200
commitd29b206ef14af88b1996429392d84783ba012841 (patch)
treeb09a74c32eb2519e47275b4e06cc0a11ebf8ffe2 /gnu
parent8dbc8d480204df73dafb890c5695108a0a0cb811 (diff)
downloadguix-d29b206ef14af88b1996429392d84783ba012841.tar
guix-d29b206ef14af88b1996429392d84783ba012841.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm20
1 files changed, 16 insertions, 4 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a07e130e8a..194b342ee6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11542,16 +11542,28 @@ functional languages.")
(define-public python-prettytable
(package
(name "python-prettytable")
- (version "0.7.2")
+ (version "3.3.0")
(source
(origin
(method url-fetch)
- (uri (pypi-uri "prettytable" version ".tar.bz2"))
+ (uri (pypi-uri "prettytable" version))
(sha256
(base32
- "0diwsicwmiq2cpzpxri7cyl5fmsvicafw6nfqf6p6p322dji2g45"))))
+ "1c599w31i2ndzbkn85xwsgv9sd2j16r56dl922w4jh3rs97vb3hi"))))
(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")
(description
"A library designed to represent tabular data in visually appealing ASCII