# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 PortGroup github 1.0 set uname svipc github.setup mdcb yp-${uname} 0.14 name py-${uname} revision 1 license GPL-3 platforms darwin maintainers thibaut openmaintainer description System V InterProcess Communication (Yorick/Python plug-ins) long_description This plug-in for python and yorick gives access to the \ System V IPC framework. This allows sharing memory and \ passing messages and semaphores between several distinct \ processes. homepage https://github.com/mdcb/yp-svipc checksums rmd160 5faa9b3943e638bdae084018316ddfe50d1c9aa4 \ sha256 9f879670ecb4df71f1851cd3ac0250fdd2317baeb25e200f924037cc120dd1e3 python.versions 26 27 34 if {${name} ne ${subport}} { livecheck.type none } if {${name} ne ${subport} && ${subport} ne "yorick-svipc"} { depends_lib-append port:py${python.version}-numpy pre-configure { reinplace "s/define_macros=\\\[/define_macros=\\\[('SVIPC_HACKS', True),/" ${worksrcpath}/setup.py } } subport yorick-svipc { # this _will_ cause a lint warning categories science yorick depends_build depends_lib path:bin/yorick:yorick depends_run use_configure yes universal_variant no configure.dir ${worksrcpath}/yorick configure.cmd ${prefix}/bin/yorick configure.pre_args {} configure.args -batch make.i build.dir ${worksrcpath}/yorick build.cmd make build.target {} pre-destroot {} destroot.cmd make destroot.destdir DESTDIR=${destroot} }