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>
This commit is contained in:
Hugo Buddelmeijer 2025-09-26 22:02:19 +02:00 committed by Sharlatan Hellseher
parent 460ef912ae
commit 0c3cac7e0e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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