gnu: python-structlog: Update to 23.1.0.
* gnu/packages/python-xyz.scm (python-structlog): Update to 23.1.0. [build-system]: Switch to pyproject-build-system. [arguments]: Remove custom 'check phase. [native-inputs]: Add python-hatch-fancy-pypi-readme, python-hatch-vcs, and python-hatchling.
This commit is contained in:
parent
b211cd6bac
commit
db9ef31b8f
1 changed files with 9 additions and 13 deletions
|
@ -15015,26 +15015,22 @@ explicit subcommand name.")
|
||||||
(define-public python-structlog
|
(define-public python-structlog
|
||||||
(package
|
(package
|
||||||
(name "python-structlog")
|
(name "python-structlog")
|
||||||
(version "20.2.0")
|
(version "23.1.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "structlog" version))
|
(uri (pypi-uri "structlog" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0x1i21vn3xjfa3j9ijbblia5z0jlzc9aqvpqc26sy16i8yjxyydg"))))
|
"0swh5wxghpzdkncsl3zhiq5bblkj4i5r3g00lldw2qyiswfnh397"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
|
||||||
`(#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(replace 'check
|
|
||||||
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
|
||||||
(when tests?
|
|
||||||
(add-installed-pythonpath inputs outputs)
|
|
||||||
(invoke "pytest"))
|
|
||||||
#t)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-coverage
|
(list ;; For the build
|
||||||
|
python-hatch-fancy-pypi-readme
|
||||||
|
python-hatch-vcs
|
||||||
|
python-hatchling
|
||||||
|
;; For the tests
|
||||||
|
python-coverage
|
||||||
python-freezegun
|
python-freezegun
|
||||||
python-pretend
|
python-pretend
|
||||||
python-pytest
|
python-pytest
|
||||||
|
|
Reference in a new issue