Title: [commits] (vajda) [15977] debug PyICU egg on windows now zip_safe
Revision
15977
Author
vajda
Date
2007-11-29 23:20:20 -0800 (Thu, 29 Nov 2007)

Log Message

debug PyICU egg on windows now zip_safe

Modified Paths

Added Paths

Diff

Modified: trunk/external/PyICU/Makefile (15976 => 15977)

--- trunk/external/PyICU/Makefile	2007-11-30 05:53:24 UTC (rev 15976)
+++ trunk/external/PyICU/Makefile	2007-11-30 07:20:20 UTC (rev 15977)
@@ -24,6 +24,9 @@
   PYICU_INCLUDES=`cygpath -am $(PREFIX)/include/icu` \
   PYICU_LFLAGS="/LIBPATH:"`cygpath -awp "$(PREFIX)/lib"`
 
+apply:
+	patch -Nup0 < patches-$(VERSION)-$(OS); echo ok
+
 else
 
 ifeq ($(ICU_BUILD),)
@@ -34,9 +37,11 @@
   PYICU_LFLAGS=-L$(PREFIX)/icu/lib
 endif
 
+apply:
+
 endif
 
-build: expand
+build: expand apply
 	cd $(SRC); \
 	$(ENV) $(PYTHON) setup.py build --build-base=$(BUILD) $(DIST_OPT) \
                                   install --force

Added: trunk/external/PyICU/patches-0.8-87-Cygwin (15976 => 15977)

--- trunk/external/PyICU/patches-0.8-87-Cygwin	2007-11-30 05:53:24 UTC (rev 15976)
+++ trunk/external/PyICU/patches-0.8-87-Cygwin	2007-11-30 07:20:20 UTC (rev 15977)
@@ -0,0 +1,9 @@
+--- PyICU-0.8-87/setup.py	2007-11-26 18:37:07.891649000 -0800
++++ PyICU-0.8-87-patched/setup.py	2007-11-29 23:08:35.768360000 -0800
+@@ -70,4 +70,5 @@
+                              libraries=_libraries,
+                              define_macros=[('PYICU_VER', '"%s"' %(VERSION))])
+                    ],
+-      py_modules=['PyICU'])
++      py_modules=['PyICU'],
++      zip_safe=False)




_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to