guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/12: gnu: magic-wormhole-mailbox-server: Simplify package.


From: guix-commits
Subject: 06/12: gnu: magic-wormhole-mailbox-server: Simplify package.
Date: Sat, 23 Mar 2024 16:59:38 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit 997248741734e91bfee8178f3cf0108f56853811
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Mar 23 17:50:34 2024 +0000

    gnu: magic-wormhole-mailbox-server: Simplify package.
    
    * gnu/packages/magic-wormhole.scm (magic-wormhole-mailbox-server)
    [build-system]: Swap to pyproject-build-system.
    [arguments] <#:phases>: Remove 'patch-tests phase.
    [native-inputs]: Add python-pytest.
    
    Change-Id: I23085e927965c2191bad242a0fb07132cb30e99d
---
 gnu/packages/magic-wormhole.scm | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/magic-wormhole.scm b/gnu/packages/magic-wormhole.scm
index 40d4773099..cbb785a199 100644
--- a/gnu/packages/magic-wormhole.scm
+++ b/gnu/packages/magic-wormhole.scm
@@ -41,18 +41,9 @@
         (sha256
          (base32
           "1yw8i8jv5iv1kkz1aqimskw7fpichjn6ww0fq0czbalwj290bw8s"))))
-    (build-system python-build-system)
-    (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'patch-tests
-          (lambda _
-            ;; This test requires network access.
-            (substitute* "src/wormhole_mailbox_server/test/test_web.py"
-              (("test_log_http") "disabled_test_log_http"))
-            #t)))))
+    (build-system pyproject-build-system)
     (native-inputs
-     (list python-mock))
+     (list python-mock python-pytest))
     (propagated-inputs
      (list python-attrs
            python-autobahn



reply via email to

[Prev in Thread] Current Thread [Next in Thread]