gnu: python-trio-websocket: Simplify package.

* gnu/packages/python-xyz.scm (python-trio-websocket) [build-system]:
Swap to pyproject-build-system.
[arguments] <#:phases>: Use standard 'check phase.

Change-Id: I58bc13f64b15d50ff0746e9b4677229df807d415
This commit is contained in:
Sharlatan Hellseher 2024-02-17 22:18:56 +00:00
parent 1a2c374c2c
commit 4daeae8583
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -27846,13 +27846,7 @@ (define-public python-trio-websocket
(file-name (git-file-name name version))
(sha256
(base32 "1yk2ak991kbl30xg8ldpggack1lwkizd7s5cpr28ir34z8iyjnpi"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests? (invoke "pytest" "-vv")))))))
(build-system pyproject-build-system)
(native-inputs (list python-pytest python-pytest-trio python-trustme))
(propagated-inputs (list python-async-generator python-trio python-wsproto))
(home-page "https://github.com/HyperionGray/trio-websocket")