[150519] trunk/dports/python
sean at macports.org
sean at macports.org
Wed Jul 20 13:38:35 PDT 2016
Revision: 150519
https://trac.macports.org/changeset/150519
Author: sean at macports.org
Date: 2016-07-20 13:38:35 -0700 (Wed, 20 Jul 2016)
Log Message:
-----------
py-slepc4py: add new port of python bindings for slepc
Added Paths:
-----------
trunk/dports/python/py-slepc4py/
trunk/dports/python/py-slepc4py/Portfile
Added: trunk/dports/python/py-slepc4py/Portfile
===================================================================
--- trunk/dports/python/py-slepc4py/Portfile (rev 0)
+++ trunk/dports/python/py-slepc4py/Portfile 2016-07-20 20:38:35 UTC (rev 150519)
@@ -0,0 +1,44 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+PortGroup python 1.0
+PortGroup bitbucket 1.0
+PortGroup mpi 1.0
+
+bitbucket.setup slepc slepc4py 3.7.0
+name py-slepc4py
+categories-append math
+license BSD
+platforms darwin
+universal_variant no
+description SLEPc for Python - Python bindings for SLEPc
+long_description ${description}
+
+maintainers sean openmaintainer
+
+checksums rmd160 b7f15b1ee28c07c57aee21db988c5b74882f5f43 \
+ sha256 139f8bb325dad00a0e8dbe5b3e054050c82547936c1b6e7812fb1a3171c9ad0b
+
+mpi.setup require
+
+python.versions 27 34 35
+
+build.env-append PETSC_DIR=${prefix}/lib/petsc SLEPC_DIR=${prefix}/lib/slepc
+destroot.env-append PETSC_DIR=${prefix}/lib/petsc SLEPC_DIR=${prefix}/lib/slepc
+
+if {${subport} ne ${name}} {
+ mpi.enforce_variant \
+ py${python.version}-petsc4py
+
+ depends_build-append \
+ port:py${python.version}-setuptools \
+ port:py${python.version}-cython
+
+ depends_lib-append \
+ port:petsc \
+ port:py${python.version}-petsc4py \
+ port:py${python.version}-numpy
+
+ livecheck.type none
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160720/4ce29a3a/attachment.html>
More information about the macports-changes
mailing list