python3: Use regular package recipes for python3 package
authorJeffery To <jeffery.to@gmail.com>
Mon, 3 Jul 2023 14:34:48 +0000 (22:34 +0800)
committerJeffery To <jeffery.to@gmail.com>
Thu, 24 Aug 2023 17:47:42 +0000 (01:47 +0800)
There is no need to use Py3Package for python3 as it does not package
any Python files; it is an empty package with dependencies to install
the full Python installation.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lang/python/python3/Makefile

index 58ea2e0e01cc86d6e9b8074c9698723a6036619c..0d9e2540550decf5fc6d650d074720b94eda31f1 100644 (file)
@@ -264,11 +264,7 @@ define Py3Package/python3-base/install
 endef
 
 Py3Package/python3-light/install:=:
-Py3Package/python3/install:=:
-
-define Py3Package/python3/filespec
--|$(PYTHON3_PKG_DIR)
-endef
+Package/python3/install:=:
 
 # libuuid is provided by e2fsprogs and uuid/uuid.h is moved into
 # $(STAGING_DIR_HOST)/include/e2fsprogs
@@ -351,14 +347,13 @@ $(foreach package, $(PYTHON3_PACKAGES),  \
 )
 
 $(eval $(call BuildPackage,libpython3))
+$(eval $(call BuildPackage,python3))
 
 $(eval $(call Py3Package,python3-base))
 $(eval $(call Py3Package,python3-light))
-$(eval $(call Py3Package,python3))
 
 $(eval $(call BuildPackage,python3-base))
 $(eval $(call BuildPackage,python3-light))
-$(eval $(call BuildPackage,python3))
 
 $(eval $(call BuildPackage,python3-base-src))
 $(eval $(call BuildPackage,python3-light-src))