2017-05-16 22:38:25 +02: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
|
2024-04-15 18:42:43 +02:00
|
|
|
PKG_VERSION:=5.2.1
|
2023-01-04 11:26:18 +01:00
|
|
|
PKG_RELEASE:=1
|
2017-05-16 22:38:25 +02:00
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
PYPI_NAME:=lxml
|
2024-04-15 18:42:43 +02:00
|
|
|
PKG_HASH:=3f7765e69bbce0906a7c74d5fe46d2c7a7596147318dbc08e4a2431f3060e306
|
2017-05-16 22:38:25 +02:00
|
|
|
|
2020-04-24 15:24:05 +02:00
|
|
|
PKG_LICENSE:=BSD-3-Clause
|
2017-05-16 22:38:25 +02:00
|
|
|
PKG_LICENSE_FILES:=LICENSES.txt
|
|
|
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
2019-09-19 16:07:09 +02:00
|
|
|
PKG_CPE_ID:=cpe:/a:lxml:lxml
|
2017-05-16 22:38:25 +02:00
|
|
|
|
2024-04-15 18:42:43 +02:00
|
|
|
PKG_BUILD_DEPENDS:=python-cython/host
|
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
include ../pypi.mk
|
2017-05-16 22:38:25 +02:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2018-01-10 08:56:52 +01:00
|
|
|
include ../python3-package.mk
|
2017-05-16 22:38:25 +02:00
|
|
|
|
2020-04-21 19:27:50 +02:00
|
|
|
define Package/python3-lxml
|
2017-05-16 22:38:25 +02:00
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
SUBMENU:=Python
|
2020-04-24 15:24:05 +02:00
|
|
|
TITLE:=Pythonic XML processing library
|
2020-04-21 19:27:50 +02:00
|
|
|
URL:=https://lxml.de
|
|
|
|
DEPENDS:=+libxml2 +libxslt +libexslt +python3-light
|
2017-05-16 22:38:25 +02:00
|
|
|
endef
|
|
|
|
|
2020-04-01 16:21:16 +02:00
|
|
|
define Package/python3-lxml/description
|
2020-04-24 15:24:05 +02: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-16 22:38:25 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call Py3Package,python3-lxml))
|
|
|
|
$(eval $(call BuildPackage,python3-lxml))
|
2019-08-12 09:17:12 +02:00
|
|
|
$(eval $(call BuildPackage,python3-lxml-src))
|