Skip to content

Commit

Permalink
science/PETSc: Update 3.18.5 → 3.19.0
Browse files Browse the repository at this point in the history
Also bump 2 ports.
Also math/py-petsc4py is broken for now.
  • Loading branch information
yurivict committed Apr 2, 2023
1 parent d250549 commit 007b601
Show file tree
Hide file tree
Showing 6 changed files with 282 additions and 20 deletions.
2 changes: 1 addition & 1 deletion math/petiga/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= petiga
DISTVERSION= g20221208
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= math python

MAINTAINER= yuri@FreeBSD.org
Expand Down
4 changes: 3 additions & 1 deletion math/py-petsc4py/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= yuri@FreeBSD.org
COMMENT= PETSc for Python
WWW= https://bitbucket.org/petsc/petsc4py
WWW= https://gitlab.com/petsc/petsc

LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst

BROKEN= the upstream failed to update petsc4py on PYPI, it also breaks with pythran-0.12.0, see bug#270507

BUILD_DEPENDS= ${PYNUMPY}
LIB_DEPENDS= libpetsc.so:science/PETSc
RUN_DEPENDS= ${PYNUMPY}
Expand Down
4 changes: 2 additions & 2 deletions science/PETSc/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= PETSc
DISTVERSION= 3.18.5
DISTVERSION= 3.19.0
CATEGORIES= science devel
MASTER_SITES= https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/
DISTNAME= ${PORTNAME:tl}-${DISTVERSION}
Expand Down Expand Up @@ -32,7 +32,7 @@ MAKEFILE= makefile
SHEBANG_FILES= configure lib/petsc/bin/*.py lib/petsc/bin/saws/SAWs.py lib/petsc/bin/saws/*.bash config/*.py \
lib/petsc/bin/petscnagfor share/petsc/chkerrconvert.py
USE_LDCONFIG= yes
TEST_TARGET= test
TEST_TARGET= test # 152 of 11396 tests (1.3%) fail due to missing files like /usr/local/share/petsc/datafiles/meshes/square_periodic.msh (tests expect the packe to be installed)
BINARY_ALIAS= python=${PYTHON_CMD}

LDFLAGS+= ${LOCALBASE}/lib/libmpi.so
Expand Down
6 changes: 3 additions & 3 deletions science/PETSc/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1677644259
SHA256 (petsc-3.18.5.tar.gz) = df73ae13a4c5758325a9d69350cac423742657d8a8fc5782504b0e469ce46499
SIZE (petsc-3.18.5.tar.gz) = 16322252
TIMESTAMP = 1680415152
SHA256 (petsc-3.19.0.tar.gz) = 8ced753e4d2fb6565662b2b1fbba75a426cbf8438203f82717ce270f0591322c
SIZE (petsc-3.19.0.tar.gz) = 16612219

0 comments on commit 007b601

Please sign in to comment.