x11-wm/qtile: Bump to 0.34.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-12-15 05:48:53 +01:00
parent 79e420212f
commit 5f5fe92a57
2 changed files with 129 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
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
DIST qtile-0.34.1.tar.gz 663576 BLAKE2B abdff73375e980cd3f768ae1c4f825c5ae152cc8b4654945e1b7d320e25a6a1ca192b813e2bd0f8cbb68dc22ca7d474d971b39ffba85f33ff8814a6b7637acea SHA512 2bf9944a78c835896e5cfddbf94d2b66f9ef26e79ed8e8caa42d452dfa506f8c7efc506f83716da6b5e769086b3f9cbff0a0bbe7f111e3da51ee4e42825a4721
DIST qtile-0.34.1.tar.gz.provenance 8872 BLAKE2B ddbdcfc16ecf86f24430116da390e68eff86726123f4e33a572d35b9c9a6c2362e7cc76272345a95db4540eaade9a1b14239987c9c098a3c0a5c3e9af45c6084 SHA512 810a4d67c771210f8bb874f281046539171b499650de3e2cd3336b5f32b4c9590b20924de042d841a8725d85d1b6b26cc321a641f7fb4e11af9ae034dc153bee

View File

@@ -0,0 +1,127 @@
# 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,httpbin} )
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
# TODO
'test/backend/wayland/test_idle_inhibit.py::test_inhibitor_open[1-x11-InhibitorConfig]'
'test/backend/wayland/test_idle_inhibit.py::test_inhibitor_visible[1-x11-InhibitorConfig]'
'test/backend/wayland/test_idle_inhibit.py::test_inhibitor_focus[1-x11-InhibitorConfig]'
'test/backend/wayland/test_idle_inhibit.py::test_inhibitor_fullscreen[1-x11-InhibitorConfig]'
'test/backend/wayland/test_idle_inhibit.py::test_inhibitor_global[1-x11-InhibitorConfig]'
)
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}
}