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/jeepney/
Date: Wed, 02 Jun 2021 16:12:49
Message-Id: 1622650361.ef29ef1b5de0e378b0ad12cea6c9e3087a88ce16.mgorny@gentoo
1 commit: ef29ef1b5de0e378b0ad12cea6c9e3087a88ce16
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 2 15:30:49 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 2 16:12:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef29ef1b
7
8 dev-python/jeepney: Run dbus-based tests too
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/jeepney/jeepney-0.6.0.ebuild | 5 +++++
13 1 file changed, 5 insertions(+)
14
15 diff --git a/dev-python/jeepney/jeepney-0.6.0.ebuild b/dev-python/jeepney/jeepney-0.6.0.ebuild
16 index 8a13adf0564..42dd4172cf3 100644
17 --- a/dev-python/jeepney/jeepney-0.6.0.ebuild
18 +++ b/dev-python/jeepney/jeepney-0.6.0.ebuild
19 @@ -21,6 +21,7 @@ BDEPEND="
20 test? (
21 dev-python/pytest-asyncio[${PYTHON_USEDEP}]
22 dev-python/testpath[${PYTHON_USEDEP}]
23 + sys-apps/dbus
24 )
25 "
26
27 @@ -34,6 +35,10 @@ src_prepare() {
28 distutils-r1_src_prepare
29 }
30
31 +python_test() {
32 + dbus-run-session pytest -vv -ra -l || die "tests failed with ${EPYTHON}"
33 +}
34 +
35 python_install_all() {
36 if use examples; then
37 docompress -x "/usr/share/doc/${PF}/examples"