gnu: python-commentjson: Switch to python-lark.

* gnu/packages/python-xyz.scm (python-commentjson):
[arguments]{phases}: Refresh phase 'relax-requirements.
[propagated-inputs]: Replace python-lark-parser by python-lark.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-04-22 16:00:35 +02:00 committed by Sharlatan Hellseher
parent 3df0c87530
commit 5d81b890db
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -17559,7 +17559,7 @@ list format (also known as ASCII plist), written in Cython.")
(lambda _
(substitute* "setup.py"
(("lark-parser>=0.7.1,<0.8.0")
"lark-parser>=0.7.1"))))
"lark"))))
(add-after 'unpack 'delete-unspported-tests
;; Some tests rely on the 'test' module of Python itself,
;; which is not available with the Python package in Guix;
@ -17577,7 +17577,7 @@ list format (also known as ASCII plist), written in Cython.")
(filter (lambda (f) (grep "from test." f))
test-files)))))))))
(propagated-inputs
(list python-lark-parser))
(list python-lark))
(native-inputs
(list python-six))
(home-page "https://github.com/vaidik/commentjson")