commit: 4f7152934d1c3cc4ca5eaf52bb00e5be92f479b9
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 2 04:27:36 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb 2 04:27:36 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f715293
dev-python/dbus-fast: Bump to 4.0.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/dbus-fast/Manifest | 1 +
dev-python/dbus-fast/dbus-fast-4.0.0.ebuild | 62 +++++++++++++++++++++++++++++
2 files changed, 63 insertions(+)
diff --git a/dev-python/dbus-fast/Manifest b/dev-python/dbus-fast/Manifest
index 5e3b010c256e..cbc597464cbe 100644
--- a/dev-python/dbus-fast/Manifest
+++ b/dev-python/dbus-fast/Manifest
@@ -1 +1,2 @@
DIST dbus-fast-3.1.2.gh.tar.gz 205618 BLAKE2B
83d92eaa8477849238d5fd814a73c223a43adfcfa8752ac287c8f6cc9116e804a3300fc25ebb9cccbbb51c0db3c1495328822666ff1fdf993ac87758b7be21ad
SHA512
d897a2612dfedb07005f212e48c6eaf7271b58145d690a0fbe66d1a39085739ccf626c6155aebae9f96ce9e9136fc496d6d3ba806813acc1f3023b1e4e924897
+DIST dbus-fast-4.0.0.gh.tar.gz 208875 BLAKE2B
8382f28e46e0600af414329d017606a5d4d47ad6d2cc146ec95e3276bdac869a92b1727e0bc4ab4068b74b71549efd01174de183d5417f2790282b51947d10b7
SHA512
768b054f8475658e7bab3d88c573f916e38f81c2f17c7f39b46adac592377b5d5238f653068b2a594e587bd4d2f2295dd797df08901c9ed30ca33027f5761088
diff --git a/dev-python/dbus-fast/dbus-fast-4.0.0.ebuild
b/dev-python/dbus-fast/dbus-fast-4.0.0.ebuild
new file mode 100644
index 000000000000..22fb3789c27a
--- /dev/null
+++ b/dev-python/dbus-fast/dbus-fast-4.0.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=poetry
+# TODO: freethreading compatible
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="A faster version of dbus-next"
+HOMEPAGE="
+ https://github.com/bluetooth-devices/dbus-fast/
+ https://pypi.org/project/dbus-fast/
+"
+SRC_URI="
+ https://github.com/Bluetooth-Devices/dbus-fast/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+BDEPEND="
+ >=dev-python/cython-3[${PYTHON_USEDEP}]
+ >=dev-python/setuptools-65.4.1[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/pycairo-1.21.0[${PYTHON_USEDEP}]
+ >=dev-python/pygobject-3.50[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=( pytest-{asyncio,timeout} )
+distutils_enable_tests pytest
+
+export REQUIRE_CYTHON=1
+
+src_test() {
+ local dbus_params=(
+ $(dbus-daemon --session --print-address --fork --print-pid)
+ )
+ local -x DBUS_SESSION_BUS_ADDRESS=${dbus_params[0]}
+
+ virtx distutils-r1_src_test
+
+ kill "${dbus_params[1]}" || die
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # interface not found on this object:
org.freedesktop.DBus.Debug.Stats
+ tests/client/test_signals.py::test_signals
+ )
+ local EPYTEST_IGNORE=(
+ tests/benchmarks
+ )
+
+ nonfatal epytest -o addopts= || die
+}