Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv22169
Modified Files: mercurial-py.info Log Message: Update from tracker http://sourceforge.net/tracker/index.php?func=detail&aid=1817130&group_id=17203&atid=414256 Index: mercurial-py.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel/mercurial-py.info,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- mercurial-py.info 16 Jun 2007 22:30:53 -0000 1.7 +++ mercurial-py.info 20 Dec 2007 02:25:08 -0000 1.8 @@ -1,14 +1,12 @@ Info2: << Package: mercurial-py%type_pkg[python] -Version: 0.9.3 +Distribution: (%type_pkg[python] = 23) 10.3 +Version: 0.9.5 Revision: 1 -Distribution: (%type_pkg[python] = 23) 10.3, (%type_pkg[python] = 23) 10.4 -Type: python(2.3 2.4 2.5) +Type: python (2.3 2.4 2.5) Depends: python%type_pkg[python] -Conflicts: mercurial-py22, mercurial-py23, mercurial-py24, mercurial-py25 -Replaces: mercurial-py22, mercurial-py23, mercurial-py24, mercurial-py25 Source: http://www.selenic.com/mercurial/release/mercurial-%v.tar.gz -Source-MD5: 5e39fed853e5669cbac32b77a67bb6dd +Source-MD5: a9dd54bcb87ca332315ce83293816e37 PatchScript: << perl -i -pe 'print "#include <inttypes.h>\n" if /stdlib/' mercurial/mpatch.c perl -i -pe 's|^(#!/usr/bin/env) wish|\1 /usr/bin/wish|' contrib/hgk @@ -20,25 +18,73 @@ << InstallScript: << python%type_raw[python] setup.py install --prefix %p --root %d -cp contrib/hgk %i/bin + +cp contrib/hgk %i/bin/ +cd %i/bin; for filename in *; do mv -v $filename $filename-py%type_pkg[python]; done; + mkdir -p %i/etc/mercurial -cp hgrc %i/etc/mercurial +cp -v hgrc %i/etc/mercurial/hgrc-py%type_pkg[python] + mkdir -p %i/share/man/man1 -cp doc/*.1 %i/share/man/man1 +#cp doc/*.1 %i/share/man/man1 +cd %b/doc; for filename in *.1; do cp -v $filename %i/share/man/man1/`echo $filename | sed s/.1/-py%type_pkg[python].1/`; done; + mkdir -p %i/share/man/man5 -cp doc/*.5 %i/share/man/man5 +#cp doc/*.5 %i/share/man/man5 +cd %b/doc; for filename in *.5; do cp $filename %i/share/man/man5/`echo $filename | sed s/.5/-py%type_pkg[python].5/`; done; + mkdir -p %i/share/emacs/site-lisp -cp contrib/mercurial.el contrib/mq.el %i/share/emacs/site-lisp +cp contrib/mercurial.el %i/share/emacs/site-lisp/mercurial-py%type_pkg[python].el +cp contrib/mq.el %i/share/emacs/site-lisp/mq-py%type_pkg[python].el + mkdir -p %i/etc/bash_completion.d -cp contrib/bash_completion %i/etc/bash_completion.d/hg +cp contrib/bash_completion %i/etc/bash_completion.d/hg-py%type_pkg[python] + mkdir -p %i/share/doc/%n/contrib cp -r contrib/churn.py contrib/convert-repo contrib/hg-ssh \ contrib/tcsh_completion contrib/zsh_completion contrib/vim \ %i/share/doc/%n/contrib << + +PostInstScript: << + update-alternatives --install %p/bin/hg hg %p/bin/hg-py%type_pkg[python] %type_pkg[python] + update-alternatives --install %p/bin/hgk hgk %p/bin/hgk-py%type_pkg[python] %type_pkg[python] + update-alternatives --install %p/bin/hgmerge hgmerge %p/bin/hgmerge-py%type_pkg[python] %type_pkg[python] + + update-alternatives --install %p/etc/bash_completion.d/hg hg_completion %p/etc/bash_completion.d/hg-py%type_pkg[python] %type_pkg[python] + update-alternatives --install %p/etc/mercurial/hgrc hgrc %p/etc/mercurial/hgrc-py%type_pkg[python] %type_pkg[python] + + update-alternatives --install %p/share/emacs/site-lisp/mercurial.el mercurial.el %p/share/emacs/site-lisp/mercurial-py%type_pkg[python].el %type_pkg[python] + update-alternatives --install %p/share/emacs/site-lisp/mq.el mq.el %p/share/emacs/site-lisp/mq-py%type_pkg[python].el %type_pkg[python] + + update-alternatives --install %p/share/man/man1/hg.1 hg.1 %p/share/man/man1/hg-py%type_pkg[python].1 %type_pkg[python] + update-alternatives --install %p/share/man/man1/hgmerge.1 hgmerge.1 %p/share/man/man1/hgmerge-py%type_pkg[python].1 %type_pkg[python] + update-alternatives --install %p/share/man/man5/hgignore.5 hgignore.5 %p/share/man/man5/hgignore-py%type_pkg[python].5 %type_pkg[python] + update-alternatives --install %p/share/man/man5/hgrc.5 hgrc.5 %p/share/man/man5/hgrc-py%type_pkg[python].5 %type_pkg[python] +<< + +PreRmScript: << + if [ $1 != "upgrade" ]; then + update-alternatives --remove hg %p/bin/hg-py%type_pkg[python] + update-alternatives --remove hgk %p/bin/hgk-py%type_pkg[python] + update-alternatives --remove hgmerge %p/bin/hgmerge-py%type_pkg[python] + + update-alternatives --remove hg_completion %p/etc/bash_completion.d/hg-py%type_pkg[python] + update-alternatives --remove hgrc %p/etc/mercurial/hgrc-py%type_pkg[python] + + update-alternatives --remove mercurial.el %p/share/emacs/site-lisp/mercurial-py%type_pkg[python].el + update-alternatives --remove mq.el %p/share/emacs/site-lisp/mq-py%type_pkg[python].el + + update-alternatives --remove hg.1 %p/share/man/man1/hg-py%type_pkg[python].1 + update-alternatives --remove hgmerge.1 %p/share/man/man1/hgmerge-py%type_pkg[python].1 + update-alternatives --remove hgignore.5 %p/share/man/man5/hgignore-py%type_pkg[python].5 + update-alternatives --remove hgrc.5 %p/share/man/man5/hg-py%type_pkg[python].5 + fi +<< + DocFiles: README COPYING CONTRIBUTORS doc/*.txt -ConfFiles: %p/etc/mercurial/hgrc -Description: Lightweight distributed revision control system +ConfFiles: %p/etc/mercurial/hgrc-py%type_pkg[python] +Description: Lightweight distributed SCM DescDetail: << Mercurial is a fast, lightweight source control management system designed for efficient handling of very large @@ -59,5 +105,5 @@ << License: GPL Homepage: http://www.selenic.com/mercurial -Maintainer: Matthias Neeracher <[EMAIL PROTECTED]> -<< +Maintainer: Pepe Barbe <[EMAIL PROTECTED]> +<< \ No newline at end of file ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs