sharlatan pushed a commit to branch master
in repository guix.

commit 97a61859654b1f3b5c91b1075aac760ae3bd9e3b
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Apr 23 08:07:15 2025 +0100

    gnu: python-pytest-tornado: Use pyproject.
    
    * gnu/packages/python-check.scm (python-pytest-tornado) [build-system]:
    Switch to pyproject.
    [native-inputs]: Add python-wheel.
    
    Change-Id: I3ce4fb379b78ac96c5bacc31cdedd892896d80af
---
 gnu/packages/python-check.scm | 35 ++++++++++++++++-------------------
 1 file changed, 16 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 6ea754e9e8..bb53a3730a 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2807,25 +2807,22 @@ support and @code{subtests} fixture.")
   (package
     (name "python-pytest-tornado")
     (version "0.8.1")
-    (source (origin
-              (method git-fetch)        ;no tests in pypi archive
-              (uri (git-reference
-                    (url "https://github.com/eugeniy/pytest-tornado";)
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "05hgq1m9g35kpc01im7ci1wd85xi1rdxnyms9izjg65c9976zn6x"))))
-    (build-system python-build-system)
-    (arguments
-     (list
-      #:phases
-      #~(modify-phases %standard-phases
-          (replace 'check
-            (lambda* (#:key tests? #:allow-other-keys)
-              (when tests?
-                (invoke "pytest" "-vv")))))))
-    (propagated-inputs (list python-pytest python-setuptools python-tornado))
+    (source
+     (origin
+       (method git-fetch)        ;no tests in pypi archive
+       (uri (git-reference
+             (url "https://github.com/eugeniy/pytest-tornado";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "05hgq1m9g35kpc01im7ci1wd85xi1rdxnyms9izjg65c9976zn6x"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-wheel))
+    (propagated-inputs
+     (list python-pytest
+           python-setuptools
+           python-tornado))
     (home-page "https://github.com/eugeniy/pytest-tornado";)
     (synopsis "Pytest plugin to ease testing tornado applications")
     (description

Reply via email to