~ruther/guix-local

0c3cac7e0e736a5ae6c824b062c32d8aea8655ae — Hugo Buddelmeijer 7 months ago 460ef91
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>
1 files changed, 12 insertions(+), 2 deletions(-)

M gnu/packages/chemistry.scm
M gnu/packages/chemistry.scm => gnu/packages/chemistry.scm +12 -2
@@ 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