You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
668 B

  1. #
  2. # Copyright (C) 2006-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. define Package/python3-cgi
  8. $(call Package/python3/Default)
  9. TITLE:=Python $(PYTHON3_VERSION) cgi module
  10. DEPENDS:=+python3-light +python3-email
  11. endef
  12. define Package/python3-cgitb
  13. $(call Package/python3/Default)
  14. TITLE:=Python $(PYTHON3_VERSION) cgitb module
  15. DEPENDS:=+python3-light +python3-cgi +python3-pydoc
  16. endef
  17. $(eval $(call Py3BasePackage,python3-cgi, \
  18. /usr/lib/python$(PYTHON3_VERSION)/cgi.py \
  19. ))
  20. $(eval $(call Py3BasePackage,python3-cgitb, \
  21. /usr/lib/python$(PYTHON3_VERSION)/cgitb.py \
  22. ))