mirror of
https://github.com/openwrt/packages.git
synced 2025-12-19 17:11:21 +00:00
python3: package CGI component
Signed-off-by: Mirko Vogt <mirko-openwrt@nanl.de>
This commit is contained in:
27
lang/python/python3/files/python3-package-cgi.mk
Normal file
27
lang/python/python3/files/python3-package-cgi.mk
Normal file
@@ -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 \
|
||||
))
|
||||
Reference in New Issue
Block a user