summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-04-29 10:52:31 -0700
committerMatt Turner <mattst88@gentoo.org>2020-04-29 10:52:33 -0700
commit8c1932cad53c0a6bc3f77283594ec6e86e98d1d6 (patch)
tree6a7d0ab4c37f1410bb231e056459ce554c5eb071 /dev-python/python-libevdev
parentdev-util/ccls: Add patch to provide clang-10 support (diff)
downloadgentoo-8c1932cad53c0a6bc3f77283594ec6e86e98d1d6.tar.gz
gentoo-8c1932cad53c0a6bc3f77283594ec6e86e98d1d6.tar.bz2
gentoo-8c1932cad53c0a6bc3f77283594ec6e86e98d1d6.zip
dev-python/python-libevdev: Add test dependency
Closes: https://bugs.gentoo.org/719994 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-python/python-libevdev')
-rw-r--r--dev-python/python-libevdev/python-libevdev-0.8.ebuild7
1 files changed, 6 insertions, 1 deletions
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