blob: d517cd8401511ac3bcf639db56a26a1f98f28fcc [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=python-lxml
11PKG_VERSION:=5.2.2
12PKG_RELEASE:=1
13
14PYPI_NAME:=lxml
15PKG_HASH:=bb2dc4898180bea79863d5487e5f9c7c34297414bad54bcd0f0852aee9cfdb87
16
17PKG_LICENSE:=BSD-3-Clause
18PKG_LICENSE_FILES:=LICENSES.txt
19PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
20PKG_CPE_ID:=cpe:/a:lxml:lxml
21
22PKG_BUILD_DEPENDS:=python-cython/host
23
24include ../pypi.mk
25include $(INCLUDE_DIR)/package.mk
26include ../python3-package.mk
27
28define Package/python3-lxml
29 SECTION:=lang
30 CATEGORY:=Languages
31 SUBMENU:=Python
32 TITLE:=Pythonic XML processing library
33 URL:=https://lxml.de
34 DEPENDS:=+libxml2 +libxslt +libexslt +python3-light
35endef
36
37define Package/python3-lxml/description
38 lxml is a Pythonic, mature binding for the libxml2 and libxslt
39 libraries. It provides safe and convenient access to these libraries
40 using the ElementTree API.
41
42 It extends the ElementTree API significantly to offer support for
43 XPath, RelaxNG, XML Schema, XSLT, C14N and much more.
44endef
45
46$(eval $(call Py3Package,python3-lxml))
47$(eval $(call BuildPackage,python3-lxml))
48$(eval $(call BuildPackage,python3-lxml-src))