PortSystem 1.0 PortGroup python 1.0 PortGroup github 1.0 github.setup marcusva py-sdl2 0_9_6 rel_ name py-SDL2 version [string map {_ .} ${github.version}] categories-append devel multimedia license public-domain platforms darwin supported_archs noarch maintainers {jmr @jmroot} openmaintainer description a python wrapper around the SDL2 library long_description \ 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. checksums rmd160 875770a7d077736c6fedb1554a39ea7f04822db1 \ sha256 57a1e9ae229b21a22fd5cef96a97328bdcc4b16d1ca53ec805b1fab734ba523c python.versions 27 33 34 35 36 if {$subport ne $name} { depends_lib-append port:libsdl2 \ port:libsdl2_image \ port:libsdl2_mixer \ port:libsdl2_ttf patchfiles dll.py.patch post-patch { reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/sdl2/dll.py } livecheck.type none }