Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 2026 03:06:00 +0000
From:      Charlie Li <vishwin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Cc:        Hiroo Ono <hiroo.ono+freebsd@gmail.com>
Subject:   git: fa5790e6beee - main - x11/arandr: fix deprecated import of distutils/setuptools API
Message-ID:  <6a1ba598.36427.2c9595b9@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by vishwin:

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

commit fa5790e6beee98d3a17d4132f320cdd4750b5ac3
Author:     Hiroo Ono <hiroo.ono+freebsd@gmail.com>
AuthorDate: 2026-04-10 11:16:00 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2026-05-31 03:02:21 +0000

    x11/arandr: fix deprecated import of distutils/setuptools API
    
    fixes build with newer setuptools
    
    PR: 294381
    Approved by: maintainer timeout
    With hat: python
---
 x11/arandr/Makefile             |  2 +-
 x11/arandr/files/patch-setup.py | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/x11/arandr/Makefile b/x11/arandr/Makefile
index 152c78379489..7c2bf978fbfe 100644
--- a/x11/arandr/Makefile
+++ b/x11/arandr/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	arandr
 PORTVERSION=	0.1.11
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	x11 deskutils
 
 MAINTAINER=	sbz@FreeBSD.org
diff --git a/x11/arandr/files/patch-setup.py b/x11/arandr/files/patch-setup.py
new file mode 100644
index 000000000000..eca381920fdc
--- /dev/null
+++ b/x11/arandr/files/patch-setup.py
@@ -0,0 +1,19 @@
+--- setup.py.orig	2026-04-10 07:38:01 UTC
++++ setup.py
+@@ -29,13 +29,15 @@ from distutils.log import info, warn
+ from distutils.core import setup
+ from distutils.dep_util import newer
+ from distutils.log import info, warn
+-from distutils.cmd import Command
++# from distutils.cmd import Command
+ from distutils.command.build import build as _build
+ from distutils.command.install_data import install_data as _install_data
+ from distutils.command.install import install as _install
+ from distutils.command.sdist import sdist as _sdist
+ from distutils.dir_util import remove_tree
+ from distutils.command.clean import clean as _clean
++
++from setuptools import Command
+ 
+ 
+ PO_DIR = 'data/po'


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1ba598.36427.2c9595b9>