gnu: python-yapf: Update to 0.32.0.

* gnu/packages/python-xyz.scm (python-yapf): Update to 0.32.0.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-pytest.
[propagated-inputs]: Add python-importlib-metadata, python-platformdirs, and
python-tomli.

Change-Id: I30fa0b9d643f6585624da87d5c1a1edbb59425c4
This commit is contained in:
Ricardo Wurmus 2024-01-16 12:21:07 +01:00
parent 1fcf3d2a0c
commit b05fe5c763
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -24628,15 +24628,19 @@ (define-public python-yamllint
(define-public python-yapf
(package
(name "python-yapf")
(version "0.29.0")
(version "0.32.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "yapf" version))
(sha256
(base32
"1pj3xzblmbssshi889b6n9hwqbjpabw6j0fimlng2sshd3226bki"))))
(build-system python-build-system)
"06vxqski7qss2h2iy4fd04czym0cwjrzkaab9h03wzpg6xfhixd3"))))
(build-system pyproject-build-system)
(propagated-inputs
(list python-importlib-metadata python-platformdirs python-tomli))
(native-inputs
(list python-pytest))
(home-page "https://github.com/google/yapf")
(synopsis "Formatter for Python code")
(description "YAPF is a formatter for Python code. It's based off of