You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.1 KiB

  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=MarkupSafe
  6. PKG_VERSION:=1.1.1
  7. PKG_RELEASE:=2
  8. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  9. PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/M/MarkupSafe
  10. PKG_HASH:=29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b
  11. PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
  12. PKG_LICENSE:=BSD-3-Clause
  13. PKG_LICENSE_FILES:=LICENSE.rst
  14. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
  15. include $(INCLUDE_DIR)/package.mk
  16. include ../python3-package.mk
  17. define Package/python3-markupsafe
  18. SECTION:=lang
  19. CATEGORY:=Languages
  20. SUBMENU:=Python
  21. TITLE:=MarkupSafe
  22. URL:=https://palletsprojects.com/p/markupsafe/
  23. DEPENDS:=+python3-light
  24. VARIANT:=python3
  25. endef
  26. define Package/python3-markupsafe/description
  27. MarkupSafe implements a text object that escapes characters so it is safe to use in HTML and XML.
  28. endef
  29. $(eval $(call Py3Package,python3-markupsafe))
  30. $(eval $(call BuildPackage,python3-markupsafe))
  31. $(eval $(call BuildPackage,python3-markupsafe-src))