[Bug 294676] devel/py-pathtools: fix build on Python 3.12+

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Apr 2026 23:36:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294676

            Bug ID: 294676
           Summary: devel/py-pathtools: fix build on Python 3.12+
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: nivit@FreeBSD.org
          Reporter: milios@ccsys.com
          Assignee: nivit@FreeBSD.org
             Flags: maintainer-feedback?(nivit@FreeBSD.org)

Created attachment 269958
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=269958&action=edit
files/patch-setup.py

build complains about lack of "imp" module.

pulled function from here:

https://github.com/gorakhargosh/pathtools/issues/13

seems sufficient for our purposes.

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