categories-append devel multimedia
maintainers jmr openmaintainer
description a python wrapper around the SDL2 library
PySDL2 is a wrapper around the SDL2 library and as such similar to the \
discontinued PySDL project. In contrast to PySDL, it has no licensing \
restrictions, nor does it rely on C code, but uses ctypes instead.
homepage https://bitbucket.org/marcusva/py-sdl2
master_sites ${homepage}/downloads/
distname PySDL2-${version}
checksums rmd160 d35475b788b2cc8e9a5e6a2dd2f28d0c52466fa9 \
sha256 65a74697fde4a9da37e837108a5a390be45597706c9690c9ad72817ea67308f5
depends_lib-append port:libsdl2 \
reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/sdl2/dll.py
livecheck.url [lindex $master_sites 0]
livecheck.regex PySDL2-(\[0-9.\]+)${extract.suffix}