Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv5267

Modified Files:
        ccpnmr-py.info ccpnmr-py.patch 
Log Message:
New revision from tracker 1619751

Index: ccpnmr-py.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/ccpnmr-py.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- ccpnmr-py.patch     15 Dec 2006 03:56:03 -0000      1.3
+++ ccpnmr-py.patch     22 Dec 2006 00:56:39 -0000      1.4
@@ -197,5 +197,19 @@
 +sudo @PREFIX@/bin/python2.X -O @PREFIX@/lib/python2.X/compileall.py 
ccpnmr/ccpnmr1.0
 +
 +echo "Your CcpNmr (analysis) updates are now activated!"
+diff -urN ccpnmr.orig/bin/ccpnmr-bytecompile ccpnmr/bin/ccpnmr-bytecompile
+--- ccpnmr.orig/bin/ccpnmr-bytecompile 1970-01-01 01:00:00.000000000 +0100
++++ ccpnmr/bin/ccpnmr-bytecompile      2006-12-20 14:51:06.000000000 +0000
+@@ -0,0 +1,10 @@
++#!/bin/sh
++
++cd @PREFIX@/lib/python2.X/site-packages/ccpnmr/ccpnmr1.0/
++sudo find . -name \*.pyo -delete
++sudo find . -name \*.pyc -delete
++
++cd @PREFIX@/lib/python2.X/site-packages
++sudo @PREFIX@/bin/python2.X -O @PREFIX@/sw_10.4/lib/python2.X/compileall.py 
ccpnmr/ccpnmr1.0
++
++echo "Your CcpNmr (analysis) installation python code is now byte-compiled!"
 
                 

Index: ccpnmr-py.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/ccpnmr-py.info,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- ccpnmr-py.info      15 Dec 2006 03:56:03 -0000      1.7
+++ ccpnmr-py.info      22 Dec 2006 00:56:39 -0000      1.8
@@ -1,7 +1,7 @@
 Info2: <<
 Package: ccpnmr-py%type_pkg[python]
 Version: 1.0.12
-Revision: 3
+Revision: 4
 
 Type: python (2.3 2.4 2.5)
 
@@ -44,14 +44,17 @@
 cp %b/bin/analysis %i/bin/analysis-py%type_pkg[python]
 cp %b/bin/formatConverter %i/bin/formatConverter-py%type_pkg[python]
 cp %b/bin/ccpnmr-postupdate %i/bin/ccpnmr-postupdate-py%type_pkg[python]
+cp %b/bin/ccpnmr-bytecompile %i/bin/ccpnmr-bytecompile-py%type_pkg[python]
 
 chmod 755 %i/bin/analysis-py%type_pkg[python]
 chmod 755 %i/bin/formatConverter-py%type_pkg[python]
 chmod 755 %i/bin/ccpnmr-postupdate-py%type_pkg[python]
+chmod 755 %i/bin/ccpnmr-bytecompile-py%type_pkg[python]
 
 ln -s %p/bin/analysis-py%type_pkg[python] %i/bin/analysis
 ln -s %p/bin/formatConverter-py%type_pkg[python] %i/bin/formatConverter
 ln -s %p/bin/ccpnmr-postupdate-py%type_pkg[python] %i/bin/ccpnmr-postupdate
+ln -s %p/bin/ccpnmr-bytecompile-py%type_pkg[python] %i/bin/ccpnmr-bytecompile
 
 mkdir -p %i/lib/python%type_raw[python]/site-packages/ccpnmr/ccpnmr1.0
 cp -r %b/ccpnmr1.0/c 
%i/lib/python%type_raw[python]/site-packages/ccpnmr/ccpnmr1.0/
@@ -75,7 +78,7 @@
     Depends: ccpnmr-py%type_pkg[python]
     Conflicts: ccpnmr-py23-bin, ccpnmr-py24-bin, ccpnmr-py25-bin
     Replaces: ccpnmr-py23-bin, ccpnmr-py24-bin, ccpnmr-py25-bin 
-    Files: bin/analysis bin/formatConverter bin/ccpnmr-postupdate
+    Files: bin/analysis bin/formatConverter bin/ccpnmr-postupdate 
bin/ccpnmr-bytecompile
     DocFiles: ccpnmr1.0/license/CCPN.license ccpnmr1.0/license/LGPL.license
 <<
 
@@ -125,6 +128,9 @@
 please run 'ccpnmr-postupdate' in a terminal (from the
 command line), to activate your
 updates!
+
+You may also be better advised to run 'ccpnmr-bytecompile'
+after every update.
 <<
 <<
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to