gnu: python-pygments: Update to 2.15.1.

* gnu/packages/python-xyz.scm (python-pygments): Update to 2.15.1.
[build-system]: Use pyproject-build-system.
[arguments]: Run tests.
[native-inputs]: Add python-pytest.
This commit is contained in:
Ricardo Wurmus 2023-07-06 23:18:47 +02:00 committed by Sharlatan Hellseher
parent 0787a180b3
commit 1269e01d3e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -7219,18 +7219,23 @@ (define-public python-pygdbmi
(define-public python-pygments (define-public python-pygments
(package (package
(name "python-pygments") (name "python-pygments")
(version "2.12.0") (version "2.15.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "Pygments" version)) (uri (pypi-uri "Pygments" version))
(sha256 (sha256
(base32 (base32
"1sr6iqh21xi6p8aba4wa9pqfhjbbpcvn9jcsx0ggy4lniw8idcay")))) "0p3p28fif7m2w5mkd0z99zk9xwgrs3m61x85415qk0fl3ly4vkla"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments
;; FIXME: Tests require sphinx, which depends on this. (list
'(#:tests? #f)) #:test-flags
;; Some tests require sphinx, which depends on this, so we only run
;; basic tests.
'(list "--ignore-glob=tests/*/*")))
(native-inputs
(list python-pytest))
(home-page "https://pygments.org/") (home-page "https://pygments.org/")
(synopsis "Syntax highlighting") (synopsis "Syntax highlighting")
(description (description