From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 220E81582EF for ; Sat, 22 Feb 2025 07:50:49 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 0B104343207 for ; Sat, 22 Feb 2025 07:50:49 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 538FA110483; Sat, 22 Feb 2025 07:50:10 +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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 44F0F110483 for ; Sat, 22 Feb 2025 07:50:10 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ECB9E3431C7 for ; Sat, 22 Feb 2025 07:50:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C44227F5 for ; Sat, 22 Feb 2025 07:50:06 +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: <1740210601.4f5fa6204ec52339ca21388db9863ca6b421893a.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-dbusmock/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-dbusmock/Manifest dev-python/python-dbusmock/python-dbusmock-0.34.3.ebuild X-VCS-Directories: dev-python/python-dbusmock/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4f5fa6204ec52339ca21388db9863ca6b421893a X-VCS-Branch: master Date: Sat, 22 Feb 2025 07:50:06 +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: 5dd16d20-1be0-4ac4-8b63-508bd8346997 X-Archives-Hash: 4c60611e4c989c09407bf1fe195c51be commit: 4f5fa6204ec52339ca21388db9863ca6b421893a Author: Michał Górny gentoo org> AuthorDate: Sat Feb 22 06:54:19 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Feb 22 07:50:01 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f5fa620 dev-python/python-dbusmock: Bump to 0.34.3 Signed-off-by: Michał Górny gentoo.org> dev-python/python-dbusmock/Manifest | 1 + .../python-dbusmock/python-dbusmock-0.34.3.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/python-dbusmock/Manifest b/dev-python/python-dbusmock/Manifest index f97fdc1f7d38..92cae7a30487 100644 --- a/dev-python/python-dbusmock/Manifest +++ b/dev-python/python-dbusmock/Manifest @@ -1 +1,2 @@ DIST python_dbusmock-0.34.2.tar.gz 111535 BLAKE2B 8f3f125bcfbf0d1674e0dea3d87d6f776e85fb818c5fd3f814ca139f4f6936e06eabe7c60c467114918609e1897b0c770a5765eb356fc1843eb781e264fd93ac SHA512 3a4a46afa0ca54004a6891c639c0e1bfd879e575189bdd1bbe031f12333d2358af77456e8b6cb32681010b7c19fb8171f819f67ec8960494408100118b19881d +DIST python_dbusmock-0.34.3.tar.gz 111656 BLAKE2B 5ec1ed245f5ac3bb68464a18b6bdbb45781c17ea500068d5dc26132cd30712731ef9a33a8ab9e6c17af1d21dc879f5913b9251a9d3ca6fe2a737af7c2f6752f2 SHA512 96b5ef9b0c41afaa703b608bbc1ec27704359a61b83d633bd10718a314f84b91208961e9e4b5d96718a2ac70b5b96b0e00039b7d6bfd4436470dafd34d28f0e4 diff --git a/dev-python/python-dbusmock/python-dbusmock-0.34.3.ebuild b/dev-python/python-dbusmock/python-dbusmock-0.34.3.ebuild new file mode 100644 index 000000000000..756162b12928 --- /dev/null +++ b/dev-python/python-dbusmock/python-dbusmock-0.34.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Easily create mock objects on D-Bus for software testing" +HOMEPAGE=" + https://github.com/martinpitt/python-dbusmock/ + https://pypi.org/project/python-dbusmock/ +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + sys-power/upower + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # linter tests, fragile to newer linter versions + tests/test_code.py +) + +src_prepare() { + # dev-python/dbus-python uses autotools, so no .dist-info there + sed -i '/dbus-python/d' pyproject.toml setup.cfg || die + + distutils-r1_src_prepare +} + +python_test() { + # tests are fragile to long socket paths + local -x TMPDIR=/tmp + # Tests break if XDG_DATA_DIRS is modified by flatpak install + unset XDG_DATA_DIRS + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}