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

commit c26ce10614f2548edff18ccd1c38c1480d3237d3
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Jul 24 07:52:33 2025 +0100

    gnu: python-pycparser: Update to 2.22.
    
    * gnu/packages/python-xyz.scm (python-pycparser): Update to 2.22.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: Idaf7189ed1e6288205aa09510a7a5ff099d4234c
---
 gnu/packages/python-xyz.scm | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 15793b8427..6f94a7893e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13071,26 +13071,26 @@ a multithreaded image-processing system with low 
memory needs.")
     (license license:expat)))
 
 ;; WARNING: This package is a dependency of mesa.
+;; There are no users in python-xyz for this package, consider to adopt closer
+;; to Mesa.
 (define-public python-pycparser
   (package
     (name "python-pycparser")
-    (version "2.21")
+    (version "2.22")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pycparser" version))
        (sha256
         (base32
-         "01kjlyn5w2nn2saj8w1rhq7v26328pd91xwgqn32z1zp2bngsi76"))))
+         "1xhhxjg460f70ldki4prxmb7zl1bfl3mnjplbc7kkxa0q3lqn729"))))
     (outputs '("out" "doc"))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
      (list
+      #:test-backend #~'unittest
       #:phases
       #~(modify-phases %standard-phases
-          (replace 'check
-            (lambda _
-              (invoke "python" "-m" "unittest" "discover")))
           (add-after 'install 'install-doc
             (lambda _
               (let* ((data (string-append #$output:doc "/share"))
@@ -13102,6 +13102,8 @@ a multithreaded image-processing system with low memory 
needs.")
                                        (string-append doc file)))
                           '("/README.rst" "/CHANGES" "/LICENSE"))
                 (copy-recursively "examples" examples)))))))
+    (native-inputs
+     (list python-setuptools))
     (home-page "https://github.com/eliben/pycparser";)
     (synopsis "C parser in Python")
     (description

Reply via email to