git: e765621222d1 - main - math/py-petsc4py: Update 3.10.0 -> 3.18.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Dec 2022 09:15:22 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=e765621222d1f3d4a76dd641eae0c0ddbdfb2836 commit e765621222d1f3d4a76dd641eae0c0ddbdfb2836 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-12-23 08:53:51 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-12-23 09:15:16 +0000 math/py-petsc4py: Update 3.10.0 -> 3.18.2 --- math/py-petsc4py/Makefile | 23 ++++++++++++++++------- math/py-petsc4py/distinfo | 6 +++--- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/math/py-petsc4py/Makefile b/math/py-petsc4py/Makefile index 72c5e310d9c7..8fde98fcbaa9 100644 --- a/math/py-petsc4py/Makefile +++ b/math/py-petsc4py/Makefile @@ -1,6 +1,5 @@ PORTNAME= petsc4py -DISTVERSION= 3.10.0 -PORTREVISION= 3 +DISTVERSION= 3.18.2 CATEGORIES= math python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,16 +11,26 @@ WWW= https://bitbucket.org/petsc/petsc4py LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.rst -BROKEN= fails to build - BUILD_DEPENDS= ${PYNUMPY} -LIB_DEPENDS= libmpich.so:net/mpich \ - libpetsc.so:science/PETSc +LIB_DEPENDS= libpetsc.so:science/PETSc RUN_DEPENDS= ${PYNUMPY} USES= python:3.6+ -USE_PYTHON= distutils autoplist +USE_PYTHON= distutils autoplist pytest # tests fail to run, see https://gitlab.com/petsc/petsc/-/issues/1301 MAKE_ENV= PETSC_DIR=${LOCALBASE} +OPTIONS_SINGLE= MPI +OPTIONS_SINGLE_MPI= MPICH OPENMPI +OPTIONS_DEFAULT= MPICH + +MPICH_USES= mpi:mpich + +OPENMPI_USES= mpi:openmpi + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/petsc4py/lib/PETSc${PYTHON_EXT_SUFFIX}.so + .include <bsd.port.mk> diff --git a/math/py-petsc4py/distinfo b/math/py-petsc4py/distinfo index c1673d59fb3d..8da1521c5d21 100644 --- a/math/py-petsc4py/distinfo +++ b/math/py-petsc4py/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1538518191 -SHA256 (petsc4py-3.10.0.tar.gz) = 45d4bc6be668052a68dff311c0177171b9ceced69a398252c487f6ad9b790332 -SIZE (petsc4py-3.10.0.tar.gz) = 1683666 +TIMESTAMP = 1671780682 +SHA256 (petsc4py-3.18.2.tar.gz) = 1b6761b02ec6ef9099e2a048e234065c1c4096ace01e52e353624b80417cceec +SIZE (petsc4py-3.18.2.tar.gz) = 2500259