Package: pygtk2-py22 Version: 2.0.0 Revision: 1 Description: Python bindings for the GTK widget set DescDetail: << PyGTK provides an object oriented interface that is slightly higher level than the C one. It automatically does all the type casting and reference counting that you would have to do normally with the C API. << DescPort: << If you have both pygtk and pygtk2 are installed in the same python, read . On OS X, there is a problem with parts of pygtk2 pulling in pygtk(1): % examples/atk/atk-demo.py Traceback (most recent call last): File "examples/atk/atk-demo.py", line 4, in ? import atk ImportError: Failure linking new module: : dyld: python2.3 multiple definitions of symbol _g_allocator_free /sw/lib/libglib-1.2.0.dylib(gmem.lo) definition of _g_allocator_free /sw/lib/libglib-2.0.0.dylib(libglib-2.0.0.200.1.dylib-master.o) definition of _g_allocator_free % examples/simple.py dyld: python2.3 multiple definitions of symbol _g_get_current_time /sw/lib/libglib-2.0.0.dylib(libglib-2.0.0.200.1.dylib-master.o) definition of _g_get_current_time /sw/lib/libglib-1.2.0.dylib(gmain.lo) definition of _g_get_current_time Trace/BPT trap (core dumped) which is solved by #Patched examples/ to use the desired python interpretter. # #The widget demo examples/pygtk-demo works, but some of the other #examples in examples/* do not (for a variety of reasons). ^--no longer install examples/ The -py22 package is not well tested. Originally ported by Michel Alexandre Salim (up to pygtk2-1.99.15-1) << Homepage: http://www.daa.com.au/~james/pygtk/ License: LGPL Maintainer: Daniel Macks BuildDepends: pkgconfig, glib2, pango1, atk1, gtk+2, libglade2, gtkglarea2 (>= 1.99.0-1), libxml2, dlcompat-dev, x11-dev Depends: x11, python22 (>= 2.2.2-1), python22-shlibs (>= 2.2.2-1), numeric | numeric-atlas, glib2-shlibs, pango1-shlibs, atk1-shlibs, gtk+2-shlibs, libglade2-shlibs, gtkglarea2-shlibs (>= 1.99.0-1), libxml2-shlibs, dlcompat-shlibs Replaces: pygtk2 (<= 1.99.15-1) Source: mirror:gnome:sources/pygtk/2.0/pygtk-%v.tar.bz2 Source-MD5: 14db9cfffe31f6df0351bd5fec69f606 #Patch: %n.patch #PatchScript: << # perl -pi -e 's|#\!\s*/usr/bin/env\s+python.*|#\!%p/bin/python2.2|' `find examples -name '*.py'` #<< SetMACOSX_DEPLOYMENT_TARGET: 10.2 ConfigureParams: --mandir='${prefix}/share/man' CompileScript: << PYTHON=%p/bin/python2.2 ./configure %c make << InstallScript: << make install prefix=%i << DocFiles: AUTHORS COPYING ChangeLog MAPPING NEWS README THREADS TODO SplitOff: << Package: %N-dev Description: Tools for compiling against pygtk2-py22 Depends: python22, %N (= %v-%r) Conflicts: pygtk2-py23-dev Replaces: pygtk2-py23-dev Files: bin/pygtk-codegen-2.0 include/pygtk-2.0 lib/pkgconfig/pygtk-2.0.pc share/pygtk/2.0 DocFiles: AUTHORS COPYING ChangeLog MAPPING NEWS README THREADS TODO <<