# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 116959 2014-02-11 10:52:59Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python 1.0
PortGroup           github 1.0

github.setup        kivy kivy 1.8.0

name                py-kivy
revision            0
categories-append   devel
platforms           darwin
license             MIT

python.versions     26 27

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/

checksums           rmd160  2911969f2e9d0853941eba3a7e6d07c601cade2f \
                    sha256  0043c5d921ec444ba0d2f3a00a1a97e607dc2b4708db951c9eace40645cbfb60

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

    depends_run-append  port:py${python.version}-game

    patchfiles          patch-setup.py.diff

    livecheck.type      none
}
