From 329f9a139157840ad129991e961a63f7f4362d62 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Thu, 13 Jul 2023 13:39:35 +0800 Subject: 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 --- lang/python/python3/files/python3-package-dev.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lang/python/python3/files/python3-package-dev.mk') diff --git a/lang/python/python3/files/python3-package-dev.mk b/lang/python/python3/files/python3-package-dev.mk index e43ba5234..d9b7e7284 100644 --- a/lang/python/python3/files/python3-package-dev.mk +++ b/lang/python/python3/files/python3-package-dev.mk @@ -7,10 +7,17 @@ define Package/python3-dev $(call Package/python3/Default) - TITLE:=Python $(PYTHON3_VERSION) development files + TITLE+= development files DEPENDS:=+python3 +python3-lib2to3 endef +define Package/python3-dev/description +$(call Package/python3/Default/description) + +This package contains files for building Python modules, extending the +Python interpreter, or embedded Python in applications. +endef + define Py3Package/python3-dev/install $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/bin/python$(PYTHON3_VERSION)-config $(1)/usr/bin -- cgit