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.

41 lines
1.1 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=python-defusedxml
  7. PKG_VERSION:=0.7.1
  8. PKG_RELEASE:=1
  9. PKG_MAINTAINER:=Eneas U de Queiroz <cotequeiroz@gmail.com>
  10. PKG_LICENSE:=Python-2.0
  11. PKG_LICENSE_FILES:=LICENSE
  12. PYPI_NAME:=defusedxml
  13. PKG_HASH:=1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69
  14. include ../pypi.mk
  15. include $(INCLUDE_DIR)/package.mk
  16. include ../python3-package.mk
  17. define Package/python3-defusedxml
  18. SUBMENU:=Python
  19. SECTION:=lang
  20. CATEGORY:=Languages
  21. TITLE:=XML bomb protection for Python
  22. URL:=https://github.com/tiran/defusedxml
  23. DEPENDS:= \
  24. +python3-light \
  25. +python3-xml
  26. endef
  27. define Package/python3-defusedxml/description
  28. The defusedxml package contains several Python-only workarounds and fixes for
  29. denial of service and other vulnerabilities in Python’s XML libraries.
  30. endef
  31. $(eval $(call Py3Package,python3-defusedxml))
  32. $(eval $(call BuildPackage,python3-defusedxml))
  33. $(eval $(call BuildPackage,python3-defusedxml-src))