python-netifaces: use single version externally managed
PATCH 1/1 python-netifaces: use single version externally managed
We want --single-version-externally-managed (and --root=/) to make python packages uncompressed (python eggs are zip files) since compression should be a target filesystem responsibility. And we don't need/want multiple versions of the same package in the target since packages should be handled by buildroot on any sane embedded system.
--- package/python-netifaces/python-netifaces.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
package/python-netifaces/python-netifaces.mk +4 -2
@@ -18,8 +18,10 @@ define PYTHON_NETIFACES_BUILD_CMDS endef define PYTHON_NETIFACES_INSTALL_TARGET_CMDS - (cd $(@D); PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \ - $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr) + (cd $(@D); \ + PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \ + $(HOST_DIR)/usr/bin/python setup.py install \ + --single-version-externally-managed --root=/ --prefix=$(TARGET_DIR)/usr) endef $(eval $(generic-package))
Signature · 1 line
1.8.1.5
PATCH 1/1 python-netifaces: use single version externally managed
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Gustavo> We want --single-version-externally-managed (and --root=/) to make Gustavo> python packages uncompressed (python eggs are zip files) since Gustavo> compression should be a target filesystem responsibility. Gustavo> And we don't need/want multiple versions of the same package in the Gustavo> target since packages should be handled by buildroot on any sane Gustavo> embedded system.
Gustavo> Signed-off-by: Gustavo Zacarias <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard