TABLE OF CONTENTS


pygtk.cygclass

[ Top ] [ Cygclasses ] [ Cygclasses ]

SYNOPSIS

  inherit pygtk

DESCRIPTION

The PyGTK project provides a series of bindings for the GTK+ and GNOME libraries. APIs are defined in .defs files, from which C binding code is generated with PYGTK_CODEGEN. These bindings allow full-featured GNOME programs to be written in the Python language.

This package provides definitions and functions for building PyGTK bindings.

NOTE

These bindings are limited to both GTK+ 2 and Python 2, both of which are in long-term maintenance mode. For support of GTK+ 3 and/or Python 3, GObject Introspection (python*-gi plus girepository-* packages) must be used instead. Therefore, these bindings are considered obsolete.

INHERITS

gnome.org.cygclass (unless mate.cygclass has been inherit()ed), python.cygclass


PYGTK_INCLUDEDIR

[ Top ] [ pygtk.cygclass ] [ Definitions ]

DESCRIPTION

Directory containing PyGTK C headers.


PYGTK_LIBDIR

[ Top ] [ pygtk.cygclass ] [ Definitions ]

DESCRIPTION

Installation path for PyGTK bindings.


PYGTK_DATADIR

[ Top ] [ pygtk.cygclass ] [ Definitions ]

DESCRIPTION

Installation path for *.defs and *-arg-types.py API files.


PYGTK_CODEGEN

[ Top ] [ pygtk.cygclass ] [ Definitions ]

DESCRIPTION

Absolute path to the PyGTK C code generator.


CATEGORY (pygtk)

[ Top ] [ pygtk.cygclass ] [ Overloads ]

DEFINITION

CATEGORY="Python"

SUMMARY (pygtk)

[ Top ] [ pygtk.cygclass ] [ Overloads ]

DEFINITION

SUMMARY="Python ${pygtk_mod} bindings"

HOMEPAGE (pygtk)

[ Top ] [ pygtk.cygclass ] [ Overloads ]

DEFINITION

HOMEPAGE="http://www.pygtk.org/"

pygtk_compile

[ Top ] [ pygtk.cygclass ] [ Compile Functions ]

SYNOPSIS

  pygtk_compile [OPTIONS]

DESCRIPTION

Configures the package with cygconf, passing any arguments it receives, then compiles the package with cygmake.


src_compile (pygtk)

[ Top ] [ pygtk.cygclass ] [ Overloads ]

DEFINITION

src_compile() {
        cd ${S}
        if [ -d m4 ]
        then
                ACLOCAL_FLAGS='-I m4'
        fi
        if inherited gnome2
        then
                gnome2_autoreconf
        else
                cygautoreconf
        fi
        cd ${B}
        pygtk_compile
}