commit:     8c1932cad53c0a6bc3f77283594ec6e86e98d1d6
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 29 17:52:31 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Apr 29 17:52:33 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c1932ca

dev-python/python-libevdev: Add test dependency

Closes: https://bugs.gentoo.org/719994
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-python/python-libevdev/python-libevdev-0.8.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-python/python-libevdev/python-libevdev-0.8.ebuild 
b/dev-python/python-libevdev/python-libevdev-0.8.ebuild
index 15867639b04..c1d9bb0d9d4 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

Reply via email to