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

Modified Files:
        libplist-py.info libplist.info 
Log Message:
liblist: fix python bindings.

Index: libplist.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/libplist.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- libplist.info       14 Jan 2012 22:22:36 -0000      1.2
+++ libplist.info       3 Jul 2012 22:28:45 -0000       1.3
@@ -1,6 +1,6 @@
 Package: libplist
 Version: 1.8
-Revision: 2
+Revision: 3
 Description: Library for handling apple .plist files
 License: GPL/LGPL
 
@@ -35,7 +35,7 @@
 #!/bin/sh -ev
   mkdir build
   cd build
-  cmake .. -DCMAKE_INSTALL_PREFIX=%p -DENABLE_SWIG=OFF
+  cmake .. -DCMAKE_INSTALL_PREFIX=%p -DENABLE_SWIG=OFF -DENABLE_CYTHON=OFF
   make
 <<
 

Index: libplist-py.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/libplist-py.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- libplist-py.info    10 Apr 2012 16:01:52 -0000      1.3
+++ libplist-py.info    3 Jul 2012 22:28:45 -0000       1.4
@@ -2,7 +2,7 @@
 Package: libplist-py%type_pkg[python]
 Type: python (2.6 2.7)
 Version: 1.8
-Revision: 2
+Revision: 3
 Description: Python bindings for libplist
 License: GPL/LGPL
 
@@ -13,6 +13,7 @@
   pkgconfig (>= 0.9.0-1), 
   libxml2 (>= 2.6.32-1),
   swig,
+  cython-py%type_pkg[python],
   libplist (>= %v-1)
 <<
 Depends: python%type_pkg[python], libplist1-shlibs (>= %v-1)
@@ -40,6 +41,7 @@
   cd build
   cmake ..                                                     \
     -DCMAKE_INSTALL_PREFIX=%p                                  \
+    -DCYTHON_EXECUTABLE=%p/bin/cython-py%type_pkg[python]      \
     -DPYTHON_EXECUTABLE=%p/bin/python%type_raw[python]         \
     -DPYTHON_INCLUDE_DIR=%p/include/python%type_raw[python]    \
     
-DPYTHON_LIBRARY=%p/lib/python%type_raw[python]/config/libpython%type_raw[python].dylib
@@ -53,7 +55,8 @@
   mkdir -p -m 755 %i/$SWIGLIB_PATH
   cp swig/plist.i %i/$SWIGLIB_PATH
   cd build
-  make -C swig install DESTDIR=%d
+  make -C swig   install DESTDIR=%d
+  make -C cython install DESTDIR=%d
 <<
 DocFiles: AUTHORS COPYING* README
 
@@ -71,6 +74,7 @@
 DescPort: <<
 The automatic detection of python does not work. It easily returns a mix of 
 system and fink paths of the python executable, the include and the lib folder.
+Cython is only available for python2.6 and 2.7
 <<
 
 Homepage: http://www.libimobiledevice.org/


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to