commit:     5d28ea2c17f5ae31a6841808f8609a0ad5a9df87
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  5 02:52:05 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct  5 02:52:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d28ea2c

dev-python/dbus-fast: Bump to 2.44.5

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/dbus-fast/Manifest                |  1 +
 dev-python/dbus-fast/dbus-fast-2.44.5.ebuild | 61 ++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/dev-python/dbus-fast/Manifest b/dev-python/dbus-fast/Manifest
index 753cc98b9e32..53413e5c24b3 100644
--- a/dev-python/dbus-fast/Manifest
+++ b/dev-python/dbus-fast/Manifest
@@ -1 +1,2 @@
 DIST dbus-fast-2.44.3.gh.tar.gz 203381 BLAKE2B 
ce98728ab1182ffebba71be077e9714df4712b77e0440eb43e7728601c0c20d6bb78338b4798438afe98a15da6ced26ee3d3743121b6340336ea0bac0e1eba23
 SHA512 
955231acef70154973ec1968c9bde95be726caa6d218b8a9857e8e837261088fb209dbdede0ed7e6e416c842ee886012ee9437c5166f53103d2400b23cd05f43
+DIST dbus-fast-2.44.5.gh.tar.gz 205159 BLAKE2B 
4c5529ec4255106a37df493864dca3d5be20c76ebfe019382ee3b1e1bf7248121ab4100102655530464df64eb5d04551fdf396e993782b390f7b84a62889a6a4
 SHA512 
5d458687db282a0974d994a262234c12287ae3b93fc6e060a302046289943f542ca3953c0cc6ab158a413159e6f3764e616d1b7d1deebaeee9897790cbd13dc5

diff --git a/dev-python/dbus-fast/dbus-fast-2.44.5.ebuild 
b/dev-python/dbus-fast/dbus-fast-2.44.5.ebuild
new file mode 100644
index 000000000000..1ab3c5d3ca76
--- /dev/null
+++ b/dev-python/dbus-fast/dbus-fast-2.44.5.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=poetry
+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
+}

Reply via email to