Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/devel
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv22695
Added Files:
mercurial-py.info
Log Message:
Move to stable.
--- NEW FILE: mercurial-py.info ---
Info2: <<
Package: mercurial-py%type_pkg[python]
Version: 1.6.4
Revision: 1
Distribution: (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5
Type: python (2.4 2.5 2.6 2.7)
Depends: python%type_pkg[python]
BuildDepends: gettext-tools, fink (>= 0.24.12)
Provides: mercurial
Source: http://www.selenic.com/mercurial/release/mercurial-%v.tar.gz
Source-MD5: 657dd6aff80aa9a3b187652a635544d0
CompileScript: <<
%p/bin/python%type_raw[python] setup.py build
<<
InstallScript: <<
# Bin
%p/bin/python%type_raw[python] setup.py install --root %d
cp contrib/hgk %i/bin/
cd %i/bin; for filename in *; do mv -v $filename $filename-py%type_pkg[python];
done;
# Docs
cd doc; make PREFIX=%i install
cd %i/share/man; for i in 1 5; do cd "man$i"; for filename in *; \
do cutname=`echo "$filename" | cut -d "." -f 1 -`; \
mv -v $filename $cutname-py%type_pkg[python].$i; done; cd ..; done;
mkdir -p %i/etc/mercurial
cat contrib/sample.hgrc contrib/mergetools.hgrc >
%i/etc/mercurial/hgrc-py%type_pkg[python]
rm -f contrib/sample.hgrc contrib/mergetools.hgrc
# Extras
mkdir -p %i/etc/bash_completion.d
mv contrib/bash_completion %i/etc/bash_completion.d/hg-py%type_pkg[python]
mkdir -p %i/share/emacs/site-lisp
mv contrib/mercurial.el
%i/share/emacs/site-lisp/mercurial-py%type_pkg[python].el
mv contrib/mq.el %i/share/emacs/site-lisp/mq-py%type_pkg[python].el
rm -Rf contrib/win32 contrib/macosx contrib/buildrpm
mkdir -p %i/share/doc/%n/contrib
cp -r contrib/* %i/share/doc/%n/contrib/
mkdir -p %i/share/doc/%n/hgext
cp -r hgext/* %i/share/doc/%n/hgext/
<<
# Mercurial can fail if LC_LANG isn't set correctly.
# Set HGENCODING to a known good value. User can always override.
RuntimeVars: HGENCODING: UTF-8
PostInstScript: <<
# Bin
for name in hg hgk; do update-alternatives --install %p/bin/$name $name
%p/bin/$name-py%type_pkg[python] %type_pkg[python]; done;
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]
for filename in hg.1 hgignore.5 hgrc.5; do name=`echo $filename | cut -d "." -f
1 -`; i=`echo $filename | cut -d "." -f 2 -`; \
update-alternatives --install %p/share/man/man$i/$name.$i $name.$i
%p/share/man/man$i/$name-py%type_pkg[python].$i %type_pkg[python]; done;
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
for name in hg hgk; do update-alternatives --remove $name
%p/bin/$name-py%type_pkg[python]; done;
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
for filename in hg.1 hgignore.5 hgrc.5; do name=`echo $filename | cut -d "."
-f 1 -`; i=`echo $filename | cut -d "." -f 2 -`; \
update-alternatives --remove $name.$i
%p/share/man/man$i/$name-py%type_pkg[python].$i; done;
fi
<<
InfoTest: <<
TestScript: <<
cd tests/ && %p/bin/python%type_raw[python] run-tests.py
<<
TestSuiteSize: large
<<
DocFiles: README COPYING CONTRIBUTORS
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
distributed projects. Features include:
* O(1) delta-compressed file storage and retrieval scheme
* Complete cross-indexing of file and changesets for
efficient exploration of project history
* Robust SHA1-based integrity checking and append-only
storage model
* Decentralized development model with arbitrary merging
between trees
* High-speed HTTP-based network merge protocol
* Easy-to-use command-line interface
* Integrated stand-alone web interface
* Small Python codebase
* GPL license
<<
DescPackaging: <<
Formerly maintained by Pepe Barbe <[email protected]>
Python-using packages that need this must Depend on
'mercurial-py%type_pkg[python]'
to ensure that the python versions match.
Packages that just need the 'hg' command line tool can Depend
on just 'mercurial' if they don't care about python version.
<<
License: GPL
Homepage: http://mercurial.selenic.com/
Maintainer: Daniel Johnson <[email protected]>
<<
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs