Merge pull request #17987 from BKPepe/snort-conflicts
[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:=4.8.0
12 PKG_RELEASE:=$(AUTORELEASE)
13
14 PYPI_NAME:=lxml
15 PKG_HASH:=f63f62fc60e6228a4ca9abae28228f35e1bd3ce675013d1dfb828688d50c6e23
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))