~ruther/guix-local

56980ea500a1db3c8586972b8abfaf5c4e24f82d — Efraim Flashner 2 years ago 60e9765
gnu: python-xcffib: Update to 1.4.0.

* gnu/packages/python-xyz.scm (python-xcffib): Update to 1.4.0.
[arguments]: Remove obsolete 'install-doc phase.  Remove trailing #t
from phases.

Change-Id: I1b68ddffb2620938042384b9b9a0d444ad05bb0a
1 files changed, 3 insertions(+), 12 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +3 -12
@@ 10940,14 10940,14 @@ ManimPango is internally used in Manim to render (non-LaTeX) text.")
(define-public python-xcffib
  (package
    (name "python-xcffib")
    (version "0.11.1")
    (version "1.4.0")
    (source
     (origin
      (method url-fetch)
      (uri (pypi-uri "xcffib" version))
      (sha256
       (base32
        "0nkglsm9nbhv238iagmmsjcz6lf1yfdvp5kmspphdj385vz9r50j"))))
        "095na8zk75829c6ahxw658jh4g4qxx115g4a32p7b36kzq6w0xxr"))))
    (build-system python-build-system)
    (inputs
     (list libxcb))


@@ 10964,16 10964,7 @@ ManimPango is internally used in Manim to render (non-LaTeX) text.")
             (let ((libxcb (assoc-ref inputs "libxcb")))
               (substitute* '("xcffib/__init__.py")
                 (("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)
             (let ((doc (string-append (assoc-ref outputs "out") "/share"
                                       "/doc/" ,name "-" ,version)))
               (mkdir-p doc)
               (copy-file "README.md"
                          (string-append doc "/README.md"))
               #t))))))
                  (string-append "soname = \"" libxcb "/lib/libxcb.so\"\n")))))))))
    (home-page "https://github.com/tych0/xcffib")
    (synopsis "XCB Python bindings")
    (description