Hi,
I figured out, that the zope-interfaces twisted module do not install
correctly. Attached a patch to copy the needed files to install
correctly.
Alex
Index: packages/lang/twisted/Makefile
===================================================================
--- packages/lang/twisted/Makefile	(revision 20168)
+++ packages/lang/twisted/Makefile	(working copy)
@@ -218,11 +218,17 @@
 	$(call Build/Compile/PyMod,., \
 		install --prefix="$(PKG_INSTALL_DIR)/usr" --no-compile, \
 		TWISTED_SUBPROJECTS="$(TWISTED_SUBPROJECTS)" \
+		PYTHONPATH="$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)" \
 	)
 	$(call Build/Compile/PyMod,zope.interface-$(ZOPE_IF_VER), \
 		install --prefix="$(PKG_INSTALL_DIR)/usr" --no-compile, \
+		PYTHONPATH="$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)" \
 	)
 	$(SED) 's,#!$(PYTHON),#!/usr/bin/python,' $(PKG_INSTALL_DIR)/usr/bin/*
+
+	$(CP) -a \
+		$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/zope.interface-*.egg/zope \
+		$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/
 endef
 
 $(eval $(call PyPackage,twisted))

Attachment: signature.asc
Description: PGP signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to