public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/qtile/
Date: Tue, 07 Jan 2025 18:30:24 +0000 (UTC)	[thread overview]
Message-ID: <1736274621.30e405d8cd1063d82c9daf4e1fdc82018e6af476.mgorny@gentoo> (raw)

commit:     30e405d8cd1063d82c9daf4e1fdc82018e6af476
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  7 15:20:02 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan  7 18:30:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30e405d8

x11-wm/qtile: Bump to 0.30.0

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

 x11-wm/qtile/Manifest            |   1 +
 x11-wm/qtile/qtile-0.30.0.ebuild | 117 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 118 insertions(+)

diff --git a/x11-wm/qtile/Manifest b/x11-wm/qtile/Manifest
index 537f58c1be39..4a5ab9777476 100644
--- a/x11-wm/qtile/Manifest
+++ b/x11-wm/qtile/Manifest
@@ -1,2 +1,3 @@
 DIST qtile-0.28.1.tar.gz 601217 BLAKE2B 04f24c5b628e1c3d0eca395135ef0d0093af5a57d23aea751e76197da4f148ae679a9fb650e2589e5f2e253673cab86642e3f0695ac219641c65192eb9a37274 SHA512 95b4d95206aeac4bb59d47c94eb93b55ac413681050345a0d61cdb19b71dd785bb6c13c0161757b9bfa5e8d0ce345fcf64eea04fc44b2f596a65b70f5da5d32e
 DIST qtile-0.29.0.tar.gz 607026 BLAKE2B 71a282b08b6d15e08f616e28a59a632a76ef4a180788177606873dec7870d715fa96403ece6745de8898716e863b7462a745426f59fb13fd40ba87207be30d24 SHA512 745a9a79209c0dbac5e49b8ee90d567204fd022c63e9321afbb6a3a064f8e9376fdbbe67a5115e50b251d28129f4907761cbbd3e0b3d2e0676e047ef8369c92c
+DIST qtile-0.30.0.tar.gz 617632 BLAKE2B c26d51d7e31ef058a5a08ef8ef47ccce19bc59b9337d0dc1d874b2c4047ea2e1827cc694a9199ea808d22b7845a8bb019eb85a1912ddfb00801763b43e62b0f2 SHA512 218b7ba42315884faf11460c18a9fa8f34a3284d3fd4632c24997657e7ec659e337be9b0845e00dc7d4106828d7e5efcfd401ea7d031e0725598e60ad4172147

