From: Matt Turner Date: Wed, 29 Apr 2020 17:52:31 +0000 (-0700) Subject: dev-python/python-libevdev: Add test dependency X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8c1932cad53c0a6bc3f77283594ec6e86e98d1d6;p=gentoo.git dev-python/python-libevdev: Add test dependency Closes: https://bugs.gentoo.org/719994 Signed-off-by: Matt Turner --- 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