summaryrefslogtreecommitdiff
path: root/lang/python/files/python-package-xml.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/files/python-package-xml.mk')
-rw-r--r--lang/python/files/python-package-xml.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/lang/python/files/python-package-xml.mk b/lang/python/files/python-package-xml.mk
new file mode 100644
index 000000000..69074ccb4
--- /dev/null
+++ b/lang/python/files/python-package-xml.mk
@@ -0,0 +1,20 @@
+#
+# Copyright (C) 2006-2015 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Package/python-xml
+$(call Package/python/Default)
+ TITLE:=Python $(PYTHON_VERSION) xml libs
+ DEPENDS:=+python-light
+endef
+
+$(eval $(call PyBasePackage,python-xml, \
+ /usr/lib/python$(PYTHON_VERSION)/xml \
+ /usr/lib/python$(PYTHON_VERSION)/xmllib.py \
+ /usr/lib/python$(PYTHON_VERSION)/xmlrpclib.py \
+ /usr/lib/python$(PYTHON_VERSION)/lib-dynload/_elementtree.so \
+ /usr/lib/python$(PYTHON_VERSION)/lib-dynload/pyexpat.so \
+))