mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-29 12:41:09 -06:00
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:
parent
460ef912ae
commit
0c3cac7e0e
1 changed files with 12 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue