git: f505f12c86de - main - devel/py-dbus: devel/py-dbus: unbreak with python 3.13+, fix plist
Date: Mon, 05 Oct 2026 14:03:17 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f505f12c86ded7a47f5b2f0aa9ded6c6e171d922
commit f505f12c86ded7a47f5b2f0aa9ded6c6e171d922
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2026-10-05 13:54:47 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2026-10-05 13:54:47 +0000
devel/py-dbus: devel/py-dbus: unbreak with python 3.13+, fix plist
Backport upstream commit to fix build with Python 3.13+
Fix plist, this unbreak packaging with free-treaded versions of Python
Limit minimal allowed Python version to 3.12
Revieved by: arrowd (desktop)
---
devel/py-dbus/Makefile | 6 +++++-
devel/py-dbus/distinfo | 4 +++-
devel/py-dbus/pkg-plist | 4 ++--
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/devel/py-dbus/Makefile b/devel/py-dbus/Makefile
index 663df785de4b..5295fdfd35a2 100644
--- a/devel/py-dbus/Makefile
+++ b/devel/py-dbus/Makefile
@@ -1,10 +1,14 @@
PORTNAME= dbus
DISTVERSION= 1.4.0
+PORTREVISION= 1
CATEGORIES= devel gnome python
MASTER_SITES= https://dbus.freedesktop.org/releases/dbus-python/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= dbus-python-${DISTVERSION}
+PATCH_SITES+= https://gitlab.freedesktop.org/dbus/dbus-python/-/commit/
+PATCHFILES+= 9b862b9fa6953aedc608813bc722f19f536d4fb5.patch:-p1
+
MAINTAINER= desktop@FreeBSD.org
COMMENT= Python bindings for the D-BUS messaging system
WWW= https://gitlab.freedesktop.org/dbus/dbus-python
@@ -14,7 +18,7 @@ LICENSE= MIT
LIB_DEPENDS= libdbus-1.so:devel/dbus
TEST_DEPENDS= bash:shells/bash
-USES= gnome meson pkgconfig python shebangfix tar:xz
+USES= gnome meson pkgconfig python:3.12+ shebangfix tar:xz
USE_GNOME= glib20 pygobject3
USE_PYTHON= flavors
SHEBANG_FILES= test/run-test.sh \
diff --git a/devel/py-dbus/distinfo b/devel/py-dbus/distinfo
index 8e631c882a23..eada0e4bb613 100644
--- a/devel/py-dbus/distinfo
+++ b/devel/py-dbus/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1766488062
+TIMESTAMP = 1790261861
SHA256 (dbus-python-1.4.0.tar.xz) = c36b28f10ffcc8f1f798aca973bcc132f91f33eb9b6b8904381b4077766043d5
SIZE (dbus-python-1.4.0.tar.xz) = 168268
+SHA256 (9b862b9fa6953aedc608813bc722f19f536d4fb5.patch) = ec44d04dc1c009359793e8fcdf3237f845d867c1cca355a2d9c601a53fba9471
+SIZE (9b862b9fa6953aedc608813bc722f19f536d4fb5.patch) = 4632
diff --git a/devel/py-dbus/pkg-plist b/devel/py-dbus/pkg-plist
index 940c95f5c635..bbe97a59c29f 100644
--- a/devel/py-dbus/pkg-plist
+++ b/devel/py-dbus/pkg-plist
@@ -1,6 +1,6 @@
include/dbus-1.0/dbus/dbus-python.h
-%%PYTHON_SITELIBDIR%%/_dbus_bindings%%PYTHON_TAG%%.so
-%%PYTHON_SITELIBDIR%%/_dbus_glib_bindings%%PYTHON_TAG%%.so
+%%PYTHON_SITELIBDIR%%/_dbus_bindings%%PYTHON_SOABI%%.so
+%%PYTHON_SITELIBDIR%%/_dbus_glib_bindings%%PYTHON_SOABI%%.so
%%PYTHON_SITELIBDIR%%/dbus/__init__.py
%%PYTHON_SITELIBDIR%%/dbus/__pycache__/__init__%%PYTHON_TAG%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/dbus/__pycache__/__init__%%PYTHON_TAG%%.pyc