guix_mirror_bot pushed a commit to branch python-team in repository guix. commit 372fd1583865b7c7a3fa911863fe13d0c9a176bc Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Sat Aug 9 16:59:08 2025 +0100
gnu: python-cmarkgfm: Update to 2024.11.20. * gnu/packages/markup.scm (python-cmarkgfm): Update to 2024.11.20. [build-system]: Use pyproject. [arguments] <phases>: Use default 'check. [native-inputs]: Add python-setuptools. Change-Id: Ie349e517a1beaa35368fcd8a692b0feda9d1fe68 --- gnu/packages/markup.scm | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm index 687fe21c99..ac25094fb6 100644 --- a/gnu/packages/markup.scm +++ b/gnu/packages/markup.scm @@ -402,20 +402,20 @@ implementation. (define-public python-cmarkgfm (package (name "python-cmarkgfm") - (version "2022.10.27") + (version "2024.11.20") (source (origin (method url-fetch) (uri (pypi-uri "cmarkgfm" version)) (sha256 (base32 - "16875bazqd7p7qiky343w0fzasqziyvf72nipyh1r47a2rvsrnck")) + "0siwyyfgp7v5vw6xd4zy2cph6dp9f3c5xvyd2draba3m37v1rl2x")) (modules '((guix build utils))) (snippet '(begin ;; Delete bundled cmark and generated headers. (for-each delete-file-recursively '("third_party/cmark" "generated")))))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list #:phases #~(modify-phases %standard-phases @@ -435,11 +435,8 @@ implementation. (install-file file "generated/unix/")) (cons version.h (find-files (dirname version.h) - "_export\\.h$")))))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? (invoke "pytest" "-vv" "tests"))))))) - (native-inputs (list python-pytest)) + "_export\\.h$"))))))))) + (native-inputs (list python-pytest python-setuptools)) (inputs (list cmark-gfm)) (propagated-inputs (list python-cffi)) (home-page "https://github.com/theacodes/cmarkgfm")