diff mbox series

[bug#51272,1/4] gnu: python-xcffib: Upgrade to 0.11.1.

Message ID 20211018174833.90312-1-singpolyma@singpolyma.net
State New
Headers show
Series [bug#51272,1/4] gnu: python-xcffib: Upgrade to 0.11.1. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Stephen Paul Weber Oct. 18, 2021, 5:48 p.m. UTC
Required for qtile.

* gnu/packages/python-xyz.scm (python-xcffib): Upgrade to 0.11.1.
---
 gnu/packages/python-xyz.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Comments

Ludovic Courtès Nov. 23, 2021, 8:59 a.m. UTC | #1
Hi Stephen,

Stephen Paul Weber <singpolyma@singpolyma.net> skribis:

> Required for qtile.
>
> * gnu/packages/python-xyz.scm (python-xcffib): Upgrade to 0.11.1.

[...]

> * gnu/packages/python-xyz.scm (python-debus-next): New variable.

[...]

> * gnu/packages/python-xyz.scm (python-iwlib): New variable.

[...]

> * gnu/packages/wm.scm (qtile): New variable.

I tweaked descriptions as per
<https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html>
and applied them.

Thanks,
Ludo’.
diff mbox series

Patch

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d7df77c577..6db446efac 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7283,14 +7283,14 @@  any machine that can run Python.")
 (define-public python-xcffib
   (package
     (name "python-xcffib")
-    (version "0.6.0")
+    (version "0.11.1")
     (source
      (origin
       (method url-fetch)
       (uri (pypi-uri "xcffib" version))
       (sha256
        (base32
-        "04k91yxyb3pgc5lvxmivh8w71yjrap2g57yk3s73x4rm4nvjq51n"))))
+        "0nkglsm9nbhv238iagmmsjcz6lf1yfdvp5kmspphdj385vz9r50j"))))
     (build-system python-build-system)
     (inputs
      `(("libxcb" ,libxcb)))
@@ -7306,7 +7306,8 @@  any machine that can run Python.")
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((libxcb (assoc-ref inputs "libxcb")))
                (substitute* '("xcffib/__init__.py")
-                 (("^soname = \"") (string-append "soname = \"" libxcb "/lib/")))
+                 (("soname = ctypes.util.find_library.*xcb.*")
+                  (string-append "soname = \"" libxcb "/lib/libxcb.so\"\n")))
                #t)))
          (add-after 'install 'install-doc
            (lambda* (#:key outputs #:allow-other-keys)