mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-prettytable: Update to 3.12.0.
* gnu/packages/python-xyz.scm (python-prettytable): Update to 3.12.0. [build-system]: Swap to pyproejct-build-system. [arguments]<phases>: Use custom 'check phase. [native-inputs]: Remove python-pytest-lazy-fixture; add python-hatchling, python-hatch-vcs, python-pytest-cov, and python-pytest-lazy-fixtures. Change-Id: I19d93bb92dec4f65d581dd8fcecbc137e1fdd4d6
This commit is contained in:
parent
1305fc004a
commit
27fdf6fa94
1 changed files with 10 additions and 14 deletions
|
@ -16525,27 +16525,23 @@ functional languages.")
|
||||||
(define-public python-prettytable
|
(define-public python-prettytable
|
||||||
(package
|
(package
|
||||||
(name "python-prettytable")
|
(name "python-prettytable")
|
||||||
(version "3.3.0")
|
(version "3.12.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "prettytable" version))
|
(uri (pypi-uri "prettytable" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0168xqdr0i9r4p3a3hjd4n7f133lp4xkxhvfx63aqisplcdkwjzh"))))
|
||||||
"1c599w31i2ndzbkn85xwsgv9sd2j16r56dl922w4jh3rs97vb3hi"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
|
||||||
(arguments
|
|
||||||
(list #:phases
|
|
||||||
#~(modify-phases %standard-phases
|
|
||||||
(replace 'check
|
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
|
||||||
(when tests?
|
|
||||||
(invoke "pytest" "-vv")))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest
|
(list python-hatchling
|
||||||
python-pytest-lazy-fixture
|
python-hatch-vcs
|
||||||
|
python-pytest
|
||||||
|
python-pytest-cov
|
||||||
|
python-pytest-lazy-fixtures
|
||||||
python-setuptools-scm))
|
python-setuptools-scm))
|
||||||
(propagated-inputs (list python-wcwidth))
|
(propagated-inputs
|
||||||
|
(list python-wcwidth))
|
||||||
(home-page "https://github.com/jazzband/prettytable")
|
(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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue