From: Jeffery To Date: Mon, 3 Jul 2023 14:34:48 +0000 (+0800) Subject: python3: Use regular package recipes for python3 package X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=87631ecdd4ece794ae600d35e259cc1227795313;p=feed%2Fpackages.git python3: Use regular package recipes for python3 package 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 --- diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index 58ea2e0e01..0d9e254055 100644 --- a/lang/python/python3/Makefile +++ b/lang/python/python3/Makefile @@ -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))