summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorHugo Buddelmeijer <hugo@buddelmeijer.nl>2025-09-26 22:02:19 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-27 23:45:31 +0100
commit0c3cac7e0e736a5ae6c824b062c32d8aea8655ae (patch)
treeb540dd92bbfe5ff08fb8712f7877b43ab77cc1aa /gnu
parent460ef912ae22ef9811935487595b06359e8d80e0 (diff)
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 <ngraves@ngraves.fr> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/chemistry.scm14
1 files changed, 12 insertions, 2 deletions
diff --git a/gnu/packages/chemistry.scm b/gnu/packages/chemistry.scm
index 06fa6676e23..93fe90a858f 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