[Bug 294381] x11/arandr: enable build with setuptools 8.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 10 Apr 2026 11:16:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294381

            Bug ID: 294381
           Summary: x11/arandr: enable build with setuptools 8.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://github.com/pypa/setuptools/blob/v81.0.0/docs/d
                    eprecated/distutils-legacy.rst
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sbz@FreeBSD.org
          Reporter: hiroo.ono+freebsd@gmail.com
          Assignee: sbz@FreeBSD.org
             Flags: maintainer-feedback?(sbz@FreeBSD.org)

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

This patch is related to the effort of updating devel/py-setuptools from 63.1
to 81.0 (cf. bug 270358).

x11/arandr fails to build with setuptools 8.1, because it imports deprecated
distutils.cmd.Command instead of setuptools.Command.
This patch changes the above point and enable to build with both setuptools
63.1 and 81.0.

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