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
This commit is contained in:
Sharlatan Hellseher 2025-08-09 15:09:48 +01:00
parent f69c82dbf9
commit eb5f801b7e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -17646,6 +17646,8 @@ list format (also known as ASCII plist), written in Cython.")
dependency resolution logic.") dependency resolution logic.")
(license license:isc))) (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 (define-public python-commonmark
(package (package
(name "python-commonmark") (name "python-commonmark")
@ -17656,14 +17658,9 @@ dependency resolution logic.")
(uri (pypi-uri "commonmark" version)) (uri (pypi-uri "commonmark" version))
(sha256 (sha256
(base32 "0q7d39lm8kcingpmykk5r959hrwwj6v2icyw3mihczxyb749sbs5")))) (base32 "0q7d39lm8kcingpmykk5r959hrwwj6v2icyw3mihczxyb749sbs5"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (native-inputs
`(#:phases (list python-setuptools))
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
(invoke "python" "setup.py" "test"))))))
(home-page "https://github.com/readthedocs/commonmark.py") (home-page "https://github.com/readthedocs/commonmark.py")
(synopsis "Python parser for the CommonMark Markdown spec") (synopsis "Python parser for the CommonMark Markdown spec")
(description (description