git: f499304ccff5 - main - science/PETSc: fix packaging with python!=3.12

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Mon, 05 Oct 2026 20:47:11 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f499304ccff59ac2eebec94639dc739958abb7ca

commit f499304ccff59ac2eebec94639dc739958abb7ca
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2026-10-05 20:44:01 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2026-10-05 20:47:06 +0000

    science/PETSc: fix packaging with python!=3.12
    
    Eliminate oblivously writed %%PYTHON_SUFFIX%% for ex312.c filename
    
    ====> Checking for pkg-plist issues (check-plist)
    ===> Parsing plist
    ===> Checking for items in STAGEDIR missing from pkg-plist
    Error: Orphaned: %%DATADIR%%/examples/src/mat/tests/ex312.c
    ===> Checking for items in pkg-plist which are not in STAGEDIR
    Error: Missing: %%DATADIR%%/examples/src/mat/tests/ex%%PYTHON_SUFFIX%%.c
    ===> Error: Plist issues found.
    *** Error code 1
    
    Reported by:    bulk -t
    Approved by:    portmgr blanket
---
 science/PETSc/pkg-plist | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/science/PETSc/pkg-plist b/science/PETSc/pkg-plist
index 8ba9150dd829..9c4ab44f83f4 100644
--- a/science/PETSc/pkg-plist
+++ b/science/PETSc/pkg-plist
@@ -3988,7 +3988,7 @@ libdata/pkgconfig/petsc.pc
 %%DATADIR%%/examples/src/mat/tests/ex31.c
 %%DATADIR%%/examples/src/mat/tests/ex310.c
 %%DATADIR%%/examples/src/mat/tests/ex311.c
-%%DATADIR%%/examples/src/mat/tests/ex%%PYTHON_SUFFIX%%.c
+%%DATADIR%%/examples/src/mat/tests/ex312.c
 %%DATADIR%%/examples/src/mat/tests/ex313.c
 %%DATADIR%%/examples/src/mat/tests/ex314.c
 %%DATADIR%%/examples/src/mat/tests/ex315.c