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

Last change on this file was 150286, checked in by petr@…, 13 months ago

py-mpi4py: retire py26 and py33 subports

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 150286 2016-07-14 12:22:38Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           bitbucket 1.0
7PortGroup           mpi 1.0
8
9bitbucket.setup     mpi4py mpi4py 2.0.0
10name                py-mpi4py
11license             BSD
12platforms           darwin
13universal_variant   no
14description         MPI for Python - Python bindings for MPI
15long_description    \
16    MPI for Python \(mpi4py\) provides bindings of the Message Passing \
17    Interface \(MPI\) standard for the Python programming language, allowing \
18    any Python program to exploit multiple processors. This package is \
19    constructed on top of the MPI-1/MPI-2 specification and provides an \
20    object oriented interface which closely follows MPI-2 C++ bindings. \
21    It supports point-to-point \(sends, receives\) and collective \
22    \(broadcasts, scatters, gathers\) communications of any picklable Python \
23    object as well as optimized communications of Python object exposing the \
24    single-segment buffer interface \(NumPy arrays, builtin \
25    bytes/string/array objects).
26
27maintainers         sean openmaintainer
28
29checksums           rmd160  1f345e24ffeb1c07e7260ecf291c28c1d1e936ba \
30                    sha256  3b6c3f04e8e01086118b2442ff9148df27de93111c0a374317a6bb13ec409b1e
31
32mpi.setup           require
33
34python.versions     27 34 35
35
36if {${name} ne ${subport}} {
37    depends_build-append \
38                    port:py${python.version}-setuptools \
39                    port:py${python.version}-cython
40
41    pre-build {
42        build.args-append  "--mpicc=${mpi.cc}"
43    }
44
45    variant interpreter description {builds an mpi enabled python interpreter} {
46        patchfiles-append   patch-conf-mpidistutils.py.diff
47    }
48
49    livecheck.type  none
50}
Note: See TracBrowser for help on using the repository browser.