dev-python/dbus-fast: Bump to 2.45.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-11-08 19:04:04 +01:00
parent 3c9c39d94e
commit 2149805f95
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 62 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST dbus-fast-2.44.5.gh.tar.gz 205159 BLAKE2B 4c5529ec4255106a37df493864dca3d5be20c76ebfe019382ee3b1e1bf7248121ab4100102655530464df64eb5d04551fdf396e993782b390f7b84a62889a6a4 SHA512 5d458687db282a0974d994a262234c12287ae3b93fc6e060a302046289943f542ca3953c0cc6ab158a413159e6f3764e616d1b7d1deebaeee9897790cbd13dc5
DIST dbus-fast-2.45.0.gh.tar.gz 203980 BLAKE2B daef3011faa73508ae8903126d6fce5e53283fa0aca1df863fff131f48ef5165a8862e00981794f3c7b76d36f094d2db55c93ef56f4f09f1a584883b1a61b984 SHA512 29dea51de795d73fc6a996c1abd5fb117687e72085d9532b4a87c293db32046d8ae5dac0fd11570c97f2e511dce4472f4b4bddfcd88851506014dfc061ad1c1d

View File

@ -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
}