guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 78c7a9c111620dd96e0505d39648907a938643b3
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Oct 18 12:24:09 2025 +0200

    gnu: python-netifaces: Switch to pyproject.
    
    * gnu/packages/python-xyz.scm (python-netifaces):
    [build-system]: Switch to pyproject-build-system.
    [arguments]: Set <#:test-backend, #:test-flags>.
    [native-inputs]: Add python-setuptools.
    [synopsis]: Improve style.
    
    Change-Id: I386b7b9436ca0c937d2f322b98e98a6735f62942
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0f07a04b94..27368d2c9c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15435,12 +15435,15 @@ some are not yet implemented).")
         (method url-fetch)
         (uri (pypi-uri "netifaces" version))
         (sha256
-          (base32
-            "0cnajf5rl4w1sa72j921scbigr6zndig56cq8ggpx45jdqa7jfh4"))))
-    (build-system python-build-system)
+          (base32 "0cnajf5rl4w1sa72j921scbigr6zndig56cq8ggpx45jdqa7jfh4"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-backend #~'custom
+      #:test-flags #~(list "test.py")))
+    (native-inputs (list python-setuptools))
     (home-page "https://github.com/al45tair/netifaces";)
-    (synopsis
-      "Python module for portable network interface information")
+    (synopsis "Python module for portable network interface information")
     (description
       "Netifaces is a Python module providing information on network
 interfaces in an easy and portable manner.")

Reply via email to