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

Last change on this file was 150513, checked in by sean@…, 16 months ago

py-petsc4py: update to 3.7.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 150513 2016-07-20 20:38:13Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           bitbucket 1.0
7PortGroup           mpi 1.0
8
9bitbucket.setup     petsc petsc4py 3.7.0
10name                py-petsc4py
11categories-append   math
12license             BSD
13platforms           darwin
14universal_variant   no
15description         PETSc for Python - Python bindings for PETSc
16long_description    PETSc is a suite of data structures and routines for the scalable \
17                    (parallel) solution of scientific applications modeled by partial \
18                    differential equations. It employs the MPI standard for all \
19                    message-passing communication.
20
21maintainers         sean openmaintainer
22
23checksums           rmd160  e112564d569bcb89cd53ae3b9a26092b4896571c \
24                    sha256  fb78b50c596c3ba6a097751dd9a379e7acaf57edd36311a3afa94caa4312ee08
25
26mpi.setup           require
27
28python.versions     27 34 35
29
30build.env-append    PETSC_DIR=${prefix}/lib/petsc
31destroot.env-append PETSC_DIR=${prefix}/lib/petsc
32
33if {${subport} ne ${name}} {
34    mpi.enforce_variant \
35                    py${python.version}-mpi4py
36
37    depends_build-append \
38                    port:py${python.version}-setuptools \
39                    port:py${python.version}-cython
40
41    depends_lib-append \
42                    port:petsc \
43                    port:py${python.version}-mpi4py \
44                    port:py${python.version}-numpy
45
46    livecheck.type  none
47}
Note: See TracBrowser for help on using the repository browser.