1 # This is free software, licensed under the GNU General Public License v2.
2 # See /LICENSE for more information.
5 include $(TOPDIR
)/rules.mk
7 PKG_NAME
:=python-markupsafe
12 PKG_HASH
:=abcabc8c2b26036d62d4c746381a6f7cf60aafcc653198ad678306986b09450d
14 PKG_MAINTAINER
:=Jeffery To
<jeffery.to@gmail.com
>
15 PKG_LICENSE
:=BSD-3-Clause
16 PKG_LICENSE_FILES
:=LICENSE.rst
19 include $(INCLUDE_DIR
)/package.mk
20 include ..
/python3-package.mk
22 define Package
/python3-markupsafe
26 TITLE
:=Safely add untrusted strings to HTML
/XML markup
27 URL
:=https
://palletsprojects.com
/p
/markupsafe
/
28 DEPENDS
:=+python3-light
31 define Package
/python3-markupsafe
/description
32 MarkupSafe implements a text object that escapes characters so it is
33 safe to use in HTML and XML. Characters that have special meanings are
34 replaced so that they display
as the actual characters. This mitigates
35 injection attacks
, meaning untrusted user input can safely be displayed
39 $(eval
$(call Py3Package
,python3-markupsafe
))
40 $(eval
$(call BuildPackage
,python3-markupsafe
))
41 $(eval
$(call BuildPackage
,python3-markupsafe-src
))