math/py-slepc4py: New port: SLEPc for Python

This commit is contained in:
Yuri Victorovich 2022-12-23 01:14:45 -08:00
parent 8dfcd1f2a8
commit fdeb11a438
5 changed files with 37 additions and 1 deletions

1
MOVED
View File

@ -15703,7 +15703,6 @@ security/py-pyptlib||2020-12-29|Has expired: Uses deprecated version of python
japanese/py-zinnia||2020-12-29|Has expired: Uses deprecated version of python
www/py-pastescript||2020-12-29|Has expired: Uses deprecated version of python
databases/ldb14||2020-12-29|Has expired: Uses deprecated version of python
math/py-slepc4py||2020-12-29|Has expired: Depends on broken and expiring math/slepc
multimedia/py-kaa-base||2020-12-29|Has expired: Uses deprecated version of python
devel/py-ydbf||2020-12-29|Has expired: Uses deprecated version of python
devel/py-SymbolType||2020-12-29|Has expired: Uses deprecated version of python

View File

@ -1012,6 +1012,7 @@
SUBDIR += py-secp256k1
SUBDIR += py-seriate
SUBDIR += py-simhash
SUBDIR += py-slepc4py
SUBDIR += py-snuggs
SUBDIR += py-spectral
SUBDIR += py-spglm

31
math/py-slepc4py/Makefile Normal file
View File

@ -0,0 +1,31 @@
PORTNAME= slepc4py
DISTVERSION= 3.18.1
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= SLEPc for Python
WWW= https://bitbucket.org/slepc/slepc4py
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
PY_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}petsc4py>0:math/py-petsc4py@${PY_FLAVOR}
BUILD_DEPENDS= ${PY_DEPENDS}
RUN_DEPENDS= ${PY_DEPENDS}
LIB_DEPENDS= libmpich.so:net/mpich \
libpetsc.so:science/PETSc \
libslepc.so:math/slepc
RUN_DEPENDS= ${PYNUMPY}
USES= fortran python:3.6+
USE_PYTHON= distutils autoplist
MAKE_ENV= PETSC_DIR=${LOCALBASE} SLEPC_DIR=${LOCALBASE}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/slepc4py/lib/SLEPc${PYTHON_EXT_SUFFIX}.so
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1671779456
SHA256 (slepc4py-3.18.1.tar.gz) = 4c2bc0947d6a9cdb209e3174b7f54fe7b029220e2c90106f52844e8f8795f8f0
SIZE (slepc4py-3.18.1.tar.gz) = 1183611

View File

@ -0,0 +1,2 @@
Python bindings for SLEPc, the Scalable Library for Eigenvalue Problem
Computations.