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 705CC158087 for ; Tue, 1 Feb 2022 14:37:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A77CC2BC031; Tue, 1 Feb 2022 14:37:17 +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 1DBED2BC031 for ; Tue, 1 Feb 2022 14:37:17 +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 C0F2E343046 for ; Tue, 1 Feb 2022 14:37:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3DB8A2AF for ; Tue, 1 Feb 2022 14:37:14 +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: <1643726231.65a814f3e12ce3e1e121514e7610cbafa4323fe4.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-systemd/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-systemd/python-systemd-234-r2.ebuild X-VCS-Directories: dev-python/python-systemd/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 65a814f3e12ce3e1e121514e7610cbafa4323fe4 X-VCS-Branch: master Date: Tue, 1 Feb 2022 14:37:14 +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: 242ab482-3cfb-4783-974f-02cde1a7bde4 X-Archives-Hash: 5b4105adf809f3629538d84b92e77c9c commit: 65a814f3e12ce3e1e121514e7610cbafa4323fe4 Author: Michał Górny gentoo org> AuthorDate: Tue Feb 1 14:36:51 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Feb 1 14:37:11 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65a814f3 dev-python/python-systemd: Change cwd instead of rming dir for tests Signed-off-by: Michał Górny gentoo.org> dev-python/python-systemd/python-systemd-234-r2.ebuild | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dev-python/python-systemd/python-systemd-234-r2.ebuild b/dev-python/python-systemd/python-systemd-234-r2.ebuild index 60d75ffb0ea8..9ad4a49314b1 100644 --- a/dev-python/python-systemd/python-systemd-234-r2.ebuild +++ b/dev-python/python-systemd/python-systemd-234-r2.ebuild @@ -32,13 +32,8 @@ python_compile() { distutils-r1_python_compile -j1 } -src_test() { - # prevent relative import - rm -r systemd || die - distutils-r1_src_test -} - python_test() { unset NOTIFY_SOCKET + cd "${T}" || die epytest --pyargs systemd -o cache_dir="${T}" }