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.

46 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2017 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=python-lxml
  9. PKG_VERSION:=4.6.3
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=lxml
  12. PKG_HASH:=39b78571b3b30645ac77b95f7c69d1bffc4cf8c3b157c435a34da72e78c82468
  13. PKG_LICENSE:=BSD-3-Clause
  14. PKG_LICENSE_FILES:=LICENSES.txt
  15. PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  16. PKG_CPE_ID:=cpe:/a:lxml:lxml
  17. include ../pypi.mk
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../python3-package.mk
  20. define Package/python3-lxml
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. SUBMENU:=Python
  24. TITLE:=Pythonic XML processing library
  25. URL:=https://lxml.de
  26. DEPENDS:=+libxml2 +libxslt +libexslt +python3-light
  27. endef
  28. define Package/python3-lxml/description
  29. lxml is a Pythonic, mature binding for the libxml2 and libxslt
  30. libraries. It provides safe and convenient access to these libraries
  31. using the ElementTree API.
  32. It extends the ElementTree API significantly to offer support for
  33. XPath, RelaxNG, XML Schema, XSLT, C14N and much more.
  34. endef
  35. $(eval $(call Py3Package,python3-lxml))
  36. $(eval $(call BuildPackage,python3-lxml))
  37. $(eval $(call BuildPackage,python3-lxml-src))