~ruther/guix-local

eff7e1db41e59187f0a39da087ae061495c4d700 — Sharlatan Hellseher 7 months ago 98b4c5d
gnu: python-commonmark: Switch to pyproject-build-system.

* gnu/packages/python-xyz.scm (python-commonmark):
  [build-system]: Use pyproject.
  [arguments] <phases>: Use default 'check.
  [native-inputs]: Add python-setuptools.

Change-Id: I820373fc3e23ccb3222a6409e0ea7b977376e776
1 files changed, 5 insertions(+), 8 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +5 -8
@@ 17622,6 17622,8 @@ list format (also known as ASCII plist), written in Cython.")
dependency resolution logic.")
    (license license:isc)))

;; XXX: Deprecated package: this project was archived by the owner on Mar 26,
;; 2022. It is now read-only.
(define-public python-commonmark
  (package
    (name "python-commonmark")


@@ 17632,14 17634,9 @@ dependency resolution logic.")
       (uri (pypi-uri "commonmark" version))
       (sha256
        (base32 "0q7d39lm8kcingpmykk5r959hrwwj6v2icyw3mihczxyb749sbs5"))))
    (build-system python-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (replace 'check
           (lambda* (#:key inputs outputs #:allow-other-keys)
             (add-installed-pythonpath inputs outputs)
             (invoke "python" "setup.py" "test"))))))
    (build-system pyproject-build-system)
    (native-inputs
     (list python-setuptools))
    (home-page "https://github.com/readthedocs/commonmark.py")
    (synopsis "Python parser for the CommonMark Markdown spec")
    (description