rekado pushed a commit to branch python-team
in repository guix.

commit 1f42f0f45e059382210fb887de62b22b45a2407b
Author: Sergey Trofimov <s...@sarg.org.ru>
AuthorDate: Wed Dec 25 15:00:58 2024 +0100

    gnu: python-markdown2: Update to 2.5.2.
    
    * gnu/packages/python-xyz.scm (python-markdown2)
    [arguments] <phases>: Use default 'check.
    [native-inputs]: Add python-pytest, python-setuptools and python-wheel.
    
    Co-authored-by: Sharlatan Hellseher <sharlata...@gmail.com>
    Signed-off-by: Sharlatan Hellseher <sharlata...@gmail.com>
    Change-Id: Ic3df25863bbb37ec6282ec5dcbf815461663f8cd
---
 gnu/packages/python-xyz.scm | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b2ef4248ea..26229d7209 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15916,7 +15916,7 @@ markdown_py is also provided to convert Markdown files 
to HTML.")
 (define-public python-markdown2
   (package
     (name "python-markdown2")
-    (version "2.4.13")
+    (version "2.5.2")
     (source
      (origin
        (method git-fetch) ; no tests data in PyPi package
@@ -15925,19 +15925,13 @@ markdown_py is also provided to convert Markdown 
files to HTML.")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0m1wy8i4xmna5b97dvks8cfjmc1wid8pxmd2h82869d0ajva3r6a"))))
+        (base32 "01ll612yq7kjmj5p2zi9sf4l2wg6rm1ldcr6h0m2d9j180j7ggs8"))))
     (build-system pyproject-build-system)
-    (arguments
-     (list
-      #:phases
-      #~(modify-phases %standard-phases
-          (replace 'check
-            (lambda* (#:key tests? test-flags #:allow-other-keys)
-              (when tests?
-                (with-directory-excursion "test"
-                  (invoke "python" "testall.py"))))))))
     (native-inputs
-     (list python-pygments))
+     (list python-pygments
+           python-pytest
+           python-setuptools
+           python-wheel))
     (home-page "https://github.com/trentm/python-markdown2";)
     (synopsis "Fast and complete Python implementation of Markdown")
     (description

Reply via email to