diff options
author | Tim Harder <radhermit@gentoo.org> | 2018-09-18 16:40:12 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2018-09-18 17:21:47 -0400 |
commit | 7c53949742780e1d490029b6702812e43200bc2a (patch) | |
tree | 6234c063eb0a99b31e9cdd27fa610534121c3620 /x11-wm/qtile/qtile-9999.ebuild | |
parent | dev-python/xvfbwrapper: version bump to 0.2.9 (diff) | |
download | gentoo-7c53949742780e1d490029b6702812e43200bc2a.tar.gz gentoo-7c53949742780e1d490029b6702812e43200bc2a.tar.bz2 gentoo-7c53949742780e1d490029b6702812e43200bc2a.zip |
x11-wm/qtile: version bump to 0.12.0
Fixes: https://bugs.gentoo.org/616914
Diffstat (limited to 'x11-wm/qtile/qtile-9999.ebuild')
-rw-r--r-- | x11-wm/qtile/qtile-9999.ebuild | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/x11-wm/qtile/qtile-9999.ebuild b/x11-wm/qtile/qtile-9999.ebuild index fc96c05526ee..5ba9a0932049 100644 --- a/x11-wm/qtile/qtile-9999.ebuild +++ b/x11-wm/qtile/qtile-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -34,15 +34,25 @@ RDEPEND=" " DEPEND="${RDEPEND} test? ( - dev-python/nose[${PYTHON_USEDEP}] - x11-base/xorg-server[kdrive] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/xvfbwrapper[${PYTHON_USEDEP}] + x11-base/xorg-server[xephyr] + x11-apps/xeyes + x11-apps/xcalc + x11-apps/xclock ) " +# display retry backoff slowness and failures RESTRICT="test" +PATCHES=( "${FILESDIR}"/${PN}-0.12.0-tests.patch ) + python_test() { - VIRTUALX_COMMAND="nosetests" virtualmake + # force usage of built module + rm -rf "${S}"/libqtile || die + PYTHONPATH="${BUILD_DIR}/lib" py.test -v "${S}"/test || die "tests failed under ${EPYTHON}" } python_install_all() { |