Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] python-pyqt: Removed 'compileall' directive from INSTALL_TARGET_CMDS
@ 2016-08-23 10:56 Manuel Vögele
  2016-08-23 13:00 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Manuel Vögele @ 2016-08-23 10:56 UTC (permalink / raw)
  To: buildroot

Since all python modules are now byte-compiled globally this is no
longer necessary.

Signed-off-by: Manuel V?gele <develop@manuel-voegele.de>
---
 package/python-pyqt/python-pyqt.mk | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/package/python-pyqt/python-pyqt.mk b/package/python-pyqt/python-pyqt.mk
index fa298c4..50e8351 100644
--- a/package/python-pyqt/python-pyqt.mk
+++ b/package/python-pyqt/python-pyqt.mk
@@ -108,9 +108,6 @@ define PYTHON_PYQT_INSTALL_TARGET_CMDS
 	$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) install
 	touch $(TARGET_DIR)/usr/lib/$(PYTHON_PYQT_PYTHON_DIR)/site-packages/PyQt4/__init__.py
 	$(RM) -rf $(TARGET_DIR)/usr/lib/$(PYTHON_PYQT_PYTHON_DIR)/site-packages/PyQt4/uic/$(PYTHON_PYQT_RM_PORT_BASE)
-	PYTHONPATH="$(PYTHON_PATH)" \
-		$(HOST_DIR)/usr/bin/python -c "import compileall; \
-		compileall.compile_dir('$(TARGET_DIR)/usr/lib/$(PYTHON_PYQT_PYTHON_DIR)/site-packages/PyQt4')"
 endef
 
 $(eval $(generic-package))
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-23 13:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-23 10:56 [Buildroot] [PATCH 1/1] python-pyqt: Removed 'compileall' directive from INSTALL_TARGET_CMDS Manuel Vögele
2016-08-23 13:00 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox