1 | # -*- 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 |
---|
2 | # $Id: $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | PortGroup github 1.0 |
---|
7 | |
---|
8 | set uname svipc |
---|
9 | github.setup mdcb yp-${uname} 0.14 |
---|
10 | name py-${uname} |
---|
11 | license GPL-3 |
---|
12 | platforms darwin |
---|
13 | maintainers users.sourceforge.net:paumard openmaintainer |
---|
14 | description System V InterProcess Communication (Yorick/Python plug-ins) |
---|
15 | long_description This plug-in for python and yorick gives access to the \ |
---|
16 | System V IPC framework. This allows sharing memory and \ |
---|
17 | passing messages and semaphores between several distinct \ |
---|
18 | processes. |
---|
19 | homepage https://github.com/mdcb/yp-svipc |
---|
20 | |
---|
21 | checksums rmd160 5faa9b3943e638bdae084018316ddfe50d1c9aa4 \ |
---|
22 | sha256 9f879670ecb4df71f1851cd3ac0250fdd2317baeb25e200f924037cc120dd1e3 |
---|
23 | |
---|
24 | python.versions 24 25 26 27 31 32 |
---|
25 | python.default_version 27 |
---|
26 | |
---|
27 | if {${subport} != ${name} && ${subport} != "yorick-svipc"} { |
---|
28 | depends_lib-append port:py${python.version}-numpy |
---|
29 | pre-configure { |
---|
30 | reinplace "s/define_macros=\\\[/define_macros=\\\[('SVIPC_HACKS', True),/" ${worksrcpath}/setup.py |
---|
31 | } |
---|
32 | |
---|
33 | } |
---|
34 | |
---|
35 | subport yorick-svipc { |
---|
36 | categories science |
---|
37 | depends_build |
---|
38 | depends_lib path:bin/yorick:yorick |
---|
39 | depends_run |
---|
40 | use_configure yes |
---|
41 | universal_variant no |
---|
42 | configure.dir ${worksrcpath}/yorick |
---|
43 | configure.cmd ${prefix}/bin/yorick |
---|
44 | configure.pre_args {} |
---|
45 | configure.args -batch make.i |
---|
46 | build.dir ${worksrcpath}/yorick |
---|
47 | build.cmd make |
---|
48 | build.target {} |
---|
49 | pre-destroot {} |
---|
50 | destroot.cmd make |
---|
51 | destroot.destdir DESTDIR=${destroot} |
---|
52 | } |
---|
53 | |
---|