summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2021-07-05 11:28:38 +0300
committerJosef Schlehofer <pepe.schlehofer@gmail.com>2021-07-06 16:20:18 +0200
commitd27d23167bfd85cdac2f97a29791ddcaa4001d5c (patch)
treedb03d02efee7840ca9662823ed3925a15c188407
parent8b3297e50733a8e8f7c75f8fbffd2e7e8921ec89 (diff)
python3: do a simple ls on pip & setuptools if not selected for build
I seem to forget to check/select setuptools and pip (that come bundled with Python). This change will do a simple 'ls' on the 2 wheel files, so that the build fails even if just building Python. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
-rw-r--r--lang/python/python3/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile
index dc6423c96..17356c71e 100644
--- a/lang/python/python3/Makefile
+++ b/lang/python/python3/Makefile
@@ -190,6 +190,10 @@ define Build/Compile/python3-setuptools
$(PKG_BUILD_DIR)/Lib/ensurepip/_bundled/setuptools-$(PYTHON3_SETUPTOOLS_VERSION)-py3-none-any.whl
$(call PatchDir,$(PKG_BUILD_DIR)/install-setuptools/usr/lib/python$(PYTHON3_VERSION)/site-packages,./patches-setuptools,)
endef
+else
+define Build/Compile/python3-setuptools
+ ls $(PKG_BUILD_DIR)/Lib/ensurepip/_bundled/setuptools-$(PYTHON3_SETUPTOOLS_VERSION)-py3-none-any.whl
+endef
endif # CONFIG_PACKAGE_python3-setuptools
ifdef CONFIG_PACKAGE_python3-pip
@@ -204,6 +208,10 @@ define Build/Compile/python3-pip
$(PKG_BUILD_DIR)/Lib/ensurepip/_bundled/pip-$(PYTHON3_PIP_VERSION)-py3-none-any.whl
$(call PatchDir,$(PKG_BUILD_DIR)/install-pip/usr/lib/python$(PYTHON3_VERSION)/site-packages,./patches-pip,)
endef
+else
+define Build/Compile/python3-pip
+ ls $(PKG_BUILD_DIR)/Lib/ensurepip/_bundled/pip-$(PYTHON3_PIP_VERSION)-py3-none-any.whl
+endef
endif # CONFIG_PACKAGE_python3-pip
define Build/Compile