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
This commit is contained in:
Sharlatan Hellseher 2025-07-24 07:52:33 +01:00
parent ff77d323cb
commit ef06e8f33e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -13007,26 +13007,26 @@ a multithreaded image-processing system with low memory needs.")
(license license:expat))) (license license:expat)))
;; WARNING: This package is a dependency of mesa. ;; 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 (define-public python-pycparser
(package (package
(name "python-pycparser") (name "python-pycparser")
(version "2.21") (version "2.22")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "pycparser" version)) (uri (pypi-uri "pycparser" version))
(sha256 (sha256
(base32 (base32
"01kjlyn5w2nn2saj8w1rhq7v26328pd91xwgqn32z1zp2bngsi76")))) "1xhhxjg460f70ldki4prxmb7zl1bfl3mnjplbc7kkxa0q3lqn729"))))
(outputs '("out" "doc")) (outputs '("out" "doc"))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
#:test-backend #~'unittest
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "python" "-m" "unittest" "discover")))
(add-after 'install 'install-doc (add-after 'install 'install-doc
(lambda _ (lambda _
(let* ((data (string-append #$output:doc "/share")) (let* ((data (string-append #$output:doc "/share"))
@ -13038,6 +13038,8 @@ a multithreaded image-processing system with low memory needs.")
(string-append doc file))) (string-append doc file)))
'("/README.rst" "/CHANGES" "/LICENSE")) '("/README.rst" "/CHANGES" "/LICENSE"))
(copy-recursively "examples" examples))))))) (copy-recursively "examples" examples)))))))
(native-inputs
(list python-setuptools))
(home-page "https://github.com/eliben/pycparser") (home-page "https://github.com/eliben/pycparser")
(synopsis "C parser in Python") (synopsis "C parser in Python")
(description (description