mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-colored: Update to 2.3.0 and enable tests.
* gnu/packages/python-xyz.scm (python-colored): Update to 2.3.0. [arguments]: Remove '#:tests? #false'. <#:phases>: New phase 'pre-check. [native-inputs]: Remove python-setuptools and python-wheel. Add python-flit-core and python-pytest. Change-Id: Iff216a7df0beca05edbe10d0d103586c3e0ece7d Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
7327bab813
commit
5a45e69d52
1 changed files with 11 additions and 4 deletions
|
@ -1933,7 +1933,7 @@ HoloViews, and Datashader.")
|
|||
(define-public python-colored
|
||||
(package
|
||||
(name "python-colored")
|
||||
(version "1.4.4")
|
||||
(version "2.3.0")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
|
@ -1942,10 +1942,17 @@ HoloViews, and Datashader.")
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"196ins0m7f90xz5dw764dlx060ziqbcydqzzq40b4ir5858baf3r"))))
|
||||
"00332xdjw5fcj5wx848693355nvlgcf8qmpwkvz3rngfg1q5bxa6"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments (list #:tests? #false)) ;the tests are not run automatically
|
||||
(native-inputs (list python-setuptools python-wheel))
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'check 'pre-check
|
||||
(lambda _
|
||||
;; Tests expect ANSI escape codes for colors.
|
||||
(setenv "FORCE_COLOR" "1"))))))
|
||||
(native-inputs (list python-flit-core python-pytest))
|
||||
(home-page "https://gitlab.com/dslackw/colored")
|
||||
(synopsis "Simple library for color and formatting to terminal")
|
||||
(description "This is a very simple Python library for color and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue