diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2024-05-10 00:53:10 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-10-14 23:53:14 +0100 |
commit | 43f2678e4990becddc6a10ce723f9b0b742d8592 (patch) | |
tree | fba20aa1cf92eae15e58f3a20645c3097676a5ea /gnu/packages/python-xyz.scm | |
parent | 8492a51dd2382ccf89cbf61f62fac1ce66a27b00 (diff) |
gnu: python-xcffib: Move to (gnu packages xorg).
* /gnu/packages/python-xyz.scm (python-xcffib): Move from here…
* gnu/packages/xorg.scm (python-xcffib): …to here.
The package's build is fully rewritten and updated to version 1.5.0.
Change-Id: Ia77b9fc2160dacd77c3eaf4199278046a52515d7
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 136deb9154..4edea7885b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11358,50 +11358,6 @@ using Cython. ManimPango is internally used in Manim to render (non-LaTeX) text.") (license license:expat))) -(define-public python-xcffib - (package - (name "python-xcffib") - (version "0.11.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "xcffib" version)) - (sha256 - (base32 - "0nkglsm9nbhv238iagmmsjcz6lf1yfdvp5kmspphdj385vz9r50j")))) - (build-system python-build-system) - (inputs - (list libxcb)) - (propagated-inputs - (list python-cffi ; used at run time - python-six)) - (arguments - `(;; FIXME: Tests need more work. See ".travis.yml" in the repository. - #:tests? #f - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-libxcb-path - (lambda* (#:key inputs #:allow-other-keys) - (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)))))) - (home-page "https://github.com/tych0/xcffib") - (synopsis "XCB Python bindings") - (description - "Xcffib is a replacement for xpyb, an XCB Python bindings. It adds -support for Python 3 and PyPy. It is based on cffi.") - (license license:expat))) - (define-public python-cairocffi (package (name "python-cairocffi") |