mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/dbus-fast: Bump to 4.2.5
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST dbus-fast-4.0.4.gh.tar.gz 209703 BLAKE2B b59bded537f19d90edcda03a3469e430a2fe4dfe2b9bea4a8ab0db825a7a419fc56410e2c38267f88aae1d9e1810e87875f56f70c29f497e29dff9d347cea44a SHA512 622e4030a97b6684b3d0e0848fd2d6e5029d3082ab009dd1a2802bb8dce1afb37722aeb9b2626f0c22f3f7c888571b5ccf1f39d24e0f3bf06f4490012bee0136
|
||||
DIST dbus-fast-4.1.0.gh.tar.gz 212685 BLAKE2B 2d2b275c049223657db7ddf910ed31b55c6f8014e77df2d8fb037a97dba77f0889a6fce05a2416c252fe003cf6151defb38ac086cab8cb86e0a5703463f87a83 SHA512 85e0492589181313ca4342c870613343b348e357c1e408ef387bc490cd2d11a4a97df3cf717321727b6e8c66fe97da4fb63f88ff4579d562aa2b9e343e647dbb
|
||||
DIST dbus-fast-4.2.5.gh.tar.gz 233193 BLAKE2B bd30c79ffb0165e21a895a00856d41ae46334af7651cc855afb9969f7895a39195bae64cce1e0e5c9fa7afd34e8e88df00f0e85d0e61658d50dcb8096346d565 SHA512 bc471394ab786f5640841e1779cbca49d9409b2b90f4fad1681c6523b2645f9e3427d6b4f543c64adad09e2d6be1ebf26f323dd4efe478b6501b1003f78e741d
|
||||
|
||||
62
dev-python/dbus-fast/dbus-fast-4.2.5.ebuild
Normal file
62
dev-python/dbus-fast/dbus-fast-4.2.5.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user