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 ABF3B158041 for ; Sat, 24 Feb 2024 08:49:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 79C43E2A40; Sat, 24 Feb 2024 08:49:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 61285E2A3C for ; Sat, 24 Feb 2024 08:49:35 +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 8E3B7343070 for ; Sat, 24 Feb 2024 08:49:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2EC0314E6 for ; Sat, 24 Feb 2024 08:49:31 +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: <1708764564.c7a164a1e738132cb5db00cdd6a8343e164aba74.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.31.1.ebuild X-VCS-Directories: dev-python/python-dbusmock/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c7a164a1e738132cb5db00cdd6a8343e164aba74 X-VCS-Branch: master Date: Sat, 24 Feb 2024 08:49:31 +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: 536af32e-2ad7-454b-8584-008192561ad0 X-Archives-Hash: b1c46ef9530ae095edacc3bf28ab51bf commit: c7a164a1e738132cb5db00cdd6a8343e164aba74 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 24 06:50:42 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Feb 24 08:49:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7a164a1 dev-python/python-dbusmock: Bump to 0.31.1 Signed-off-by: Michał Górny gentoo.org> dev-python/python-dbusmock/Manifest | 1 + .../python-dbusmock/python-dbusmock-0.31.1.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/python-dbusmock/Manifest b/dev-python/python-dbusmock/Manifest index 7160f190457c..ef1273553270 100644 --- a/dev-python/python-dbusmock/Manifest +++ b/dev-python/python-dbusmock/Manifest @@ -1 +1,2 @@ DIST python-dbusmock-0.30.2.tar.gz 98188 BLAKE2B bfcac761933c2d433ddc7b53ca87ceb395dba23b73fc4478e0317cf1da6693b3b55cd7d5ca814425d74714f8b7544255f07a536fe7c1a1949dee30996a2761a0 SHA512 a34c4660fe50b9551274626b19959dbe985e112429d2eb68811f3cc37cc017f8171eac2e2b8c262874678e24f7fb3d1f39410cd977b59f501973de19b6ca3a13 +DIST python-dbusmock-0.31.1.tar.gz 98739 BLAKE2B 623aa336c66ad1743d1b86421184c13d647970ffe1a7ffbc2e100c179fb3af98846c96f0a8baccfb9a1f47aa2e380d0bff91c17f967d9c798a97a5fef43bc376 SHA512 5d409e979046cf301c5f8604b43c67abba111315d40e54b59cc5ff6e8fe3bb006591fdac877f750b3a0d56f840337f136b99dda9237de1b00718ef85a3bfcf7b diff --git a/dev-python/python-dbusmock/python-dbusmock-0.31.1.ebuild b/dev-python/python-dbusmock/python-dbusmock-0.31.1.ebuild new file mode 100644 index 000000000000..4915685b8472 --- /dev/null +++ b/dev-python/python-dbusmock/python-dbusmock-0.31.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) +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 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] +" + +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 break if XDG_DATA_DIRS is modified by flatpak install + unset XDG_DATA_DIRS + distutils-r1_python_test +}