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
(package
(name "python-xlib")
(version "0.29")
(version "0.33")
(source
(origin
(method git-fetch)
@ -16109,8 +16109,8 @@ the columns and tie-resolvement is accelerated by numba.")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "17cwd2knqm2vwrii3kqii9abwsnydhpg4byqx1vy7rjs6i1vbqfc"))))
(build-system python-build-system)
(base32 "03d28lx6sz0724ps6lnn4m6s0cfspgwqdf2l773lqf88add8wkmv"))))
(build-system pyproject-build-system)
(arguments
`(#: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
;; start one. Therefore we must do it.
(system (format #f "~a/bin/Xvfb :1 &" xorg-server))
(setenv "DISPLAY" ":1")
#t))))))
(setenv "DISPLAY" ":1")))))))
(native-inputs
(list python-mock python-setuptools-scm xorg-server))
(list python-mock
python-pytest
python-setuptools
xorg-server))
(propagated-inputs
(list python-six))
(home-page "https://github.com/python-xlib/python-xlib")