guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit d6ee21a83914c1795ad679cb070049090fbf0b75
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Fri Jul 11 22:01:04 2025 +0100

    gnu: python-pytoml: Switch to pyproject.
    
    * gnu/packages/python-build.scm (python-pytoml):
      [build-system]: Use pyproject.
      [arguments] <tests?>: Disable to avoid pytest dependency.
      [native-inputs]: Add python-setuptools.
    
    Change-Id: I0f1ad014c856a0653f3f50e91d9c8227d9028373
---
 gnu/packages/python-build.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 76b42d5efe..7f3908b35d 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -146,9 +146,11 @@ write-only counterpart to Tomli, which is a read-only TOML 
parser.")
        (method url-fetch)
        (uri (pypi-uri "pytoml" version))
        (sha256
-        (base32
-         "1rv1byiw82k7mj6aprcrqi2vdabs801y97xhfnrz7kxds34ggv4f"))))
-    (build-system python-build-system)
+        (base32 "1rv1byiw82k7mj6aprcrqi2vdabs801y97xhfnrz7kxds34ggv4f"))))
+    (build-system pyproject-build-system)
+    (arguments `(#:tests? #f))          ;to avoid pytest dependency
+    (native-inputs
+     (list python-setuptools))
     (home-page "https://github.com/avakar/pytoml";)
     (synopsis "Parser for TOML")
     (description "This package provides a Python parser for TOML-0.4.0.")

Reply via email to