From ef06e8f33e0a31e727c5a822f7240e136f43466b Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 24 Jul 2025 07:52:33 +0100 Subject: [PATCH] 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 9134572e5ae250e280186f7c60026e220a1ce2c2..58778b8abd3272d9c5b3af3bbfed7eae389049db 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13007,26 +13007,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")) @@ -13038,6 +13038,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