diff --git a/x11-wm/qtile/qtile-0.30.0.ebuild b/x11-wm/qtile/qtile-0.30.0.ebuild
new file mode 100644
index 000000000000..155119927ace
--- /dev/null
+++ b/x11-wm/qtile/qtile-0.30.0.ebuild
@@ -0,0 +1,117 @@
+# 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
+PYTHON_COMPAT=( python3_{10..12} )
+
+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"
+IUSE="pulseaudio wayland"
+
+DEPEND="
+	>=dev-python/cairocffi-1.6.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/libcst[${PYTHON_USEDEP}]
+		media-gfx/imagemagick[X]
+		x11-base/xorg-server[xephyr,xvfb]
+	)
+	wayland? (
+		>=dev-python/pywayland-0.4.17[${PYTHON_USEDEP}]
+		>=dev-python/pywlroots-0.17[${PYTHON_USEDEP}]
+	)
+"
+
+: ${EPYTEST_TIMEOUT:=180}
+distutils_enable_tests pytest
+
+python_prepare_all() {
+	distutils-r1_python_prepare_all
+
+	sed -e "s/can_import(\"wlroots.ffi_build\")/$(usex wayland True False)/" \
+		-i setup.py || die
+
+	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: this test clearly requires x11 — so why is wayland
+		# variant being run?
+		'test/backend/x11/test_window.py::test_urgent_hook_fire[wayland-2]'
+		# TODO
+		test/test_hook.py::test_net_wm_icon_change
+	)
+
+	# force usage of built module
+	rm -rf libqtile || die
+
+	# some tests expect bin/qtile
+	ln -fs "$(type -P qtile)" bin/qtile || die
+
+	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+	local -x TZ=UTC
+	nonfatal epytest -p rerunfailures --reruns=5 \
+		--backend=x11 $(usev wayland '--backend=wayland') ||
+		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	other threads:[~2025-01-07 18:30 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-07 18:30 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-08-10  3:07 [gentoo-commits] repo/gentoo:master commit in: x11-wm/qtile/ Michał Górny
2025-08-09 21:20 Sam James
2025-07-25  5:57 Michał Górny
2025-07-12  7:14 Arthur Zamarin
2025-06-11  7:27 Michał Górny
2025-03-22 10:30 Michał Górny
2025-03-22  8:38 Arthur Zamarin
2025-03-08 19:14 Jakov Smolić
2025-03-08 16:29 Michał Górny
2025-03-08 16:29 Michał Górny
2025-03-08  7:24 Michał Górny
2025-03-01  7:11 Michał Górny
2025-01-07 19:02 Michał Górny
2024-10-21 12:22 Michał Górny
2024-10-20 16:02 Michał Górny
2024-10-20 16:02 Michał Górny
2024-09-17 16:00 Sam James
2024-08-12  2:50 Michał Górny
2024-07-13  7:46 Michał Górny
2024-05-29 14:45 Jakov Smolić
2024-05-22  4:49 Michał Górny
2024-05-01 11:48 Michał Górny
2024-05-01 11:15 Michał Górny
2023-12-21 10:47 Michał Górny
2023-12-21  6:52 Sam James
2023-12-05 14:32 Michał Górny
2023-12-05  9:59 Jakov Smolić
2023-12-05  6:52 Joonas Niilola
2023-12-05  4:20 Michał Górny
2023-12-03  4:20 Michał Górny
2023-12-02 19:30 Michał Górny
2023-08-17  6:22 Sam James
2023-08-17  5:55 Sam James
2023-08-09 20:43 Sam James
2023-06-17  3:15 Sam James
2023-06-15 21:45 Sam James
2023-06-05  5:33 Sam James
2023-05-29 18:29 Andreas Sturmlechner
2023-05-20  6:22 Michał Górny
2023-05-03  6:55 Arthur Zamarin
2023-05-02 19:26 Sam James
2023-03-16 18:52 Michał Górny
2023-03-16 18:52 Michał Górny
2023-02-23 13:40 Sam James
2023-01-20  1:17 Sam James
2023-01-20  1:17 Sam James
2023-01-20  1:17 Sam James
2023-01-14  8:50 Joonas Niilola
2023-01-12 21:18 Yixun Lan
2023-01-12  7:06 Sam James
2022-11-15 18:22 Michał Górny
2022-06-21 20:30 Sam James
2022-06-08  9:58 Jakov Smolić
2022-06-07 23:12 Sam James
2022-05-23 19:46 Jakov Smolić
2022-05-19  1:10 Sam James
2022-05-03  3:25 Sam James
2021-09-27 14:48 Yixun Lan
2021-06-01  6:32 Agostino Sarubbo
2021-05-15 13:24 Mikle Kolyada
2021-05-15 13:24 Mikle Kolyada
2021-05-15 13:24 Mikle Kolyada
2020-09-12 14:59 Mikle Kolyada
2020-09-12 13:32 Mikle Kolyada
2020-09-12 13:32 Mikle Kolyada
2020-09-12 11:19 Mikle Kolyada
2020-09-12 11:18 Mikle Kolyada
2020-07-30 12:33 Mikle Kolyada
2020-04-24 10:45 Mikle Kolyada
2020-04-24 10:45 Mikle Kolyada
2020-04-24 10:45 Mikle Kolyada
2020-03-17  8:08 Michał Górny
2020-01-16 12:03 Tim Harder
2020-01-14 22:48 Matt Turner
2019-11-17  9:48 Mikle Kolyada
2019-11-17  5:08 Tim Harder
2019-11-17  5:08 Tim Harder
2019-07-03 22:00 Tim Harder
2019-07-03 22:00 Tim Harder
2019-03-04  8:34 Tim Harder
2018-09-18 21:23 Tim Harder
2017-11-06 10:28 Tim Harder
2017-11-06 10:21 Tim Harder
2016-06-15  2:41 Tim Harder
2016-06-15  2:41 Tim Harder
2016-06-15  2:41 Tim Harder
2016-04-09  2:24 Tim Harder
2016-01-17  3:34 Tim Harder
2016-01-17  3:34 Tim Harder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1736274621.30e405d8cd1063d82c9daf4e1fdc82018e6af476.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox