From 78c7a9c111620dd96e0505d39648907a938643b3 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 18 Oct 2025 12:24:09 +0200 Subject: [PATCH] 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 --- 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 0f07a04b94efe2f569b00e78ab2a5d9e46ba2cc9..27368d2c9cc54bcfe743d68cc5831d1da83a62ca 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.")