mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-02 08:10:28 +08:00
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>
This commit is contained in:
parent
97fbc62da0
commit
39bd7a44fe
@ -190,6 +190,10 @@ define Build/Compile/python3-setuptools
|
|||||||
$(PKG_BUILD_DIR)/Lib/ensurepip/_bundled/setuptools-$(PYTHON3_SETUPTOOLS_VERSION)-py3-none-any.whl
|
$(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,)
|
$(call PatchDir,$(PKG_BUILD_DIR)/install-setuptools/usr/lib/python$(PYTHON3_VERSION)/site-packages,./patches-setuptools,)
|
||||||
endef
|
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
|
endif # CONFIG_PACKAGE_python3-setuptools
|
||||||
|
|
||||||
ifdef CONFIG_PACKAGE_python3-pip
|
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
|
$(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,)
|
$(call PatchDir,$(PKG_BUILD_DIR)/install-pip/usr/lib/python$(PYTHON3_VERSION)/site-packages,./patches-pip,)
|
||||||
endef
|
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
|
endif # CONFIG_PACKAGE_python3-pip
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
Loading…
Reference in New Issue
Block a user