mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-python/dbus-fast: Bump to 4.0.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST dbus-fast-3.1.2.gh.tar.gz 205618 BLAKE2B 83d92eaa8477849238d5fd814a73c223a43adfcfa8752ac287c8f6cc9116e804a3300fc25ebb9cccbbb51c0db3c1495328822666ff1fdf993ac87758b7be21ad SHA512 d897a2612dfedb07005f212e48c6eaf7271b58145d690a0fbe66d1a39085739ccf626c6155aebae9f96ce9e9136fc496d6d3ba806813acc1f3023b1e4e924897
|
||||
DIST dbus-fast-4.0.0.gh.tar.gz 208875 BLAKE2B 8382f28e46e0600af414329d017606a5d4d47ad6d2cc146ec95e3276bdac869a92b1727e0bc4ab4068b74b71549efd01174de183d5417f2790282b51947d10b7 SHA512 768b054f8475658e7bab3d88c573f916e38f81c2f17c7f39b46adac592377b5d5238f653068b2a594e587bd4d2f2295dd797df08901c9ed30ca33027f5761088
|
||||
DIST dbus-fast-4.0.3.gh.tar.gz 208955 BLAKE2B 5ab575387468940da13c526ddf1d36ea2802745d50e0828a0632ab6dcd600f28d3598734bfdfc158e8e2286a58ea22c37998c562d8bcb095d4a44522618dbe08 SHA512 d117ce93c991f8a4e46581800fcce7b6863d8ed2a170ebfbff07dc00a936a4d2a4e46c1dd9dab879f234fef4392f9cfddf631ac82cd76748235205c634bf9d22
|
||||
DIST dbus-fast-4.0.4.gh.tar.gz 209703 BLAKE2B b59bded537f19d90edcda03a3469e430a2fe4dfe2b9bea4a8ab0db825a7a419fc56410e2c38267f88aae1d9e1810e87875f56f70c29f497e29dff9d347cea44a SHA512 622e4030a97b6684b3d0e0848fd2d6e5029d3082ab009dd1a2802bb8dce1afb37722aeb9b2626f0c22f3f7c888571b5ccf1f39d24e0f3bf06f4490012bee0136
|
||||
|
||||
62
dev-python/dbus-fast/dbus-fast-4.0.4.ebuild
Normal file
62
dev-python/dbus-fast/dbus-fast-4.0.4.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