From 8c1932cad53c0a6bc3f77283594ec6e86e98d1d6 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 29 Apr 2020 10:52:31 -0700 Subject: dev-python/python-libevdev: Add test dependency Closes: https://bugs.gentoo.org/719994 Signed-off-by: Matt Turner --- dev-python/python-libevdev/python-libevdev-0.8.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'dev-python/python-libevdev/python-libevdev-0.8.ebuild') diff --git a/dev-python/python-libevdev/python-libevdev-0.8.ebuild b/dev-python/python-libevdev/python-libevdev-0.8.ebuild index 15867639b043..c1d9bb0d9d4e 100644 --- a/dev-python/python-libevdev/python-libevdev-0.8.ebuild +++ b/dev-python/python-libevdev/python-libevdev-0.8.ebuild @@ -13,7 +13,12 @@ SRC_URI="https://gitlab.freedesktop.org/libevdev/${PN}/-/archive/${PV}/${P}.tar. LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86" -IUSE="" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( dev-libs/libevdev ) +" python_test() { esetup.py test -- cgit v1.2.3-65-gdbad