python-markdown: bump to 3.10.2
authorAlexandru Ardelean <redacted>
Wed, 1 Apr 2026 10:35:24 +0000 (13:35 +0300)
committerAlexandru Ardelean <redacted>
Wed, 1 Apr 2026 19:37:48 +0000 (22:37 +0300)
Changelog: https://github.com/Python-Markdown/markdown/blob/master/docs/change_log/release-3.10.md
Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-markdown/Makefile
lang/python/python-markdown/test.sh [new file with mode: 0755]

index 5c288dda3f8bce08f5230f791476c579ce5c89de..7f3977ca2d017aa7bed0f70eae86a2f88c6f17bd 100644 (file)
@@ -8,11 +8,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-markdown
-PKG_VERSION:=3.10
+PKG_VERSION:=3.10.2
 PKG_RELEASE:=1
 
 PYPI_NAME:=markdown
-PKG_HASH:=37062d4f2aa4b2b6b32aefb80faa300f82cc790cb949a35b8caede34f2b68c0e
+PKG_HASH:=994d51325d25ad8aa7ce4ebaec003febcce822c3f8c911e3b17c52f7f589f950
 
 PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
 PKG_LICENSE:=BSD-3-Clause
diff --git a/lang/python/python-markdown/test.sh b/lang/python/python-markdown/test.sh
new file mode 100755 (executable)
index 0000000..3dc856a
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+[ "$1" = python3-markdown ] || exit 0
+
+python3 - << 'EOF'
+
+import markdown
+
+# Basic conversion
+result = markdown.markdown("# Hello World")
+assert result == "<h1>Hello World</h1>", f"got: {result}"
+
+# Bold and italic
+result = markdown.markdown("**bold** and *italic*")
+assert "<strong>bold</strong>" in result
+assert "<em>italic</em>" in result
+
+# List
+result = markdown.markdown("- item1\n- item2")
+assert "<ul>" in result
+assert "<li>item1</li>" in result
+
+EOF
git clone https://git.99rst.org/PROJECT