From 48b4bfa7d1ec26c7c92ff53b66b50260b57abcb3 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Wed, 1 Jan 2025 01:26:09 +0300 Subject: [PATCH] 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 --- gnu/packages/python-xyz.scm | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 71cd840004f341ce212db0ca1b5bcafb47434fdd..436358064cdcb7ab14d7193066c219e075e84f89 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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