[92399] trunk/dports/python
cal at macports.org
cal at macports.org
Fri Apr 27 12:12:23 PDT 2012
Revision: 92399
https://trac.macports.org/changeset/92399
Author: cal at macports.org
Date: 2012-04-27 12:12:22 -0700 (Fri, 27 Apr 2012)
Log Message:
-----------
new port(s): yorick-svipc, py{26,27,31,32}-svipc, see #34022
Added Paths:
-----------
trunk/dports/python/py-svipc/
trunk/dports/python/py-svipc/Portfile
Added: trunk/dports/python/py-svipc/Portfile
===================================================================
--- trunk/dports/python/py-svipc/Portfile (rev 0)
+++ trunk/dports/python/py-svipc/Portfile 2012-04-27 19:12:22 UTC (rev 92399)
@@ -0,0 +1,57 @@
+# -*- 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}
+license GPL-3
+platforms darwin
+maintainers users.sourceforge.net:paumard 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 31 32
+python.default_version 27
+
+if {$subport != ${name}} {
+ livecheck.type none
+}
+if {${subport} != ${name} && ${subport} != "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
+ 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}
+}
+
Property changes on: trunk/dports/python/py-svipc/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120427/0161a835/attachment.html>
More information about the macports-changes
mailing list