commit:     fd0d9c55f3bda5b4a1394c93e05356008af27076
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 23 04:00:09 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 23 18:19:58 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd0d9c55

x11-wm/qtile: Bump to 0.34.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 x11-wm/qtile/Manifest            |   2 +
 x11-wm/qtile/qtile-0.34.0.ebuild | 124 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 126 insertions(+)

diff --git a/x11-wm/qtile/Manifest b/x11-wm/qtile/Manifest
index 5ebb2cccd257..40efd5150e0e 100644
--- a/x11-wm/qtile/Manifest
+++ b/x11-wm/qtile/Manifest
@@ -1 +1,3 @@
 DIST qtile-0.33.0.tar.gz 653484 BLAKE2B 
23af0fae9f8260b3c712e1c7475f9dfd7c8bfd3f72d7964b525326e4c19327249314de30d76da0e10859d5e1cbd287402d8f5991d1fbdefb28b572f4cc00be57
 SHA512 
ebcabff0a6b772a736df1e22096a7e98f12d5f29fe27320cc9deac23282ff3e9e05f405a3009d2046d34ef518331ae7e3bdfb14f890e56ac9284ce6837f2cbfd
+DIST qtile-0.34.0.tar.gz 655589 BLAKE2B 
b2769a383515dfcbfda4cbd1d0adbcc24d3997dc09dcad27b1de1c06b438dd795b003e40f7e03fbed71427e2df0bc269422b2890059d61384c68989e43768782
 SHA512 
22dc5cd42402710bbb49b033c5154059d62d52300b336be2c976641e0b7f9c8c2ad1fe93a52287136c6c35d236c4cd1299187781f92be89b6d5b65e85aa00ed8
+DIST qtile-0.34.0.tar.gz.provenance 9154 BLAKE2B 
94a9b5f0bb253bb9978726ea3b3898429db82031c53d9b20e2a009a0aa32f8ae37a016f63d2798525b4a7c27d1b0b160888b5d51d424b21bf56b3a52c81f0808
 SHA512 
718ea49c4aea94b8d51d2331999578e7bac8e16aac3cbecede5d1e7d2e4b34999398ef85c0288b9296edddcdf35f0c5d6ec842991318eee17f35fb788cd79695

diff --git a/x11-wm/qtile/qtile-0.34.0.ebuild b/x11-wm/qtile/qtile-0.34.0.ebuild
new file mode 100644
index 000000000000..bcf72fff62c9
--- /dev/null
+++ b/x11-wm/qtile/qtile-0.34.0.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=standalone
+PYPI_VERIFY_REPO=https://github.com/qtile/qtile
+PYTHON_COMPAT=( python3_13 )
+
+inherit distutils-r1 pypi virtualx
+
+DESCRIPTION="A full-featured, hackable tiling window manager written in Python"
+HOMEPAGE="
+       https://qtile.org/
+       https://github.com/qtile/qtile/
+       https://pypi.org/project/qtile/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="pulseaudio wayland"
+
+DEPEND="
+       >=dev-python/cairocffi-1.7.0[${PYTHON_USEDEP}]
+       >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]
+"
+RDEPEND="
+       ${DEPEND}
+       dev-python/dbus-fast[${PYTHON_USEDEP}]
+       dev-python/pygobject[${PYTHON_USEDEP}]
+       >=dev-python/xcffib-1.4.0[${PYTHON_USEDEP}]
+       x11-libs/cairo[X,xcb(+)]
+       x11-libs/libnotify[introspection]
+       x11-libs/pango
+       pulseaudio? (
+               dev-python/pulsectl-asyncio[${PYTHON_USEDEP}]
+               media-libs/libpulse
+       )
+       wayland? (
+               >=dev-python/pywayland-0.4.17[${PYTHON_USEDEP}]
+               >=dev-python/pywlroots-0.17[${PYTHON_USEDEP}]
+       )
+"
+BDEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       dev-python/setuptools-scm[${PYTHON_USEDEP}]
+       test? (
+               dev-python/isort[${PYTHON_USEDEP}]
+               dev-python/libcst[${PYTHON_USEDEP}]
+               media-gfx/imagemagick[X]
+               x11-base/xorg-server[xephyr,xvfb]
+               x11-terms/xterm
+       )
+       wayland? (
+               >=dev-python/pywayland-0.4.17[${PYTHON_USEDEP}]
+               >=dev-python/pywlroots-0.17[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_PLUGINS=( anyio pytest-asyncio )
+EPYTEST_RERUNS=5
+: ${EPYTEST_TIMEOUT:=180}
+distutils_enable_tests pytest
+
+python_prepare_all() {
+       distutils-r1_python_prepare_all
+
+       # make extension builds fatal
+       sed -i -e 's:Exception:None:' builder.py || die
+
+       if ! use wayland; then
+               sed -e "s/ffi_compile(verbose=wayland_requested)/pass/" \
+                       -i builder.py || die
+       fi
+
+       mkdir bin || die
+}
+
+src_compile() {
+       local -x CFFI_TMPDIR=${T}
+       distutils-r1_src_compile
+}
+
+src_test() {
+       virtx distutils-r1_src_test
+}
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # mypy stuff
+               test/test_check.py
+               test/migrate/test_check_migrations.py
+               # Internet
+               test/widgets/test_generic_poll_text.py::test_gen_poll_url_text
+               
test/widgets/test_generic_poll_text.py::test_gen_poll_url_json_with_data
+               
test/widgets/test_generic_poll_text.py::test_gen_poll_url_custom_headers
+       )
+
+       cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+       cp -R "${S}/test" . || die
+
+       local -x TZ=UTC
+       nonfatal epytest --backend=x11 $(usev wayland '--backend=wayland')
+       local ret=${?}
+       rm -rf test || die
+
+       [[ ${ret} -eq 0 ]] || die -n "Tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+       local DOCS=( CHANGELOG README.rst )
+       distutils-r1_python_install_all
+
+       insinto /usr/share/xsessions
+       doins resources/qtile.desktop
+
+       insinto /usr/share/wayland-sessions
+       doins resources/qtile-wayland.desktop
+
+       exeinto /etc/X11/Sessions
+       newexe "${FILESDIR}"/${PN}-session-r1 ${PN}
+}

Reply via email to