# -*- 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-kivy
version             1.10.0
revision            0
categories-append   devel
platforms           darwin
license             MIT

python.versions     26 27 35 36

maintainers         stromnov openmaintainer

description         Library for development of multi-touch enabled applications

long_description    Kivy is a Python library for development of multi-touch \
                    enabled media rich applications. The aim is to allow for \
                    quick and easy interaction design and rapid prototyping, \
                    while making your code reusable and deployable.

homepage            http://kivy.org/
master_sites        pypi:K/Kivy

distname            Kivy-${version}

checksums           rmd160  84d7dfada32d47f16068cd27605d81e183d1b014 \
                    sha256  28c180fd5e4538858f0d2b3dde53c123d3a898d3ac7fba512bf3b83d0dfc248d

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-cython

    depends_lib-append  port:libsdl2 \
                        port:libsdl2_image \
                        port:libsdl2_mixer \
                        port:libsdl2_ttf \
                        port:py${python.version}-docutils \
                        port:py${python.version}-pygments

    patchfiles          patch-setup.py.diff

    livecheck.type      none
} else {
    livecheck.name      Kivy
}