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
This commit is contained in:
Sharlatan Hellseher 2025-07-11 22:01:04 +01:00
parent 72d85865b2
commit d3c46c6dee
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

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