me
/
guix
Archived
1
0
Fork 0

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

* gnu/packages/python-xyz.scm (python-fastjsonschema): Reindent.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom check phase; update comment on why tests are
disabled.
master
Ricardo Wurmus 2023-04-26 22:12:32 +02:00
parent 182fbbb009
commit 18786ae502
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 17 additions and 24 deletions

View File

@ -14003,15 +14003,8 @@ significantly better performance.")
(uri (pypi-uri "fastjsonschema" version)) (uri (pypi-uri "fastjsonschema" version))
(sha256 (sha256
(base32 "1ln2j60jzyn6p8i8ljygfgrji58hc23452g7nllkcjdk4p93c7v7")))) (base32 "1ln2j60jzyn6p8i8ljygfgrji58hc23452g7nllkcjdk4p93c7v7"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments `(#:tests? #f)) ;no tests included
`(#:tests? #f ; Fail with a strange backtrace ending in importlib.
#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv" "-m" "not benchmark")))))))
(native-inputs (native-inputs
(list python-colorama (list python-colorama
python-json-spec python-json-spec