fd7939648141312db58104b6578c1428fae8f7fc
[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.1.0
12 PKG_RELEASE:=1
13
14 PYPI_NAME:=lxml
15 PKG_HASH:=3eea6ed6e6c918e468e693c41ef07f3c3acc310b70ddd9cc72d9ef84bc9564ca
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 include ../pypi.mk
23 include $(INCLUDE_DIR)/package.mk
24 include ../python3-package.mk
25
26 define Package/python3-lxml
27 SECTION:=lang
28 CATEGORY:=Languages
29 SUBMENU:=Python
30 TITLE:=Pythonic XML processing library
31 URL:=https://lxml.de
32 DEPENDS:=+libxml2 +libxslt +libexslt +python3-light
33 endef
34
35 define Package/python3-lxml/description
36 lxml is a Pythonic, mature binding for the libxml2 and libxslt
37 libraries. It provides safe and convenient access to these libraries
38 using the ElementTree API.
39
40 It extends the ElementTree API significantly to offer support for
41 XPath, RelaxNG, XML Schema, XSLT, C14N and much more.
42 endef
43
44 $(eval $(call Py3Package,python3-lxml))
45 $(eval $(call BuildPackage,python3-lxml))
46 $(eval $(call BuildPackage,python3-lxml-src))