summary refs log tree commit diff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-02-17 22:18:56 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-02-17 22:18:56 +0000
commit4daeae85839ae55f42f93a4a1fd42656733dc75a (patch)
treef55493668ccc557d59900c95ddbdc37a93b76409
parent1a2c374c2cca5694ec2a38f01e33b9bce7218d44 (diff)
downloadguix-4daeae85839ae55f42f93a4a1fd42656733dc75a.tar.gz
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
-rw-r--r--gnu/packages/python-xyz.scm8
1 files changed, 1 insertions, 7 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d93bbfe6ea..8f3612a0d8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27846,13 +27846,7 @@ a mypy plugin that smooths over some limitations in the basic type hints.
        (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")