Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv17791

Modified Files:
        epydoc-py.info 
Log Message:
update-alternatives now appears to work.  Had incorrectly used type_raw when it 
should have been type_pkg


Index: epydoc-py.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel/epydoc-py.info,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- epydoc-py.info      4 Feb 2008 15:07:50 -0000       1.8
+++ epydoc-py.info      14 Mar 2008 17:42:06 -0000      1.9
@@ -2,7 +2,7 @@
 
 Package: epydoc-py%type_pkg[python]
 Version: 3.0.1
-Revision: 2
+Revision: 3
 
 Conflicts: epydoc-py25-bin, epydoc-py24-bin
 Replaces: epydoc-py25-bin, epydoc-py24-bin
@@ -18,6 +18,25 @@
 variables. Epydoc also understands docstrings written in
 ReStructuredText, Javadoc, and plaintext.
 <<
+DescUsage: <<
+The quick trial:
+
+wget http://vislab-ccom.unh.edu/~schwehr/software/noaadata/template.py
+epydoc template.py
+open html/index.html
+
+The update-alternatives were messed up in previous versions of this
+package.  The symbolic links are probably wrong for the package if
+you upgraded recently to %n 3.0.1-3.  
+
+Here are the commands to correct the situation:
+
+fink remove %n
+sudo update-alternatives --remove-all epydoc
+sudo update-alternatives --remove-all epydocgui
+sudo update-alternatives --remove-all apirst2html
+fink install %n
+<<
 DescPort: <<
   Version 3.0a has some minor formatting bugs, but the epydoc
   generated documentation is (in my oppinion) way better than
@@ -43,9 +62,13 @@
 Maintainer: Kurt Schwehr <[EMAIL PROTECTED]>
 
 PostInstScript: <<
-  update-alternatives --install %p/bin/epydoc         epydoc         
%p/bin/epydoc-py%type_raw[python]   %type_pkg[python] 
-  update-alternatives --install %p/bin/epydocgui      epydocgui      
%p/bin/epydocgui%type_raw[python]   %type_pkg[python] 
-  update-alternatives --install %p/bin/apirst2html.py apirst2html.py 
%p/bin/apirst2html%type_raw[python] %type_pkg[python]
+  echo "update-alternatives --install %p/bin/epydoc         epydoc         
%p/bin/epydoc-py%type_pkg[python]   %type_pkg[python]"
+  echo "update-alternatives --install %p/bin/epydocgui      epydocgui      
%p/bin/epydocgui%type_pkg[python]   %type_pkg[python]"
+  echo "update-alternatives --install %p/bin/apirst2html.py apirst2html.py 
%p/bin/apirst2html%type_pkg[python] %type_pkg[python]"
+
+  update-alternatives --install %p/bin/epydoc         epydoc         
%p/bin/epydoc-py%type_pkg[python]   %type_pkg[python]
+  update-alternatives --install %p/bin/epydocgui      epydocgui      
%p/bin/epydocgui%type_pkg[python]   %type_pkg[python]
+  update-alternatives --install %p/bin/apirst2html.py apirst2html.py 
%p/bin/apirst2html%type_pkg[python] %type_pkg[python]
   echo ""
   echo "The scripts 'epydoc', 'epydocgui', and 'apirst2html.py' "
   echo "installed in %p/bin/ and %p/lib/cgi-bin"
@@ -58,9 +81,9 @@
 PreRmScript: <<
   if [ $1 != "upgrade" ]; then
     echo "Calling update-alternatives --remove"
-    update-alternatives --remove epydoc         
%p/bin/epydoc-py%type_raw[python]
-    update-alternatives --remove epydocgui      
%p/bin/epydoc-py%type_raw[python]
-    update-alternatives --remove apirst2html.py %p/bin/%type_raw[python]
+    update-alternatives --remove epydoc         
%p/bin/epydoc-py%type_pkg[python]
+    update-alternatives --remove epydocgui      
%p/bin/epydoc-py%type_pkg[python]
+    update-alternatives --remove apirst2html.py 
%p/bin/apirst2html%type_pkg[python]
   fi
 <<
 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to