gnu: python-xlib: Update to 0.33.

* gnu/packages/python-xyz.scm (python-xlib): Update to 0.33.
  [build-system]: Use pyproject.
  [arguments]: Remove trailing #t from lambdas.
  [native-inputs]: Remove python-setuptools-scm; add python-pytest and
  python-setuptools.

Change-Id: I2fb5025dbed0585b1ef74864b80c0b39fe112bbc
This commit is contained in:
Sharlatan Hellseher 2025-07-18 00:10:21 +01:00
parent 6163a7d291
commit 4ab38ecfa3
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -16100,7 +16100,7 @@ the columns and tie-resolvement is accelerated by numba.")
(define-public python-xlib (define-public python-xlib
(package (package
(name "python-xlib") (name "python-xlib")
(version "0.29") (version "0.33")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -16109,8 +16109,8 @@ the columns and tie-resolvement is accelerated by numba.")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "17cwd2knqm2vwrii3kqii9abwsnydhpg4byqx1vy7rjs6i1vbqfc")))) (base32 "03d28lx6sz0724ps6lnn4m6s0cfspgwqdf2l773lqf88add8wkmv"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
@ -16120,10 +16120,12 @@ the columns and tie-resolvement is accelerated by numba.")
;; There must be a running X server and make check doesn't ;; There must be a running X server and make check doesn't
;; start one. Therefore we must do it. ;; start one. Therefore we must do it.
(system (format #f "~a/bin/Xvfb :1 &" xorg-server)) (system (format #f "~a/bin/Xvfb :1 &" xorg-server))
(setenv "DISPLAY" ":1") (setenv "DISPLAY" ":1")))))))
#t))))))
(native-inputs (native-inputs
(list python-mock python-setuptools-scm xorg-server)) (list python-mock
python-pytest
python-setuptools
xorg-server))
(propagated-inputs (propagated-inputs
(list python-six)) (list python-six))
(home-page "https://github.com/python-xlib/python-xlib") (home-page "https://github.com/python-xlib/python-xlib")