summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-01-16 12:21:07 +0100
committerRicardo Wurmus <rekado@elephly.net>2024-01-16 12:21:07 +0100
commitb05fe5c7636c74a574046bf60232a61d750ceb1c (patch)
tree930b4ef52a03e2a2cff91d5f2dfa8e1e53705f7e
parent1fcf3d2a0c26f642a69ce5d192cc9575e70cd703 (diff)
downloadguix-b05fe5c7636c74a574046bf60232a61d750ceb1c.tar.gz
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
-rw-r--r--gnu/packages/python-xyz.scm10
1 files changed, 7 insertions, 3 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7de2ecbe65..50d9f51e38 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24628,15 +24628,19 @@ such as lines length, trailing spaces, indentation, etc.")
 (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