diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-11-09 04:15:29 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-11-09 04:36:45 +0100 |
| commit | ebceef5a32da1816f1abfdca3834f8be29b752b8 (patch) | |
| tree | c9f28a3a786412e3e3cf911ede010a7cfb7e75d0 /dev-python | |
| parent | c31a4c7536e4c725fe89a3e52e77e08af21619ca (diff) | |
| download | gentoo-ebceef5a32da1816f1abfdca3834f8be29b752b8.tar.gz gentoo-ebceef5a32da1816f1abfdca3834f8be29b752b8.tar.bz2 gentoo-ebceef5a32da1816f1abfdca3834f8be29b752b8.zip | |
dev-python/dbus-fast: Bump to 2.45.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/dbus-fast/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/dbus-fast/dbus-fast-2.45.1.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/dbus-fast/Manifest b/dev-python/dbus-fast/Manifest index 7a65ce241f8a..ae388549f269 100644 --- a/dev-python/dbus-fast/Manifest +++ b/dev-python/dbus-fast/Manifest @@ -1,2 +1,3 @@ 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 +DIST dbus-fast-2.45.1.gh.tar.gz 204077 BLAKE2B 61bc1c3b5dd757939653d09381b936111cdb89e8a347cd71d301283ecaf25e783dc2c6399d2a2304adba1e46a217859b75cd35a91e229eb7d3491a84c66ec50b SHA512 74f71ba47f51eccc51f411dbcbd150935949f56f1131ce03d72366f876a8114e4ec10986cf4acab5fef3804d9abb52546ed606d91cde63ad828589d265fb0a90 diff --git a/dev-python/dbus-fast/dbus-fast-2.45.1.ebuild b/dev-python/dbus-fast/dbus-fast-2.45.1.ebuild new file mode 100644 index 000000000000..1ab3c5d3ca76 --- /dev/null +++ b/dev-python/dbus-fast/dbus-fast-2.45.1.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 +} |
