dev-python/dbus-fast: Bump to 3.1.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-11-17 05:57:31 +01:00
parent 03491d0b95
commit 0f64582c02
2 changed files with 63 additions and 0 deletions

View File

@@ -2,3 +2,4 @@ DIST dbus-fast-2.44.5.gh.tar.gz 205159 BLAKE2B 4c5529ec4255106a37df493864dca3d5b
DIST dbus-fast-2.45.0.gh.tar.gz 203980 BLAKE2B daef3011faa73508ae8903126d6fce5e53283fa0aca1df863fff131f48ef5165a8862e00981794f3c7b76d36f094d2db55c93ef56f4f09f1a584883b1a61b984 SHA512 29dea51de795d73fc6a996c1abd5fb117687e72085d9532b4a87c293db32046d8ae5dac0fd11570c97f2e511dce4472f4b4bddfcd88851506014dfc061ad1c1d
DIST dbus-fast-2.45.1.gh.tar.gz 204077 BLAKE2B 61bc1c3b5dd757939653d09381b936111cdb89e8a347cd71d301283ecaf25e783dc2c6399d2a2304adba1e46a217859b75cd35a91e229eb7d3491a84c66ec50b SHA512 74f71ba47f51eccc51f411dbcbd150935949f56f1131ce03d72366f876a8114e4ec10986cf4acab5fef3804d9abb52546ed606d91cde63ad828589d265fb0a90
DIST dbus-fast-2.46.4.gh.tar.gz 204626 BLAKE2B c3bc5df698089d40a72d280264fa887a7901d85b2f9f513e3157afdd3e090ba0d54ec81406287bfb3e7381af792a348c6487b8f3c0cbdcb8d0c0afe4be13b613 SHA512 bb79ce15d37f30edad6b19fc6f98c8f6dde2b975b8fa203a5d43d675f98d34f3ca216ad62cf139518c1810626b25426fa8b123e5c4d145124c5380af7953f953
DIST dbus-fast-3.1.2.gh.tar.gz 205618 BLAKE2B 83d92eaa8477849238d5fd814a73c223a43adfcfa8752ac287c8f6cc9116e804a3300fc25ebb9cccbbb51c0db3c1495328822666ff1fdf993ac87758b7be21ad SHA512 d897a2612dfedb07005f212e48c6eaf7271b58145d690a0fbe66d1a39085739ccf626c6155aebae9f96ce9e9136fc496d6d3ba806813acc1f3023b1e4e924897

View File

@@ -0,0 +1,62 @@
# 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
# 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
}