Package: pygtk2-py23 Version: 2.0.0 Revision: 24 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/ ^--See also http://bugzilla.gnome.org/show_bug.cgi?id=132058 Thanks to Clef and graphics/pil for help debugging *Script. 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, x11-dev, gtk+2-dev, glib2-dev (>= 2.2.3-1), atk1 (>= 1.4.0-1), pango1-xft2-dev (>= 1.2.5-1), libpng3, libjpeg, libtiff, pkgconfig (>= 0.15.0-2), gettext-dev, gettext-bin, gettext-tools, libiconv-dev, gtk-doc (>= 1.1-1), x11-dev Depends: x11, python23, python23-shlibs, numeric-py23, glib2-shlibs, pango1-shlibs, atk1-shlibs, gtk+2-shlibs, libglade2-shlibs, gtkglarea2-shlibs (>= 1.99.0-1), libxml2-shlibs #Depends: gtkglarea2-shlibs (>= 2.0.0-1) Conflicts: pygtk2 Replaces: pygtk2 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.3|' `find examples -name '*.py'` #<< SetMACOSX_DEPLOYMENT_TARGET: 10.3 ConfigureParams: --mandir='${prefix}/share/man' CompileScript: << PYTHON=%p/bin/python2.3 ./configure %c (export CPPFLAGS=""; %p/bin/python2.3 setup.py build) << InstallScript: << %p/bin/python2.3 setup.py install --prefix=%i make install prefix=%i << DocFiles: AUTHORS COPYING ChangeLog MAPPING NEWS README THREADS TODO SplitOff: << Package: %N-dev Description: Tools for compiling against pygtk2-py23 Depends: python23, %N (= %v-%r) Conflicts: pygtk2-py22-dev Replaces: pygtk2-py22-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 <<