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

Cygport Reference Manual

### TABLE OF CONTENTS

- sugar.cygclass

- CATEGORY (sugar)
- SUMMARY (sugar)
- DESCRIPTION (sugar)
- HOMEPAGE (sugar)
- SUGAR_TYPE
- sugar_install
- src_compile (sugar)
- src_install (sugar)

## sugar.cygclass

[ Top ] [ Cygclasses ] [ Cygclasses ]

DESCRIPTION

The Sugar Learning Platform provides an alternative to traditional office/desktop software with a focus on education and ease of use, particularly for children. Sugar Activities (applications) are written in Python to ease both authorship and deployment.

This cygclass provides functions for building Sugar Activities packages.

INHERITS

python.cygclass

REQUIRES

python, sugar-toolkit

## CATEGORY (sugar)

[ Top ] [ sugar.cygclass ] [ Overloads ]

DEFINITION

    CATEGORY="Sugar"

## SUMMARY (sugar)

[ Top ] [ sugar.cygclass ] [ Overloads ]

DEFINITION

    SUMMARY="Sugar Desktop ${ORIG_PN} activity"

## DESCRIPTION (sugar)

[ Top ] [ sugar.cygclass ] [ Overloads ]

DEFINITION

    DESCRIPTION="The award-winning Sugar Learning Platform promotes
    collaborative learning through Sugar Activities that encourage critical
    thinking, the heart of a quality education. Designed from the ground up
    especially for children, Sugar offers an alternative to traditional
    office-desktop software."

## HOMEPAGE (sugar)

[ Top ] [ sugar.cygclass ] [ Overloads ]

DEFINITION

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

## SUGAR_TYPE

[ Top ] [ sugar.cygclass ] [ Variables ]

DESCRIPTION

Activities shipped by Sugar Labs are classified into one of two Taxonomies: "Fructose" (maintained by the Sugar developers) and "Honey" (maintained by third parties). If SUGAR_TYPE is defined as one of these two, then SRC_URI will be defined automatically.

NOTE

This variable is case-insensitive.

## sugar_install

[ Top ] [ sugar.cygclass ] [ Install Functions ]

SYNOPSIS

      sugar_install

DESCRIPTION

Installs the Sugar activity into $D and byte-compiles all Python code.

## src_compile (sugar)

[ Top ] [ sugar.cygclass ] [ Overloads ]

DESCRIPTION

There is nothing to build, so this is empty.

## src_install (sugar)

[ Top ] [ sugar.cygclass ] [ Overloads ]

DEFINITION

    src_install() {
            cd ${S}
            sugar_install
    }