Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/web
In directory vz-cvs-3.sog:/tmp/cvs-serv8132/stable/main/finkinfo/web

Modified Files:
        zope.info 
Log Message:
move compiling .py->.pyc from PostInst to InstallScript (better to keep those 
files trackable by dpkg, no sense recompiling them every time pkg is 
(re)installed)


Index: zope.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/web/zope.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- zope.info   21 Jan 2012 22:12:48 -0000      1.1
+++ zope.info   5 Feb 2012 19:24:42 -0000       1.2
@@ -1,6 +1,6 @@
 Package: zope
 Version: 2.6.3
-Revision: 1106
+Revision: 1107
 BuildDepends: fink (>= 0.24.12)
 Depends: python26, daemonic
 Source: http://www.zope.org/Products/Zope/%v/Zope-%v-src.tgz
@@ -14,7 +14,6 @@
 #
 CompileScript: <<
   %p/bin/python2.6 wo_pcgi.py
-  /usr/bin/find . -name '*.pyc' -delete
 <<
 #
 InstallScript: <<
@@ -45,6 +44,7 @@
   install -d -m 755 %i/share/man/man8
   /usr/bin/gzip *.8
   install -c -m 644 *.8.gz %i/share/man/man8
+  %p/bin/python2.6 %p/lib/python2.6/compileall.py -f -d %p/lib/zope %i/lib/zope
 <<
 #
 DocFiles: <<
@@ -83,7 +83,8 @@
 # shut down zope
 %p/sbin/zopectl stop
 
-/usr/bin/find %p/lib/zope -name '*.pyc' -delete
+#fink prebuilds these in .deb
+#/usr/bin/find %p/lib/zope -name '*.pyc' -delete
 
 # clean up
 if [ $1 != "upgrade" ]; then
@@ -97,8 +98,9 @@
 #   written 1998 by Gregor Hoffleit <fli...@debian.org>
 #   modified for fink by Kilian Koepsell <kil...@users.sourceforge.net>
 
-# byte-compile the python source files
-%p/bin/python2.6 %p/lib/python2.6/compileall.py %p/lib/zope
+#fink prebuilds these in .deb
+## byte-compile the python source files
+#%p/bin/python2.6 %p/lib/python2.6/compileall.py %p/lib/zope
 
 # correct permissions and make the Zope instance owned by the www user
 chown root:admin %p/var/lib/zope/var


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to