summaryrefslogtreecommitdiff
path: root/lang/python/python3/files
diff options
context:
space:
mode:
authorMirko Vogt <mirko-openwrt@nanl.de>2017-10-29 01:45:25 +0200
committerMirko Vogt <mirko-openwrt@nanl.de>2017-10-31 13:45:29 +0100
commit32b60fa32b35e19b1c3fe9d265622725944ca82f (patch)
tree01730645e015502865351099c987c5e5cc441ec9 /lang/python/python3/files
parent493c69efb53847e28555e90a386072ed4070d25f (diff)
python3: package CGI component
Signed-off-by: Mirko Vogt <mirko-openwrt@nanl.de>
Diffstat (limited to 'lang/python/python3/files')
-rw-r--r--lang/python/python3/files/python3-package-cgi.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/lang/python/python3/files/python3-package-cgi.mk b/lang/python/python3/files/python3-package-cgi.mk
new file mode 100644
index 000000000..165800a10
--- /dev/null
+++ b/lang/python/python3/files/python3-package-cgi.mk
@@ -0,0 +1,27 @@
+#
+# Copyright (C) 2006-2017 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Package/python3-cgi
+$(call Package/python3/Default)
+ TITLE:=Python $(PYTHON3_VERSION) cgi module
+ DEPENDS:=+python3-light +python3-email
+endef
+
+define Package/python3-cgitb
+$(call Package/python3/Default)
+ TITLE:=Python $(PYTHON3_VERSION) cgitb module
+ DEPENDS:=+python3-light +python3-cgi +python3-pydoc
+endef
+
+
+$(eval $(call Py3BasePackage,python3-cgi, \
+ /usr/lib/python$(PYTHON3_VERSION)/cgi.py \
+))
+
+$(eval $(call Py3BasePackage,python3-cgitb, \
+ /usr/lib/python$(PYTHON3_VERSION)/cgitb.py \
+))