mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/dbus-fast: Bump to 5.0.22
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -3,3 +3,4 @@ DIST dbus-fast-4.1.0.gh.tar.gz 212685 BLAKE2B 2d2b275c049223657db7ddf910ed31b55c
|
||||
DIST dbus-fast-4.2.8.gh.tar.gz 233457 BLAKE2B ab74853654a0f742372a9bfb8fa162296d8ba9bbb771b9ed4864938a937dde8fc9d4db3d7cc518a706b325e4d400938ee4773a2922c2d3311d19248cd62441fc SHA512 e4929b64b5dd2239ba8cf3b65b5fb536a032a99a6b78d24bef8eb53d261b9a596a2d9f8b397de748fad087eea2007a35ccc1c41efbd659f9e407fa86ff87788b
|
||||
DIST dbus-fast-4.3.0.gh.tar.gz 233863 BLAKE2B 1e708125ecfa2ce1c26fa3e99935e2fac358f97d8585d712defe2d3a4a4dd7f2c52f18945b7f1af8b619e8c654b264ec8b8873b8b42da3b9d7e36a059a5baba1 SHA512 da0c3ed9d58621c76458ec61aaeeb97c0e9e780989a47f7c0f8629a8d9b762b255ba75664efe6f4cc3776d30b52fce83bbcc9e7e543a1ece1e1ecfdea27f3214
|
||||
DIST dbus-fast-5.0.19.gh.tar.gz 262061 BLAKE2B df9dbb25e680373f11abf965d0da666c8861ec4b96f19aef647b00e10c3b8bd770ced7d29bfbfd2f06a4c0a9c21ab4e5ed0b0f959d84b6ea9bd61dec44cb8643 SHA512 c62ba564e390f35d3d17e616a745f51edd9b554794027211523447019353abf7497cfcec05a8d35e6003ce2e2813696c0ebe54c967654426f084c2a929202a0f
|
||||
DIST dbus-fast-5.0.22.gh.tar.gz 262681 BLAKE2B 10a4f0a9917e528109d79cee97620f4a4f78755db7d36c755d29b82f2ae47a93a9a5c1ded936cdbe0156df1675c2914f4642f6bbc4d2c22bca75e0da8590eac9 SHA512 de1dbeeb21d81d2819dee632a7617cd72a05f15cab8ff35de343c25d3ff3dd2ad794a99d842abf4da8b9432bf933df98999b545c81de9ebeed4288c0ca2dd1bb
|
||||
|
||||
63
dev-python/dbus-fast/dbus-fast-5.0.22.ebuild
Normal file
63
dev-python/dbus-fast/dbus-fast-5.0.22.ebuild
Normal file
@@ -0,0 +1,63 @@
|
||||
# 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_{12..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/blockbuster[${PYTHON_USEDEP}]
|
||||
>=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