guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 68160954d4d8baf51e266feb163c77c722abdae7
Author: Sharlatan Hellseher <[email protected]>
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 304c983cb8..d4bd40b5c5 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.")