2017-05-17 04:38:25 +08:00
|
|
|
#
|
|
|
|
# Copyright (C) 2017 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=python-lxml
|
2025-05-11 12:40:14 +08:00
|
|
|
PKG_VERSION:=5.4.0
|
2023-01-04 18:26:18 +08:00
|
|
|
PKG_RELEASE:=1
|
2017-05-17 04:38:25 +08:00
|
|
|
|
2019-10-21 03:03:12 +08:00
|
|
|
PYPI_NAME:=lxml
|
2025-05-11 12:40:14 +08:00
|
|
|
PKG_HASH:=d12832e1dbea4be280b22fd0ea7c9b87f0d8fc51ba06e92dc62d52f804f78ebd
|
2017-05-17 04:38:25 +08:00
|
|
|
|
2020-04-24 21:24:05 +08:00
|
|
|
PKG_LICENSE:=BSD-3-Clause
|
2017-05-17 04:38:25 +08:00
|
|
|
PKG_LICENSE_FILES:=LICENSES.txt
|
|
|
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
2019-09-19 22:07:09 +08:00
|
|
|
PKG_CPE_ID:=cpe:/a:lxml:lxml
|
2017-05-17 04:38:25 +08:00
|
|
|
|
2024-04-16 00:42:43 +08:00
|
|
|
PKG_BUILD_DEPENDS:=python-cython/host
|
|
|
|
|
2019-10-21 03:03:12 +08:00
|
|
|
include ../pypi.mk
|
2017-05-17 04:38:25 +08:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2018-01-10 15:56:52 +08:00
|
|
|
include ../python3-package.mk
|
2017-05-17 04:38:25 +08:00
|
|
|
|
2020-04-22 01:27:50 +08:00
|
|
|
define Package/python3-lxml
|
2017-05-17 04:38:25 +08:00
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
SUBMENU:=Python
|
2020-04-24 21:24:05 +08:00
|
|
|
TITLE:=Pythonic XML processing library
|
2020-04-22 01:27:50 +08:00
|
|
|
URL:=https://lxml.de
|
|
|
|
DEPENDS:=+libxml2 +libxslt +libexslt +python3-light
|
2017-05-17 04:38:25 +08:00
|
|
|
endef
|
|
|
|
|
2020-04-01 22:21:16 +08:00
|
|
|
define Package/python3-lxml/description
|
2020-04-24 21:24:05 +08:00
|
|
|
lxml is a Pythonic, mature binding for the libxml2 and libxslt
|
|
|
|
libraries. It provides safe and convenient access to these libraries
|
|
|
|
using the ElementTree API.
|
|
|
|
|
|
|
|
It extends the ElementTree API significantly to offer support for
|
|
|
|
XPath, RelaxNG, XML Schema, XSLT, C14N and much more.
|
2017-05-17 04:38:25 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call Py3Package,python3-lxml))
|
|
|
|
$(eval $(call BuildPackage,python3-lxml))
|
2019-08-12 15:17:12 +08:00
|
|
|
$(eval $(call BuildPackage,python3-lxml-src))
|