Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-libevdev/
Date: Wed, 29 Apr 2020 17:52:57
Message-Id: 1588182753.8c1932cad53c0a6bc3f77283594ec6e86e98d1d6.mattst88@gentoo
1 commit: 8c1932cad53c0a6bc3f77283594ec6e86e98d1d6
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 29 17:52:31 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 29 17:52:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c1932ca
7
8 dev-python/python-libevdev: Add test dependency
9
10 Closes: https://bugs.gentoo.org/719994
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 dev-python/python-libevdev/python-libevdev-0.8.ebuild | 7 ++++++-
14 1 file changed, 6 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-python/python-libevdev/python-libevdev-0.8.ebuild b/dev-python/python-libevdev/python-libevdev-0.8.ebuild
17 index 15867639b04..c1d9bb0d9d4 100644
18 --- a/dev-python/python-libevdev/python-libevdev-0.8.ebuild
19 +++ b/dev-python/python-libevdev/python-libevdev-0.8.ebuild
20 @@ -13,7 +13,12 @@ SRC_URI="https://gitlab.freedesktop.org/libevdev/${PN}/-/archive/${PV}/${P}.tar.
21 LICENSE="MIT"
22 SLOT="0"
23 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
24 -IUSE=""
25 +IUSE="test"
26 +RESTRICT="!test? ( test )"
27 +
28 +DEPEND="
29 + test? ( dev-libs/libevdev )
30 +"
31
32 python_test() {
33 esetup.py test