mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
1eefe51075
commit
48b4bfa7d1
1 changed files with 4 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue