[Bug 294431] math/py-petsc4py: make version 3.22.4_2 build with setuptools 81.0.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 12 Apr 2026 07:21:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294431

            Bug ID: 294431
           Summary: math/py-petsc4py: make version 3.22.4_2 build with
                    setuptools 81.0.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: hiroo.ono+freebsd@gmail.com
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@freebsd.org)

Created attachment 269652
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=269652&action=edit
setuptools 81.0.0 compatible patch

math/py-petsc4py 3.22.4_2 failed to build with devel/py-setuptools 81.0.0 (cf.
bug 270358).
Here is a little patch to make it compile.
Updating to the latest version also seem to solve this issue, but there is a
family of ports that need to be updated together, so I will not touch that.

With this patch, the port can be built both against setuptools 63.1.0 (current
version in ports) and 81.0.0. So it can be safely committed.

-- 
You are receiving this mail because:
You are the assignee for the bug.