# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                py-kiwi
version             1.9.29

set real_name       kiwi
set branch          [join [lrange [split ${version} .] 0 1] .]

categories-append   devel gnome
platforms           darwin
supported_archs     noarch
license             LGPL-2.1+
maintainers         nomaintainer

description         Framework for Python applications with GUIs.
long_description    \
    Kiwi is a framework and a set of enhanced PyGTK widgets designed to \
    make building programs with graphical interfaces both easy to write \
    and easy to maintain. Kiwi is pure Python and should work cross-platform, \
    but is developed on Python 2.4, Linux ix86.


homepage            http://www.async.com.br/projects/kiwi
master_sites        gnome:sources/${real_name}/${branch}/
distname            ${real_name}-${version}

use_xz              yes

checksums           rmd160  59e0659aaa535e962613d489934f9a1f89c9cc59 \
                    sha256  32e43540150c03fda8ad55d22a389cf25356fc5216f6ee3febc4a3df9862ecad

python.versions     27

if {${name} ne ${subport}} {

    depends_lib-append  \
        port:py${python.version}-gobject \
        port:py${python.version}-pygtk \
        port:py${python.version}-numeric

    depends_build-append    \
        port:pkgconfig

    #python.link_binaries_suffix

    livecheck.type  none
} else {
    livecheck.type  gnome-with-unstable
    livecheck.name  kiwi
}
