mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
24a1720154
commit
605e06c728
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue