python-lxml: bump to version 5.2.1
[feed/packages.git] / lang / python / python-lxml / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=python-lxml
11 PKG_VERSION:=5.2.1
12 PKG_RELEASE:=1
13
14 PYPI_NAME:=lxml
15 PKG_HASH:=3f7765e69bbce0906a7c74d5fe46d2c7a7596147318dbc08e4a2431f3060e306
16
17 PKG_LICENSE:=BSD-3-Clause
18 PKG_LICENSE_FILES:=LICENSES.txt
19 PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
20 PKG_CPE_ID:=cpe:/a:lxml:lxml
21
22 PKG_BUILD_DEPENDS:=python-cython/host
23
24 include ../pypi.mk
25 include $(INCLUDE_DIR)/package.mk
26 include ../python3-package.mk
27
28 define 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
35 endef
36
37 define 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.
44 endef
45
46 $(eval $(call Py3Package,python3-lxml))
47 $(eval $(call BuildPackage,python3-lxml))
48 $(eval $(call BuildPackage,python3-lxml-src))