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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DFCB9158090 for ; Thu, 19 May 2022 01:09:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04895E090F; Thu, 19 May 2022 01:09:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 80A31E090F for ; Thu, 19 May 2022 01:09:33 +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 273163417AA for ; Thu, 19 May 2022 01:09:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D786A42F for ; Thu, 19 May 2022 01:09:29 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1652922559.5bac27d308f715dc38fffedc2318e9fddb0a3ba4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dbus-next/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/dbus-next/Manifest dev-python/dbus-next/dbus-next-0.2.3.ebuild dev-python/dbus-next/metadata.xml X-VCS-Directories: dev-python/dbus-next/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5bac27d308f715dc38fffedc2318e9fddb0a3ba4 X-VCS-Branch: master Date: Thu, 19 May 2022 01:09:29 +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: a8e49494-436c-4860-81ca-e1a32b851115 X-Archives-Hash: 6ad7f88d1533ee16fa343f30a0b42185 commit: 5bac27d308f715dc38fffedc2318e9fddb0a3ba4 Author: Sam James gentoo org> AuthorDate: Thu May 19 00:29:57 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu May 19 01:09:19 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bac27d3 dev-python/dbus-next: new package, add 0.2.3 Signed-off-by: Sam James gentoo.org> dev-python/dbus-next/Manifest | 1 + dev-python/dbus-next/dbus-next-0.2.3.ebuild | 42 +++++++++++++++++++++++++++++ dev-python/dbus-next/metadata.xml | 12 +++++++++ 3 files changed, 55 insertions(+) diff --git a/dev-python/dbus-next/Manifest b/dev-python/dbus-next/Manifest new file mode 100644 index 000000000000..1695fd2e9bea --- /dev/null +++ b/dev-python/dbus-next/Manifest @@ -0,0 +1 @@ +DIST dbus-next-0.2.3.tar.gz 81711 BLAKE2B 6acc38a05511b3de7e13893d82dd1ecd55f9a6124b4d859574294602b921ff012776c12ddb02e1be437b258c7bd5120a3a9625fc5b06bbbe02915dcc4c14897b SHA512 7836d855c755c8ac6cbbb251ca0cbd2f4df9b573f31b1ea1cab480e47896d36b4cb0d479b2469b0bf0b5c700068361a18874b4a087f73020cdcb4e04a2d7dbe7 diff --git a/dev-python/dbus-next/dbus-next-0.2.3.ebuild b/dev-python/dbus-next/dbus-next-0.2.3.ebuild new file mode 100644 index 000000000000..6e7d9b789770 --- /dev/null +++ b/dev-python/dbus-next/dbus-next-0.2.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 virtualx + +DESCRIPTION="The next great DBus library for Python with asyncio support" +HOMEPAGE="https://python-dbus-next.readthedocs.io/en/latest/" +SRC_URI="https://github.com/altdesktop/python-dbus-next/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/python-${P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND="test? ( + dev-python/pygobject[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + )" + +EPYTEST_IGNORE=( + # "interface not found on this object: org.freedesktop.DBus.Debug.Stats" + # Seems like we build dbus w/o this? + test/client/test_signals.py +) + +distutils_enable_tests pytest + +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 +} diff --git a/dev-python/dbus-next/metadata.xml b/dev-python/dbus-next/metadata.xml new file mode 100644 index 000000000000..4c10a1f049b6 --- /dev/null +++ b/dev-python/dbus-next/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + Python + + + altdesktop/python-dbus-next + dbus-next + +