summaryrefslogtreecommitdiff
path: root/lang/python/python3/files/python3-package-cgi.mk
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-07-13 13:39:35 +0800
committerJeffery To <jeffery.to@gmail.com>2023-09-05 12:41:29 +0800
commit14792007907dd1aa5bcd16dca03f4df551b60b6c (patch)
treeb4c8f8e8d03998ff33a2e2835b037bd4eff66634 /lang/python/python3/files/python3-package-cgi.mk
parentdc08776ef38497e5d74958b3324728e1abf6c0b5 (diff)
python3: Fix package descriptions
* Fix default Python package description not included in individual package descriptions * Update default Python package description text (from General Python FAQ, "What is Python?") * Add package descriptions for Python module packages * Reduce duplication in package titles Signed-off-by: Jeffery To <jeffery.to@gmail.com> (cherry picked from commit 329f9a139157840ad129991e961a63f7f4362d62)
Diffstat (limited to 'lang/python/python3/files/python3-package-cgi.mk')
-rw-r--r--lang/python/python3/files/python3-package-cgi.mk15
1 files changed, 13 insertions, 2 deletions
diff --git a/lang/python/python3/files/python3-package-cgi.mk b/lang/python/python3/files/python3-package-cgi.mk
index 165800a10..e4bb110f1 100644
--- a/lang/python/python3/files/python3-package-cgi.mk
+++ b/lang/python/python3/files/python3-package-cgi.mk
@@ -7,16 +7,27 @@
define Package/python3-cgi
$(call Package/python3/Default)
- TITLE:=Python $(PYTHON3_VERSION) cgi module
+ TITLE+= cgi module
DEPENDS:=+python3-light +python3-email
endef
define Package/python3-cgitb
$(call Package/python3/Default)
- TITLE:=Python $(PYTHON3_VERSION) cgitb module
+ TITLE+= cgitb module
DEPENDS:=+python3-light +python3-cgi +python3-pydoc
endef
+define Package/python3-cgi/description
+$(call Package/python3/Default/description)
+
+This package contains the cgi module.
+endef
+
+define Package/python3-cgitb/description
+$(call Package/python3/Default/description)
+
+This package contains the cgitb module.
+endef
$(eval $(call Py3BasePackage,python3-cgi, \
/usr/lib/python$(PYTHON3_VERSION)/cgi.py \