the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: tortoisehg-py%type_pkg[python]
Version: 2.0.5
Revision: 1
Type: python (2.5 2.6 2.7)
Source: http://bitbucket.org/tortoisehg/targz/downloads/tortoisehg-%v.tar.gz
Source-MD5: 89f745f481dc12346f229f6a9b8c4f70
Depends: <<
python%type_pkg[python],
mercurial-py%type_pkg[python],
pyqt4-mac-py%type_pkg[python],
sip-py%type_pkg[python],
qscintilla2-qt4-mac-py%type_pkg[python],
iniparse-py%type_pkg[python], pygments-py%type_pkg[python]
<<
BuildDepends: sphinx-py%type_pkg[python]
PatchScript: <<
#!/bin/sh -ev
sed -i.bak -e '/import sys/a\
sys.path.append("%p/lib/qt4-mac/lib/python%type_raw[python]/site-packages")' thg
sed -i.bak -e 's,pixmaps/tortoisehg,pixmaps/tortoisehg-py%type_pkg[python],' -e 's,/usr,%p,' -e 's/hg.mo/hg-py%type_pkg[python].mo/' setup.py
sed -i.bak -e "s,'tortoisehg','tortoisehg-py%type_pkg[python]'," tortoisehg/util/i18n.py
<<
CompileScript: <<
#!/bin/sh -ev
PYTHONPATH=%p/lib/qt4-mac/lib/python%type_raw[python]/site-packages PATH=%p/lib/qt4-mac/lib/python%type_raw[python]/bin:$PATH python%type_raw[python] setup.py build
make -C doc html
<<
InstallScript: <<
PYTHONPATH=%p/lib/qt4-mac/lib/python%type_raw[python]/site-packages PATH=%p/lib/qt4-mac/lib/python%type_raw[python]/bin:$PATH python%type_raw[python] setup.py install --prefix %p --root %d
rm -r %i/lib/nautilus
mv %i/bin/thg %i/bin/thg-py%type_pkg[python]
<<
PostInstScript: <<
update-alternatives --install %p/bin/thg thg %p/bin/thg-py%type_pkg[python] %type_pkg[python]
<<
PreRmScript: <<
if [ $1 != "upgrade" ]
then
update-alternatives --remove thg %p/bin/thg-py%type_pkg[python]
fi
<<
DocFiles: COPYING.txt doc/build/html
Description: Graphical interface to Mercurial
DescDetail: <<
TortoiseHg is a set of graphical tools and a shell extension for the
Mercurial distributed revision control system.
<<
License: GPL
Homepage: http://tortoisehg.org/
Maintainer: Brendan Cully
<<