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

Modified Files:
        docutils.info 
Added Files:
        docutils-py.info 
Log Message:
Split docutils into -py23/-py24/-py25 variants, so that packages can use the
rST Python libraries.


--- NEW FILE: docutils-py.info ---
Info2: <<
Package: docutils-py%type_pkg[python]
Type: python (2.3 2.4 2.5)
Version: 0.4
Revision: 3
Source: mirror:sourceforge:docutils/docutils-%v.tar.gz
Source-MD5: 0fe7b42bb3c2aa3680fe30f9a5fbf712

Depends: python%type_pkg[python]

Conflicts: docutils (<= 0.4-2)
Replaces: docutils (<= 0.4-2)
Provides: docutils

CompileScript: <<
  /usr/bin/python setup.py build
<<

InstallScript: <<
#!/bin/sh -ev
%p/bin/python%type_raw[python] setup.py install --root %d

for i in *.txt ; do
  htmldoc=${i%%txt}html
  echo "Making $htmldoc"
  PYTHONPATH=.:extras tools/rst2html.py $i $htmldoc
done

cd docs
for i in `find . -name '*.txt'` ; do
  destdir="%i/share/doc/%n/html/"${i%%/*}
  htmldoc=${i%%txt}html
  echo "Making $htmldoc"
  PYTHONPATH=..:../extras ../tools/rst2html.py $i $htmldoc
  mkdir -p "$destdir"
  cp $htmldoc $destdir
done

cd %i/bin
for i in rst2*; do
  mv $i ${i%%.py}-%type_raw[python].py
done
<<

PostInstScript: <<
  for i in rst2html rst2latex rst2newlatex rst2pseudoxml rst2s5 rst2xml; do
    #                              link      name    path (source)              
     priority
    update-alternatives --install %p/bin/$i    $i    
%p/bin/$i-%type_raw[python].py %type_pkg[python] \
                        --slave   %p/bin/$i.py $i-py 
%p/bin/$i-%type_raw[python].py
  done
<<

PreRmScript: <<
  if [ $1 != "upgrade" ]; then
    for i in rst2html rst2latex rst2newlatex rst2pseudoxml rst2s5 rst2xml; do
      update-alternatives --remove-all $i
      update-alternatives --remove-all $i-py
    done
  fi
<<

DocFiles: README.html BUGS.html COPYING.html HISTORY.html FAQ.html THANKS.html

Description: Python-approved WYSIWYG text markup toolkit
DescDetail: <<
Docutils is an open-source text processing system for processing
plaintext documentation into useful formats, such as HTML or LaTeX. It
includes reStructuredText, the easy to read, easy to use,
what-you-see-is-what-you-get plaintext markup language.
<<

License: GPL
Homepage: http://docutils.sourceforge.net/
#Maintainer: Brendan Cully <[EMAIL PROTECTED]>
Maintainer: Charles Lepple <[EMAIL PROTECTED]>

# closes Info2:
<<

Index: docutils.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/text/docutils.info,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- docutils.info       14 Mar 2006 01:48:52 -0000      1.4
+++ docutils.info       16 Jan 2008 02:46:45 -0000      1.5
@@ -1,50 +1,20 @@
-Info2: <<
 Package: docutils
+Type: bundle
 Version: 0.4
-Revision: 2
-Source: mirror:sourceforge:%n/%n-%v.tar.gz
-Source-MD5: 0fe7b42bb3c2aa3680fe30f9a5fbf712
-PatchScript: <<
-#!/bin/sh -ev
-for script in tools/rst2*.py
-do
-  sed -i.bak -e 's,^from docutils,import sys\
-sys.path.append('\''%p/lib/%n'\'')\
-&,' $script
-done
-<<
-CompileScript: <<
-  /usr/bin/python setup.py build
-<<
-InstallScript: <<
-#!/bin/sh -ev
-/usr/bin/python setup.py install --prefix %p --root %d --install-lib %p/lib/%n 
--install-data %p/lib/%n
-for i in *.txt
-do
-  htmldoc=${i%%txt}html
-  echo "Making $htmldoc"
-  PYTHONPATH=.:extras tools/rst2html.py $i $htmldoc
-done
-cd docs
-for i in `find . -name '*.txt'`
-do
-  destdir="%i/share/doc/%n/html/"${i%%/*}
-  htmldoc=${i%%txt}html
-  echo "Making $htmldoc"
-  PYTHONPATH=..:../extras ../tools/rst2html.py $i $htmldoc
-  mkdir -p "$destdir"
-  cp $htmldoc $destdir
-done
-<<
-DocFiles: README.html BUGS.html COPYING.html HISTORY.html FAQ.html THANKS.html
+Revision: 3
+Depends: docutils-py25 | docutils-py24 | docutils-py23, fink-obsolete-packages
+
 Description: Python-approved WYSIWYG text markup toolkit
 DescDetail: <<
 Docutils is an open-source text processing system for processing
 plaintext documentation into useful formats, such as HTML or LaTeX. It
 includes reStructuredText, the easy to read, easy to use,
 what-you-see-is-what-you-get plaintext markup language.
+
+This placeholder package depends on the versioned package which holds the
+actual docutils code.
 <<
+
 License: GPL
 Homepage: http://docutils.sourceforge.net/
-Maintainer: Brendan Cully <[EMAIL PROTECTED]>
-<<
+Maintainer: Charles Lepple <[EMAIL PROTECTED]>


-------------------------------------------------------------------------
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