Subject: [bug#76835] [PATCH v3 23/40] gnu: python-louvain: Use pyproject-build-system.

From: Nicolas Graves <[email-masked]>
Date: Mon, 10 Mar 2025 03:16:28 +0100

* gnu/packages/graph.scm (python-louvain)
[build-system]: Switch from python-build-system to
pyproject-build-system.
[native-inputs]: Replace python-setuptools-57 by
python-setuptools. Add python-wheel.
---
 gnu/packages/graph.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index f29a71c0d7..22fbf07229 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -388,9 +388,9 @@ (define-public python-louvain
        (patches (search-patches "python-louvain-fix-test.patch"))
        (sha256
         (base32 "0sx53l555rwq0z7if8agirjgw4ddp8r9b949wwz8vlig03sjvfmp"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (native-inputs
-     (list python-setuptools-57))       ;for use_2to3 support
+     (list python-setuptools python-wheel))
     (propagated-inputs
      (list python-networkx python-numpy))
     (home-page "https://github.com/taynaud/python-louvain")
-- 
2.48.1