From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7BA85138335 for ; Tue, 18 Sep 2018 21:23:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C81EE0B9A; Tue, 18 Sep 2018 21:23:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E6DB3E0B92 for ; Tue, 18 Sep 2018 21:23:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F0403335D06 for ; Tue, 18 Sep 2018 21:23:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 745C73E1 for ; Tue, 18 Sep 2018 21:23:05 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1537305707.7c53949742780e1d490029b6702812e43200bc2a.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/qtile/files/, x11-wm/qtile/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-wm/qtile/Manifest x11-wm/qtile/files/qtile-0.12.0-tests.patch x11-wm/qtile/qtile-0.12.0.ebuild x11-wm/qtile/qtile-9999.ebuild X-VCS-Directories: x11-wm/qtile/files/ x11-wm/qtile/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 7c53949742780e1d490029b6702812e43200bc2a X-VCS-Branch: master Date: Tue, 18 Sep 2018 21:23:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b0d30f2d-2e2b-454a-a4a4-5deaafec19bc X-Archives-Hash: be97e7f63e3e97bf6cdea518322e82d9 commit: 7c53949742780e1d490029b6702812e43200bc2a Author: Tim Harder gentoo org> AuthorDate: Tue Sep 18 20:40:12 2018 +0000 Commit: Tim Harder gentoo org> CommitDate: Tue Sep 18 21:21:47 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c539497 x11-wm/qtile: version bump to 0.12.0 Fixes: https://bugs.gentoo.org/616914 x11-wm/qtile/Manifest | 1 + x11-wm/qtile/files/qtile-0.12.0-tests.patch | 15 +++++++++++++++ .../qtile/{qtile-9999.ebuild => qtile-0.12.0.ebuild} | 18 ++++++++++++++---- x11-wm/qtile/qtile-9999.ebuild | 18 ++++++++++++++---- 4 files changed, 44 insertions(+), 8 deletions(-) diff --git a/x11-wm/qtile/Manifest b/x11-wm/qtile/Manifest index 1289b157f85..63002bfde7a 100644 --- a/x11-wm/qtile/Manifest +++ b/x11-wm/qtile/Manifest @@ -1,2 +1,3 @@ DIST qtile-0.10.5.tar.gz 325311 BLAKE2B fadf8c232d6f3840f93d61d4c8c6a2dddc61483e316b02f7a60058eac0e5da9f3b2eab99e952b7db30e29036d2db0283e07926ec054322994ebaf16a7a223906 SHA512 00fbeaa17921eb2d4014c979bcd1f81f22e155606b13340f4653c262d7fde3b1f471a7f20e9a80b58435bdc1e5479c983a72e4be180b49df2ef4a5fe568b8631 DIST qtile-0.10.6.tar.gz 328892 BLAKE2B 3a4887808b87b0cbe4410d2bac8af4664873d2aa9b8c782f8c026ae78ba586b6e02d9a50ee42434afa916e9fe9041a7a15a68f9026ee7d95a0edec2594515cfa SHA512 39eef26358e1220ca766b030733396206df68677e3f23d6847d375f479952a4e2d47e0c3e59fab2e5046e899bad91d107a913bb25458fb66859dec3fa8c0e956 +DIST qtile-0.12.0.tar.gz 447139 BLAKE2B c1bea9ba8b36ccf14b7e55b4a2cbc05714ecffef33d992e9bf1683e6f8c416d481cf9d141bbf0fe62df65aeb3555290647d072dd45f507b08e0d523f992a1671 SHA512 a94237c40775524e16aebdd8555d0ed0623c248b65aee32851145e8a6cc54ce4d46ee5cf4c4f583e468de4557a565c4281660219e4b2ee1b73fb483567e1a5b2 diff --git a/x11-wm/qtile/files/qtile-0.12.0-tests.patch b/x11-wm/qtile/files/qtile-0.12.0-tests.patch new file mode 100644 index 00000000000..8443381b176 --- /dev/null +++ b/x11-wm/qtile/files/qtile-0.12.0-tests.patch @@ -0,0 +1,15 @@ +The '~' character doesn't expand to $HOME in all build envs. + +--- qtile-0.12.0/test/test_bar.py ++++ qtile-0.12.0/test/test_bar.py +@@ -105,8 +105,8 @@ + assert c.complete("/bi") == "/bin/" + c.reset() + assert c.complete("/bin") != "/bin/" +- c.reset() +- assert c.complete("~") != "~" ++ #c.reset() ++ #assert c.complete("~") != "~" + + c.reset() + s = "thisisatotallynonexistantpathforsure" diff --git a/x11-wm/qtile/qtile-9999.ebuild b/x11-wm/qtile/qtile-0.12.0.ebuild similarity index 70% copy from x11-wm/qtile/qtile-9999.ebuild copy to x11-wm/qtile/qtile-0.12.0.ebuild index fc96c05526e..5ba9a093204 100644 --- a/x11-wm/qtile/qtile-9999.ebuild +++ b/x11-wm/qtile/qtile-0.12.0.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() { diff --git a/x11-wm/qtile/qtile-9999.ebuild b/x11-wm/qtile/qtile-9999.ebuild index fc96c05526e..5ba9a093204 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() {