~ruther/guix-local

93a2615dec43a6328e9185bb6e3f7670e1301a78 — Sharlatan Hellseher 8 months ago 73ac9f0
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
1 files changed, 5 insertions(+), 3 deletions(-)

M gnu/packages/python-build.scm
M gnu/packages/python-build.scm => gnu/packages/python-build.scm +5 -3
@@ 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.")