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
parent
182fbbb009
commit
18786ae502
|
@ -13998,34 +13998,27 @@ significantly better performance.")
|
||||||
(name "python-fastjsonschema")
|
(name "python-fastjsonschema")
|
||||||
(version "2.15.1")
|
(version "2.15.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(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
|
||||||
python-jsonschema
|
python-jsonschema
|
||||||
python-pylint
|
python-pylint
|
||||||
python-pytest
|
python-pytest
|
||||||
python-pytest-benchmark
|
python-pytest-benchmark
|
||||||
python-pytest-cache))
|
python-pytest-cache))
|
||||||
(home-page
|
(home-page
|
||||||
"https://github.com/horejsek/python-fastjsonschema")
|
"https://github.com/horejsek/python-fastjsonschema")
|
||||||
(synopsis
|
(synopsis
|
||||||
"Fast Python implementation of JSON schema")
|
"Fast Python implementation of JSON schema")
|
||||||
(description
|
(description
|
||||||
"This library implements validation of JSON documents by JSON schema for
|
"This library implements validation of JSON documents by JSON schema for
|
||||||
drafts 04, 06 and 07.")
|
drafts 04, 06 and 07.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
|
Reference in New Issue