dev-python/notify2: Fix tests bug #638598.
authorDaniel Pielmeier <billie@gentoo.org>
Mon, 12 Aug 2019 18:09:31 +0000 (20:09 +0200)
committerDaniel Pielmeier <billie@gentoo.org>
Mon, 12 Aug 2019 18:09:31 +0000 (20:09 +0200)
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Daniel Pielmeier <billie@gentoo.org>
dev-python/notify2/notify2-0.3.ebuild

index 2b7d2cb84b03fe89bbcc8bc0a6fb8f1cb72987de..db5d4796b81992721281f5fbd1df8cebfeb30ab8 100644 (file)
@@ -4,7 +4,7 @@
 EAPI=6
 PYTHON_COMPAT=( python{2_7,3_5,3_6} )
 
-inherit distutils-r1
+inherit distutils-r1 virtualx
 
 DESCRIPTION="Python interface to DBus notifications."
 HOMEPAGE="https://bitbucket.org/takluyver/pynotify2"
@@ -18,7 +18,7 @@ IUSE="examples"
 RDEPEND="dev-python/dbus-python[${PYTHON_USEDEP}]"
 
 python_test() {
-       ${EPYTHON} test_notify2.py || die
+       virtx ${EPYTHON} test_notify2.py || die
 }
 
 python_install_all() {