commit:     dff5e674d0b9e0875bb80773178e4b70738dbcb3
Author:     Egor Martynov <martynovegorOF <AT> yandex <DOT> ru>
AuthorDate: Thu Feb 23 10:45:35 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 23 13:40:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dff5e674

x11-wm/qtile: depend on pywlroots-0.15.x versions

Bug: https://github.com/qtile/qtile/pull/3985
Closes: https://bugs.gentoo.org/895722
Signed-off-by: Egor Martynov <martynovegorOF <AT> yandex.ru>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-wm/qtile/qtile-0.22.1-r1.ebuild | 4 +++-
 x11-wm/qtile/qtile-9999.ebuild      | 8 +++++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/x11-wm/qtile/qtile-0.22.1-r1.ebuild 
b/x11-wm/qtile/qtile-0.22.1-r1.ebuild
index b977e32eec6b..558b0bda0dee 100644
--- a/x11-wm/qtile/qtile-0.22.1-r1.ebuild
+++ b/x11-wm/qtile/qtile-0.22.1-r1.ebuild
@@ -23,6 +23,8 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="pulseaudio wayland"
 
+# See bug #895722 and https://github.com/qtile/qtile/pull/3985 regarding
+# pywlroots-0.15 dep.
 RDEPEND="
        >=dev-python/cairocffi-0.9.0[${PYTHON_USEDEP}]
        >=dev-python/cffi-1.1.0[${PYTHON_USEDEP}]
@@ -37,7 +39,7 @@ RDEPEND="
                media-sound/pulseaudio
        )
        wayland? (
-               dev-python/pywlroots[${PYTHON_USEDEP}]
+               =dev-python/pywlroots-0.15*[${PYTHON_USEDEP}]
        )
 "
 BDEPEND="

diff --git a/x11-wm/qtile/qtile-9999.ebuild b/x11-wm/qtile/qtile-9999.ebuild
index 871b161d1af7..02efe955cdc0 100644
--- a/x11-wm/qtile/qtile-9999.ebuild
+++ b/x11-wm/qtile/qtile-9999.ebuild
@@ -16,13 +16,15 @@ if [[ ${PV} == 9999 ]]; then
        EGIT_REPO_URI="https://github.com/qtile/qtile.git";
 else
        SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-       KEYWORDS="~amd64"
+       KEYWORDS="~amd64 ~riscv ~x86"
 fi
 
 LICENSE="MIT"
 SLOT="0"
 IUSE="pulseaudio wayland"
 
+# See bug #895722 and https://github.com/qtile/qtile/pull/3985 regarding
+# pywlroots-0.15 dep.
 RDEPEND="
        >=dev-python/cairocffi-0.9.0[${PYTHON_USEDEP}]
        >=dev-python/cffi-1.1.0[${PYTHON_USEDEP}]
@@ -37,7 +39,7 @@ RDEPEND="
                media-sound/pulseaudio
        )
        wayland? (
-               dev-python/pywlroots[${PYTHON_USEDEP}]
+               =dev-python/pywlroots-0.15*[${PYTHON_USEDEP}]
        )
 "
 BDEPEND="
@@ -83,7 +85,7 @@ python_test() {
        # Force usage of built module
        rm -rf "${S}"/libqtile || die
 
-       # TODO: remove "-p no:xdist" when 
https://github.com/qtile/qtile/issues/1634 will be resolved.
+       # TODO: remove "-p no:xdist" for next release when 
https://github.com/qtile/qtile/issues/1634 will be resolved.
        epytest -p no:xdist --backend=x11 $(usev wayland '--backend=wayland') 
|| die "Tests failed with ${EPYTHON}"
 }
 

Reply via email to