This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 0c3cac7e0e gnu: python-geometric: Fix build.
0c3cac7e0e is described below

commit 0c3cac7e0e736a5ae6c824b062c32d8aea8655ae
Author: Hugo Buddelmeijer <[email protected]>
AuthorDate: Fri Sep 26 22:02:19 2025 +0200

    gnu: python-geometric: Fix build.
    
    * gnu/packages/chemistry.scm (python-geometric): Fix build.
    [native-inputs]: Remove python-wheel.
    [arguments] <#:phases>: Remove six dependency.
    
    Change-Id: I2dd5191bf2b41719dc3b56c8b914eb090161b090
    Reviewed-by: Nicolas Graves <[email protected]>
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/chemistry.scm | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/chemistry.scm b/gnu/packages/chemistry.scm
index 06fa6676e2..93fe90a858 100644
--- a/gnu/packages/chemistry.scm
+++ b/gnu/packages/chemistry.scm
@@ -701,10 +701,20 @@ symmetries written in C.  Spglib can be used to:
        (sha256
         (base32 "0w3c71wvhnc44pfafcjfgqkjimkcdkpjk3bahg9v6l1z8c0cyhfy"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'remove-six
+            (lambda _
+              (substitute* "geometric/nifty.py"
+                (("import six") "")
+                (("six\\.string_types") "str"))
+              (substitute* "setup.py"
+                (("'six',") "")))))))
     (native-inputs
      (list python-pytest
-           python-setuptools
-           python-wheel))
+           python-setuptools))
     (propagated-inputs
      (list python-numpy
            python-scipy

Reply via email to