Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-systemd/
Date: Tue, 01 Feb 2022 14:37:18
Message-Id: 1643726231.65a814f3e12ce3e1e121514e7610cbafa4323fe4.mgorny@gentoo
1 commit: 65a814f3e12ce3e1e121514e7610cbafa4323fe4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 1 14:36:51 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 1 14:37:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65a814f3
7
8 dev-python/python-systemd: Change cwd instead of rming dir for tests
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/python-systemd/python-systemd-234-r2.ebuild | 7 +------
13 1 file changed, 1 insertion(+), 6 deletions(-)
14
15 diff --git a/dev-python/python-systemd/python-systemd-234-r2.ebuild b/dev-python/python-systemd/python-systemd-234-r2.ebuild
16 index 60d75ffb0ea8..9ad4a49314b1 100644
17 --- a/dev-python/python-systemd/python-systemd-234-r2.ebuild
18 +++ b/dev-python/python-systemd/python-systemd-234-r2.ebuild
19 @@ -32,13 +32,8 @@ python_compile() {
20 distutils-r1_python_compile -j1
21 }
22
23 -src_test() {
24 - # prevent relative import
25 - rm -r systemd || die
26 - distutils-r1_src_test
27 -}
28 -
29 python_test() {
30 unset NOTIFY_SOCKET
31 + cd "${T}" || die
32 epytest --pyargs systemd -o cache_dir="${T}"
33 }