summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-05-06 03:13:32 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-05-06 22:20:24 (GMT)
commit619146d145813b5040960b6008e68e63a8943832 (patch)
tree2dfc451708006bb5a07f088f54a3ed64bccae745
parentb9da3bab1efc5bedc49f5d31f30d32237de05872 (diff)
downloadbuildroot-619146d145813b5040960b6008e68e63a8943832.tar.gz
buildroot-619146d145813b5040960b6008e68e63a8943832.tar.bz2
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. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/python-netifaces/python-netifaces.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/python-netifaces/python-netifaces.mk b/package/python-netifaces/python-netifaces.mk
index 906f83d..d742cbd 100644
--- a/package/python-netifaces/python-netifaces.mk
+++ b/package/python-netifaces/python-netifaces.mk
@@ -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))