[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
151/361: gnu: qtile: Update to 0.23.0.
From: |
guix-commits |
Subject: |
151/361: gnu: qtile: Update to 0.23.0. |
Date: |
Thu, 21 Nov 2024 06:29:08 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 41142f8463fbf3c4bbbb033b6c4dfdea75400423
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:53:11 2024 +0200
gnu: qtile: Update to 0.23.0.
* gnu/packages/wm.scm (qtile): Update to 0.23.0.
[build-system]: Upgrade to pyproject-build-system.
[arguments]<#:phases>: Use gexp (but do not indent). Add phase
pre-check.
<#:test-flags>: Use it.
[native-inputs]: Add python-pytest and
xorg-server-for-tests. Reorder.
Change-Id: Id6f291c0d23fa2cef17d6e45552f45c56f162741
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/wm.scm | 35 ++++++++++++++++++++++++-----------
1 file changed, 24 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 921f975037..bc907fbf40 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -64,7 +64,7 @@
;;; Copyright © 2023 Gabriel Wicki <gabriel@erlikon.ch>
;;; Copyright © 2023 Jonathan Brielamier <jonathan.brielmaier@web.de>
;;; Copyright © 2023 Vessel Wave <vesselwave@disroot.org>
-;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
+;;; Copyright © 2023, 2024 Nicolas Graves <ngraves@ngraves.fr>
;;; Copyright © 2023, 2024 Jaeme Sifat <jaeme@runbox.com>
;;; Copyright © 2023 Josselin Poiret <dev@jpoiret.xyz>
;;; Copyright © 2024 Timotej Lazar <timotej.lazar@araneo.si>
@@ -106,6 +106,7 @@
#:use-module (guix build-system haskell)
#:use-module (guix build-system meson)
#:use-module (guix build-system perl)
+ #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial)
#:use-module (guix utils)
@@ -600,19 +601,22 @@ subscribe to events.")
(define-public qtile
(package
(name "qtile")
- (version "0.18.1")
+ (version "0.23.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "qtile" version))
(sha256
- (base32 "14hb26xkza7brvkd4276j60mxd3zsas72ih6y0cq3j060izm1865"))))
- (build-system python-build-system)
+ (base32 "1v8rxm2xg2igxv6gwa78wrkxzgfxmxfgflbjdp4fm7cxjdx3zrpa"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:tests? #f ; Tests require Xvfb and writable temp/cache space
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-paths
+ (list
+ ;; A lot of tests fail despite Xvfb and writable temp/cache space.
+ #:tests? #f
+ #:test-flags '("--ignore=test/widgets/test_widget_init_configure.py")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-paths
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "libqtile/pangocffi.py"
(("^gobject = ffi.dlopen.*")
@@ -632,7 +636,14 @@ subscribe to events.")
(mkdir-p xsessions)
(copy-file "resources/qtile.desktop" (string-append xsessions
"/qtile.desktop"))
(substitute* (string-append xsessions "/qtile.desktop")
- (("qtile start") qtile))))))))
+ (("qtile start") qtile)))))
+ (add-before 'check 'pre-check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (setenv "HOME" "/tmp")
+ (system "Xvfb :1 &")
+ (setenv "DISPLAY" ":1")
+ (setenv "XDG_CACHE_HOME" "/tmp")))))))
(inputs
(list glib pango pulseaudio))
(propagated-inputs
@@ -649,9 +660,11 @@ subscribe to events.")
(list pkg-config
python-flake8
python-pep8-naming
- python-psutil
+ python-pytest
python-pytest-cov
- python-setuptools-scm))
+ python-psutil
+ python-setuptools-scm
+ xorg-server-for-tests))
(home-page "http://qtile.org")
(synopsis "Hackable tiling window manager written and configured in
Python")
(description "Qtile is simple, small, and extensible. It's easy to write
- 121/361: gnu: python-rope: Update to 1.13.0., (continued)
- 121/361: gnu: python-rope: Update to 1.13.0., guix-commits, 2024/11/21
- 124/361: gnu: python-nbclient: Update to 0.10.0., guix-commits, 2024/11/21
- 113/361: gnu: python-jupyterlab-server: Update to 2.27.1., guix-commits, 2024/11/21
- 116/361: gnu: Add python-sphinxext-rediraffe., guix-commits, 2024/11/21
- 127/361: gnu: python-pyls-black: Add missing input., guix-commits, 2024/11/21
- 117/361: gnu: repo2docker: Update to 2024.03.0., guix-commits, 2024/11/21
- 142/361: gnu: python-http-ece: Update to 1.2.0., guix-commits, 2024/11/21
- 123/361: gnu: python-lsp-server: Update to 1.11.0., guix-commits, 2024/11/21
- 148/361: gnu: Add xcffibgen., guix-commits, 2024/11/21
- 144/361: gnu: python-aionotify: Update to 0.3.0., guix-commits, 2024/11/21
- 151/361: gnu: qtile: Update to 0.23.0.,
guix-commits <=
- 139/361: gnu: python-isort: Move to pyproject-build-system., guix-commits, 2024/11/21
- 132/361: gnu: Add python-comm., guix-commits, 2024/11/21
- 136/361: gnu: python-seaborn: Correct dependencies., guix-commits, 2024/11/21
- 135/361: gnu: python-ipywidgets: Update to 8.1.2., guix-commits, 2024/11/21
- 153/361: gnu: python-apiron: Move to pyproject-build-system., guix-commits, 2024/11/21
- 174/361: gnu: python-amqp: Move to pyproject-build-system., guix-commits, 2024/11/21
- 170/361: gnu: behave: Move to pyproject-build-system., guix-commits, 2024/11/21
- 168/361: gnu: python-cbor2: Move to pyproject-build-system., guix-commits, 2024/11/21
- 146/361: gnu: python-django-localflavor: Move to pyproject-build-system., guix-commits, 2024/11/21
- 155/361: gnu: conda: Move to pyproject-build-system., guix-commits, 2024/11/21