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 633CC158020 for ; Thu, 1 Dec 2022 07:09:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DFE41E0817; Thu, 1 Dec 2022 07:09:26 +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 pigeon.gentoo.org (Postfix) with ESMTPS id BC0ACE0824 for ; Thu, 1 Dec 2022 07:09: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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC911340FA8 for ; Thu, 1 Dec 2022 07:09:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 66578785 for ; Thu, 1 Dec 2022 07:09:22 +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: <1669878557.11d5363cf50afbdbe63f18d2c6042fe83d3e9049.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/python-dbusmock-0.28.6-r1.ebuild X-VCS-Directories: dev-python/python-dbusmock/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 11d5363cf50afbdbe63f18d2c6042fe83d3e9049 X-VCS-Branch: master Date: Thu, 1 Dec 2022 07:09:22 +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: 11af5913-853b-4e80-8c1f-0863b16256ae X-Archives-Hash: aa34ac4086f2fc725395aee874922d10 commit: 11d5363cf50afbdbe63f18d2c6042fe83d3e9049 Author: Michał Górny gentoo org> AuthorDate: Thu Dec 1 06:56:34 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Dec 1 07:09:17 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11d5363c dev-python/python-dbusmock: Use pytest Signed-off-by: Michał Górny gentoo.org> dev-python/python-dbusmock/python-dbusmock-0.28.6-r1.ebuild | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/dev-python/python-dbusmock/python-dbusmock-0.28.6-r1.ebuild b/dev-python/python-dbusmock/python-dbusmock-0.28.6-r1.ebuild index f50299fe3a38..c43a7378ca54 100644 --- a/dev-python/python-dbusmock/python-dbusmock-0.28.6-r1.ebuild +++ b/dev-python/python-dbusmock/python-dbusmock-0.28.6-r1.ebuild @@ -28,13 +28,14 @@ RDEPEND=" dev-python/pygobject:3[${PYTHON_USEDEP}] " -distutils_enable_tests unittest +distutils_enable_tests pytest -src_prepare() { - # needed for unittest discovery - > tests/__init__.py || die +EPYTEST_IGNORE=( # linter tests, fragile to newer linter versions - rm tests/test_code.py || die + 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