summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-24 07:52:33 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:35:42 +0100
commitef06e8f33e0a31e727c5a822f7240e136f43466b (patch)
treebe25472e39611410bb5c8c8076171819ad5423ac /gnu/packages/python-xyz.scm
parentff77d323cbc33490dba3a3c2f53293d9bb5d2a8d (diff)
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
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm14
1 files changed, 8 insertions, 6 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9134572e5a..58778b8abd 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