gnu: python-ijson: Use pyproject-build-system.

* gnu/packages/python-xyz.scm (python-ijson): Use pyproject-build-system.
[arguments]: Remove.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I29ab71f63b1088bd7e0cf6e10a72a73ac7dcbc86
This commit is contained in:
Artyom V. Poptsov 2025-01-01 01:26:09 +03:00
parent 1eefe51075
commit 48b4bfa7d1
No known key found for this signature in database
GPG key ID: 935EBE0736DC857E

View file

@ -36700,24 +36700,15 @@ simple mock/record and a complete capture/replay framework.")
(uri (pypi-uri "ijson" version))
(sha256
(base32 "1sp463ywj4jv5cp6hsv2qwiima30d09xsabxb2dyq5b17jp0640x"))))
(arguments
`(#:phases
(modify-phases %standard-phases
;; the tests run by the default setup.py require yajl 1.x,
;; but we have 2.x. yajl 1.x support is going to be removed
;; anyway, so use pytest to avoid running the yajl1-related
;; tests. See: https://github.com/ICRAR/ijson/issues/55
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv")))))))
(inputs
;; yajl is optional, but compiling with it makes faster
;; backends available to ijson:
(list yajl))
(native-inputs
(list python-pytest))
(build-system python-build-system)
(list python-pytest
python-setuptools
python-wheel))
(build-system pyproject-build-system)
(home-page "https://github.com/ICRAR/ijson")
(synopsis "Iterative JSON parser with Python iterator interfaces")
(description