/home/Yaakov/src/cygport/tests/cygport-0.20.2-1.noarch/src/cygport-0.20.2/cygclass/pygtk.cygclass

Cygport Reference Manual

### TABLE OF CONTENTS

- pygtk.cygclass

- PYGTK_INCLUDEDIR
- PYGTK_LIBDIR
- PYGTK_DATADIR
- PYGTK_CODEGEN
- CATEGORY (pygtk)
- SUMMARY (pygtk)
- HOMEPAGE (pygtk)
- pygtk_compile
- src_compile (pygtk)

## 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, and are among one of the most commonly used GNOME language bindings.

This package provides definitions and functions for building PyGTK bindings.

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
    }