# -*- 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-rabbyt
version             0.8.3
license             MIT
maintainers         stromnov openmaintainer

description         A fast 2D sprite engine using OpenGL

long_description    Rabbyt is a sprite library for Python with game \
                    development in mind. It provides fast performance \
                    with an easy to use but flexable API.

platforms           darwin

homepage            http://matthewmarshall.org/projects/rabbyt/
master_sites        pypi:R/Rabbyt/
distname            Rabbyt-${version}
use_zip             yes

checksums           md5     bb603a5cb02f3a8bb2e674f60e62de2c \
                    sha1    decb2b398b90592b94a509520eb11645acb132b5 \
                    rmd160  c5affa8472ecde15f3c59860332f5dae9d09ac6a

python.versions     26

if {${name} ne ${subport}} {
    depends_build       port:py${python.version}-setuptools
    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       https://pypi.python.org/pypi/rabbyt/json
    livecheck.regex     "Rabbyt-(\\d+(?:\\.\\d+)*)"
}