From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8520515813A for ; Tue, 07 Jan 2025 18:30:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A45A2E077D; Tue, 07 Jan 2025 18:30:26 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8ED7CE077D for ; Tue, 07 Jan 2025 18:30:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C77193417BD for ; Tue, 07 Jan 2025 18:30:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2FD7C1187 for ; Tue, 07 Jan 2025 18:30:24 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1736274620.665f510aabeec0dc5a58f566e170b4c5ff3dd5e6.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dbus-fast/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/dbus-fast/Manifest dev-python/dbus-fast/dbus-fast-2.24.4.ebuild dev-python/dbus-fast/metadata.xml X-VCS-Directories: dev-python/dbus-fast/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 665f510aabeec0dc5a58f566e170b4c5ff3dd5e6 X-VCS-Branch: master Date: Tue, 07 Jan 2025 18:30:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cb436308-f251-4eab-80aa-17a9476e28c2 X-Archives-Hash: 16110163337e24b20af80fe116afdb73 commit: 665f510aabeec0dc5a58f566e170b4c5ff3dd5e6 Author: Michał Górny gentoo org> AuthorDate: Tue Jan 7 15:16:25 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jan 7 18:30:20 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=665f510a dev-python/dbus-fast: New package, v2.24.4 New fork of dev-python/dbus-next, needed for x11-wm/qtile bump. Signed-off-by: Michał Górny gentoo.org> dev-python/dbus-fast/Manifest | 1 + dev-python/dbus-fast/dbus-fast-2.24.4.ebuild | 60 ++++++++++++++++++++++++++++ dev-python/dbus-fast/metadata.xml | 11 +++++ 3 files changed, 72 insertions(+) diff --git a/dev-python/dbus-fast/Manifest b/dev-python/dbus-fast/Manifest new file mode 100644 index 000000000000..1763e4914707 --- /dev/null +++ b/dev-python/dbus-fast/Manifest @@ -0,0 +1 @@ +DIST dbus-fast-2.24.4.gh.tar.gz 178320 BLAKE2B 790935c94b8c5984993bbbc7741cca1ab6c232e8a58266030318c774dcbdd77b3712fbb5ab3b3c6197f86eb8c0be0d8626e9dfcabf50a1a485be8d80334721fe SHA512 e08a1b8c028cf33f7055621b502ffdffb1d9c79875b9f9d05afca401cdc583ae97bb029706002ad0e94e2ce8ccf3a992fe9cc9c023e87f64d04bb581b2e9f263 diff --git a/dev-python/dbus-fast/dbus-fast-2.24.4.ebuild b/dev-python/dbus-fast/dbus-fast-2.24.4.ebuild new file mode 100644 index 000000000000..bf290b3322cf --- /dev/null +++ b/dev-python/dbus-fast/dbus-fast-2.24.4.ebuild @@ -0,0 +1,60 @@ +# 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_{10..13} ) + +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" + +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.42.2[${PYTHON_USEDEP}] + >=dev-python/pytest-asyncio-0.19[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] + ) +" + +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 -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest -o addopts= -p asyncio || die +} diff --git a/dev-python/dbus-fast/metadata.xml b/dev-python/dbus-fast/metadata.xml new file mode 100644 index 000000000000..584f534455fa --- /dev/null +++ b/dev-python/dbus-fast/metadata.xml @@ -0,0 +1,11 @@ + + + + + python@gentoo.org + + + bluetooth-devices/dbus-fast + dbus-fast + +