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.8.0
  10. PKG_RELEASE:=$(AUTORELEASE)
  11. PYPI_NAME:=lxml
  12. PKG_HASH:=f63f62fc60e6228a4ca9abae28228f35e1bd3ce675013d1dfb828688d50c6e23
  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))