source: trunk/dports/python/py-svipc/Portfile

Last change on this file was 130737, checked in by larryv@…, 3 years ago

py32-svipc: Replace with py34

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
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: Portfile 130737 2015-01-02 09:16:12Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           github 1.0
7
8set uname           svipc
9github.setup        mdcb yp-${uname} 0.14
10name                py-${uname}
11revision            1
12license             GPL-3
13platforms           darwin
14maintainers         thibaut openmaintainer
15description         System V InterProcess Communication (Yorick/Python plug-ins)
16long_description    This plug-in for python and yorick gives access to the \
17                    System V IPC framework. This allows sharing memory and \
18                    passing messages and semaphores between several distinct \
19                    processes.
20homepage            https://github.com/mdcb/yp-svipc
21
22checksums           rmd160  5faa9b3943e638bdae084018316ddfe50d1c9aa4 \
23                    sha256  9f879670ecb4df71f1851cd3ac0250fdd2317baeb25e200f924037cc120dd1e3
24
25python.versions     26 27 34
26
27if {${name} ne ${subport}} {
28    livecheck.type  none
29}
30if {${name} ne ${subport} && ${subport} ne "yorick-svipc"} {
31    depends_lib-append  port:py${python.version}-numpy
32    pre-configure {
33        reinplace "s/define_macros=\\\[/define_macros=\\\[('SVIPC_HACKS', True),/" ${worksrcpath}/setup.py
34    }
35
36}
37
38subport yorick-svipc {
39    # this _will_ cause a lint warning
40    categories          science yorick
41    depends_build
42    depends_lib         path:bin/yorick:yorick
43    depends_run
44    use_configure       yes
45    universal_variant   no
46    configure.dir       ${worksrcpath}/yorick
47    configure.cmd       ${prefix}/bin/yorick
48    configure.pre_args  {}
49    configure.args      -batch make.i
50    build.dir           ${worksrcpath}/yorick
51    build.cmd           make
52    build.target        {}
53    pre-destroot        {}
54    destroot.cmd        make
55    destroot.destdir    DESTDIR=${destroot}
56}
57
Note: See TracBrowser for help on using the repository browser.