summaryrefslogtreecommitdiff
path: root/lang/python/python3/files/python3-package-dev.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-08-25 01:47:42 +0800
commit329f9a139157840ad129991e961a63f7f4362d62 (patch)
tree47a01927cb38c4ce931ba7f1d5c3b5be9a318f22 /lang/python/python3/files/python3-package-dev.mk
parent87631ecdd4ece794ae600d35e259cc1227795313 (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>
Diffstat (limited to 'lang/python/python3/files/python3-package-dev.mk')
-rw-r--r--lang/python/python3/files/python3-package-dev.mk9
1 files changed, 8 insertions, 1 deletions
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