guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: python-pygments: Update to 2.15.1.


From: guix-commits
Subject: 01/01: gnu: python-pygments: Update to 2.15.1.
Date: Tue, 18 Jul 2023 06:02:50 -0400 (EDT)

rekado pushed a commit to branch python-team
in repository guix.

commit 69e87c8d44bd8e30bd4be3b4df61caaed62d0a9a
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jul 6 23:18:47 2023 +0200

    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.
---
 gnu/packages/python-xyz.scm | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 973216c5ed..f4f4cad427 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5955,18 +5955,23 @@ text styles of documentation.")
 (define-public python-pygments
   (package
     (name "python-pygments")
-    (version "2.12.0")
+    (version "2.15.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "Pygments" version))
        (sha256
         (base32
-         "1sr6iqh21xi6p8aba4wa9pqfhjbbpcvn9jcsx0ggy4lniw8idcay"))))
-    (build-system python-build-system)
+         "0p3p28fif7m2w5mkd0z99zk9xwgrs3m61x85415qk0fl3ly4vkla"))))
+    (build-system pyproject-build-system)
     (arguments
-     ;; FIXME: Tests require sphinx, which depends on this.
-     '(#:tests? #f))
+     (list
+      #: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/";)
     (synopsis "Syntax highlighting")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]