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

Added Files:
        git-cola.info git-cola.patch 
Log Message:
Move to 10.7.


--- NEW FILE: git-cola.patch ---
diff -ru cola-1.4.3.orig/bin/git-cola cola-1.4.3/bin/git-cola
--- cola-1.4.3.orig/bin/git-cola        2010-12-27 22:03:25.000000000 -0500
+++ cola-1.4.3/bin/git-cola     2011-01-23 19:42:46.000000000 -0500
@@ -26,6 +26,8 @@
     # Try to detect where it is run from and set prefix and the search path.
     # It is assumed that the user installed Cola using the --prefix= option
     prefix = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
+    if os.path.islink(__file__):
+        prefix = os.path.dirname(os.path.dirname(os.readlink(__file__)))
 
     # Look for modules in the source or install trees
     thirdparty = os.path.join(prefix, 'thirdparty')
@@ -36,6 +38,7 @@
     else:
         # Install tree: prefer cola
         paths_to_try = [os.path.join(prefix, 'share', 'git-cola', 'lib')]
+        paths_to_try = paths_to_try + [os.path.join(prefix, 'lib', '@PYTHON@', 
'site-packages')]
         sys.path = paths_to_try + sys.path
 
     # Setup the path so that git finds us when we run 'git cola'

--- NEW FILE: git-cola.info ---
Info2: <<
Package: git-cola%type_pkg[qt]
Version: 1.4.3
Revision: 1
Type: python (2.7), qt (-mac -x11)
Description: Highly caffinated GUI for git
DescUsage: <<
        To open a git repository in %n, cd to the working directory
        and type 'git cola%type_pkg[qt]'.
<<
Maintainer: Daniel Johnson <[email protected]>
License: GPL2
Homepage: http://cola.tuxfamily.org/

Source: http://cola.tuxfamily.org/releases/cola-%v.tar.gz
Source-MD5: 64d9c3e45a746c8775a0f33f65b91155

Depends: <<
        git (>= 1.7.3.2-1),
        jsonpickle-py%type_pkg[python],
        ( %type_pkg[qt] = -mac ) pyqt4-mac-py%type_pkg[python] (>= 4.8.2-1),
        ( %type_pkg[qt] = -x11 ) pyqt4-py%type_pkg[python] (>= 4.8.2-1),
        python%type_pkg[python]
<<
BuildDepends: <<
        fink (>= 0.24.12),
        gettext-tools,
        sip-py%type_pkg[python] (>= 4.12-1)
<<

PatchFile: %{ni}.patch
PatchFile-MD5: 7904fb833832ac4e32f12c62a3747f46
PatchScript: sed 's|@PYTHON@|python%type_raw[python]|g ' <%{PatchFile} | patch 
-p1

CompileScript: 
PYTHONPATH=%p/lib/qt4%type_pkg[qt]/lib/python%type_raw[python]/site-packages 
make prefix=%p/lib/qt4%type_pkg[qt] PYTHON=python%type_raw[python] standalone=1

#InfoTest: <<
#       TestDepends: nose-py%type_pkg[python]
#       TestScript: 
PYTHONPATH=%p/lib/qt4%type_pkg[qt]/lib/python%type_raw[python]/site-packages 
make prefix=%p/lib/qt4%type_pkg[qt] PYTHON=python%type_raw[python] standalone=1 
test || exit 2
#<<

InstallScript: <<
        
PYTHONPATH=%p/lib/qt4%type_pkg[qt]/lib/python%type_raw[python]/site-packages 
make prefix=%p/lib/qt4%type_pkg[qt] PYTHON=python%type_raw[python] standalone=1 
DESTDIR=%d install
        mkdir -p %i/lib/git-core
        ln -s %p/lib/qt4%type_pkg[qt]/bin/git-cola 
%i/lib/git-core/git-cola%type_pkg[qt]
<<      

DocFiles: COPYRIGHT LICENSE README
<<


------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to