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

Added Files:
Log Message:
moving epydoc to stable, with Kurt Schwehr's consent

--- NEW FILE: epydoc-py.info ---
Info2: <<

Package: epydoc-py%type_pkg[python]
Version: 3.0.1
Revision: 4

Conflicts: epydoc-py25-bin, epydoc-py24-bin
Replaces: epydoc-py25-bin, epydoc-py24-bin

Description: Python documentation system
DescDetail: <<
Look at sphinx for a more common python documentation system for 
python software.

Epydoc is a tool for generating API documentation for Python modules,
based on their docstrings. For an example of epydoc's output, see the
API documentation for epydoc itself (html, pdf). A lightweight markup
language called epytext can be used to format docstrings, and to add
information about specific fields, such as parameters and instance
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
Source: mirror:sourceforge:epydoc/epydoc-%v.tar.gz
Source-MD5: cdd6f6c76dd8bab5e653a343a0544294
Type: python (2.5 2.6 2.7)
Depends: python%type_pkg[python]
CompileScript: <<
 #!/bin/bash -ev
 %p/bin/python%type_raw[python] setup.py build
InstallScript: <<
 %p/bin/python%type_raw[python] setup.py install --root %d
 mv %i/bin/epydoc %i/bin/epydoc-py%type_pkg[python]
 mv %i/bin/epydocgui %i/bin/epydocgui-py%type_pkg[python]
 mv %i/bin/apirst2html.py %i/bin/apirst2html-py%type_pkg[python]
DocFiles: README.txt LICENSE.txt
License: OSI-Approved
Homepage: http://epydoc.sourceforge.net/
Maintainer: Kurt Schwehr <goat...@users.sourceforge.net>

PostInstScript: <<
  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-py%type_pkg[python]   %type_pkg[python]"
  echo "update-alternatives --install %p/bin/apirst2html.py apirst2html.py 
%p/bin/apirst2html-py%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-py%type_pkg[python]   %type_pkg[python]
  update-alternatives --install %p/bin/apirst2html.py apirst2html.py 
%p/bin/apirst2html-py%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"
  echo "are symlinks automatically updated by the update-alternatives utility."
  echo "If you install multiple flavours of the featureserver package, the 
  echo "will point to the higher flavour by default."
# Why does this leave symbolic links in %p/bin ???
# Should this be calling remove-all instead of remove?
PreRmScript: <<
  if [ $1 != "upgrade" ]; then
    echo "Calling update-alternatives --remove"
    echo update-alternatives --remove epydoc         
    update-alternatives --remove epydoc         

    echo update-alternatives --remove epydocgui      
    update-alternatives --remove epydocgui      

    echo update-alternatives --remove apirst2html.py 
    update-alternatives --remove apirst2html.py 

# Info2

All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
Fink-commits mailing list

Reply via email to