aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-05-13 11:00:00 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-05-13 11:00:00 +0300
commit109679cdfaab645d2f35afec9bf1cb1b0d24f767 (patch)
tree02b697292ca189719f28982bfc2292b62749d31f /gnu
parented3f818b15d88f75e57db1fd107d8b5c995ceef5 (diff)
downloadguix-109679cdfaab645d2f35afec9bf1cb1b0d24f767.tar.gz
guix-109679cdfaab645d2f35afec9bf1cb1b0d24f767.zip
Revert "gnu: python-xcffib: Update to 1.4.0."
This reverts commit 56980ea500a1db3c8586972b8abfaf5c4e24f82d. This package includes files which need to be bootstrapped, to produce the bindings matching our version of libxcb.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm15
1 files changed, 12 insertions, 3 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 557c6d5815..b295d780ab 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10958,14 +10958,14 @@ ManimPango is internally used in Manim to render (non-LaTeX) text.")
(define-public python-xcffib
(package
(name "python-xcffib")
- (version "1.4.0")
+ (version "0.11.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "xcffib" version))
(sha256
(base32
- "095na8zk75829c6ahxw658jh4g4qxx115g4a32p7b36kzq6w0xxr"))))
+ "0nkglsm9nbhv238iagmmsjcz6lf1yfdvp5kmspphdj385vz9r50j"))))
(build-system python-build-system)
(inputs
(list libxcb))
@@ -10982,7 +10982,16 @@ 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")))))))))
+ (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))))))
(home-page "https://github.com/tych0/xcffib")
(synopsis "XCB Python bindings")
(description
6081cf7'>gnu: gnucash: Update to 2.6.17....Vasile Dumitrascu 2017-04-10gnu: gnucash: Update to 2.6.16....Leo Famulari 2017-01-17gnu: gnucash: Update to 2.6.15....Ricardo Wurmus 2017-01-13gnu: aqbanking: Update source hash....John Darrington 2017-01-09gnu: Update aqbanking to version 5.6.12....John Darrington 2017-01-09gnu: Simplify the downloads from http://www.aquamaniac.de...John Darrington 2016-10-05gnu: gnucash: Update to 2.6.14....Efraim Flashner 2016-07-21gnu: Update URLs for sourceforge.net....Leo Famulari 2016-06-11gnu: gnucash: Add support for AqBanking....Ricardo Wurmus 2016-06-11gnu: Add AqBanking....Ricardo Wurmus 2016-06-11gnu: Add gwenhywfar....Ricardo Wurmus 2016-06-11gnu: gnucash: Add "license:" prefix....Ricardo Wurmus 2016-04-14gnu: packages: Use 'search-patches' everywhere....Alex Kost 2016-04-02gnu: gnucash: Update to 2.6.12....Efraim Flashner 2015-11-16gnu: gnucash: Update to 2.6.9....Andreas Enge