guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 0310ac86b49e5e88faa3597f2e23e22b39ff39a4
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Dec 20 18:51:38 2025 +0100

    gnu: anonip: Switch to pyproject.
    
    * gnu/packages/web.scm (anonip):
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:phases>: Switch to <#:test-flags> instead.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: Ie9d14f6d9d1e99bd4efb6591c8e2ec0e2d72de1a
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/web.scm | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index fa21290ac1..e51f371113 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -9308,16 +9308,11 @@ program and as a web server.")
               (sha256
                (base32
                 "0cssdcridadjzichz1vv1ng7jwphqkn8ihh83hpz9mcjmxyb94qc"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "pytest" "-vv" "tests.py" "anonip.py")))))))
+     (list #:test-flags #~(list "tests.py" "anonip.py")))
     (native-inputs
-     (list python-pytest python-pytest-cov))
+     (list python-pytest python-pytest-cov python-setuptools))
     (home-page "https://github.com/DigitaleGesellschaft/Anonip";)
     (synopsis "Anonymize IP addresses in log files")
     (description

Reply via email to