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