~ruther/guix-local

605e06c72828db4703120ee12d0527d02a0d16d7 — Cayetano Santos 6 months ago 24a1720
gnu: python-sentencepiece: Switch to pyproject.

* gnu/packages/machine-learning.scm (python-sentencepiece)[build-system]:
Switch to pyproject-build-system.
[native-inputs]: Add python-pytest and python-setuptools-next.

Change-Id: Ib675129d61eb960f45b0f34e30fa1ecd768f9cab
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 3 insertions(+), 2 deletions(-)

M gnu/packages/machine-learning.scm
M gnu/packages/machine-learning.scm => gnu/packages/machine-learning.scm +3 -2
@@ 1457,7 1457,7 @@ storing tensors safely.")
  (package
    (inherit sentencepiece)
    (name "python-sentencepiece")
    (build-system python-build-system)
    (build-system pyproject-build-system)
    (arguments
     (list
      #:phases


@@ 1465,7 1465,8 @@ storing tensors safely.")
          (add-after 'unpack 'chdir
            (lambda _
              (chdir "python"))))))
    (native-inputs (list pkg-config protobuf))
    (native-inputs
     (list pkg-config protobuf python-pytest python-setuptools-next))
    (propagated-inputs (list sentencepiece))
    (synopsis "SentencePiece python wrapper")
    (description "This package provides a Python wrapper for the SentencePiece