Files
2025-11-25 22:14:46 -05:00

45 lines
1.4 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup python 1.0
PortGroup mpi 1.0
name py-slepc4py
version 3.18.2
revision 0
categories-append math
license BSD
universal_variant no
description SLEPc for Python - Python bindings for SLEPc
long_description {*}${description}
maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
checksums rmd160 6fa31f85e6b7f96dab63e92957891fc4154a6af5 \
sha256 402297fd8e583ed2618d2cba05e5cae8e9d0a2c3943812a1a138f431ef3479b3 \
size 1184302
homepage https://pypi.org/project/slepc4py
mpi.setup require
python.versions 310 311
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:slepc \
port:py${python.version}-petsc4py \
port:py${python.version}-numpy
}