MarkupSafe: Update to 2.1.2, rename source package
authorJeffery To <redacted>
Mon, 29 May 2023 11:59:38 +0000 (19:59 +0800)
committerDaniel Golle <redacted>
Tue, 30 May 2023 02:19:33 +0000 (03:19 +0100)
This renames the source package from MarkupSafe to python-markupsafe to
match other Python packages.

This also updates the package title and description.

Signed-off-by: Jeffery To <redacted>
lang/python/python-markupsafe/Makefile [moved from lang/python/MarkupSafe/Makefile with 59% similarity]

similarity index 59%
rename from lang/python/MarkupSafe/Makefile
rename to lang/python/python-markupsafe/Makefile
index 177f072e74c860848cc32837eedb2120569f8c5e..5b495d79d848abdee93af47e12e07cd3c4078414 100644 (file)
@@ -4,12 +4,12 @@
 
 include $(TOPDIR)/rules.mk
 
-PKG_NAME:=MarkupSafe
-PKG_VERSION:=2.1.1
+PKG_NAME:=python-markupsafe
+PKG_VERSION:=2.1.2
 PKG_RELEASE:=1
 
-PYPI_NAME:=$(PKG_NAME)
-PKG_HASH:=7f91197cc9e48f989d12e4e6fbc46495c446636dfc81b9ccf50bb0ec74b91d4b
+PYPI_NAME:=MarkupSafe
+PKG_HASH:=abcabc8c2b26036d62d4c746381a6f7cf60aafcc653198ad678306986b09450d
 
 PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
 PKG_LICENSE:=BSD-3-Clause
@@ -23,13 +23,17 @@ define Package/python3-markupsafe
   SECTION:=lang
   CATEGORY:=Languages
   SUBMENU:=Python
-  TITLE:=MarkupSafe
+  TITLE:=Safely add untrusted strings to HTML/XML markup
   URL:=https://palletsprojects.com/p/markupsafe/
   DEPENDS:=+python3-light
 endef
 
 define Package/python3-markupsafe/description
-  MarkupSafe implements a text object that escapes characters so it is safe to use in HTML and XML.
+MarkupSafe implements a text object that escapes characters so it is
+safe to use in HTML and XML. Characters that have special meanings are
+replaced so that they display as the actual characters. This mitigates
+injection attacks, meaning untrusted user input can safely be displayed
+on a page.
 endef
 
 $(eval $(call Py3Package,python3-markupsafe))
git clone https://git.99rst.org/PROJECT