python-packages: Take over maintainership from Daniel Golle
[feed/packages.git] / lang / python / python-markupsafe / Makefile
1 # This is free software, licensed under the GNU General Public License v2.
2 # See /LICENSE for more information.
3 #
4
5 include $(TOPDIR)/rules.mk
6
7 PKG_NAME:=python-markupsafe
8 PKG_VERSION:=2.1.2
9 PKG_RELEASE:=1
10
11 PYPI_NAME:=MarkupSafe
12 PKG_HASH:=abcabc8c2b26036d62d4c746381a6f7cf60aafcc653198ad678306986b09450d
13
14 PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
15 PKG_LICENSE:=BSD-3-Clause
16 PKG_LICENSE_FILES:=LICENSE.rst
17
18 include ../pypi.mk
19 include $(INCLUDE_DIR)/package.mk
20 include ../python3-package.mk
21
22 define Package/python3-markupsafe
23 SECTION:=lang
24 CATEGORY:=Languages
25 SUBMENU:=Python
26 TITLE:=Safely add untrusted strings to HTML/XML markup
27 URL:=https://palletsprojects.com/p/markupsafe/
28 DEPENDS:=+python3-light
29 endef
30
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
36 on a page.
37 endef
38
39 $(eval $(call Py3Package,python3-markupsafe))
40 $(eval $(call BuildPackage,python3-markupsafe))
41 $(eval $(call BuildPackage,python3-markupsafe-src))