gnu: python-xcffib: Upgrade to 0.11.1.
Required for qtile. * gnu/packages/python-xyz.scm (python-xcffib): Upgrade to 0.11.1. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
82930f6fc0
commit
54223d262c
1 changed files with 4 additions and 3 deletions
|
|
@ -7408,14 +7408,14 @@ any machine that can run Python.")
|
||||||
(define-public python-xcffib
|
(define-public python-xcffib
|
||||||
(package
|
(package
|
||||||
(name "python-xcffib")
|
(name "python-xcffib")
|
||||||
(version "0.6.0")
|
(version "0.11.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "xcffib" version))
|
(uri (pypi-uri "xcffib" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"04k91yxyb3pgc5lvxmivh8w71yjrap2g57yk3s73x4rm4nvjq51n"))))
|
"0nkglsm9nbhv238iagmmsjcz6lf1yfdvp5kmspphdj385vz9r50j"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("libxcb" ,libxcb)))
|
`(("libxcb" ,libxcb)))
|
||||||
|
|
@ -7431,7 +7431,8 @@ any machine that can run Python.")
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((libxcb (assoc-ref inputs "libxcb")))
|
(let ((libxcb (assoc-ref inputs "libxcb")))
|
||||||
(substitute* '("xcffib/__init__.py")
|
(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)))
|
#t)))
|
||||||
(add-after 'install 'install-doc
|
(add-after 'install 'install-doc
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
|
|
||||||
Reference in a new issue