diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-05-16 21:35:39 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-05-16 21:38:17 +0100 |
commit | 72f00c754665656914462da052d5fcd8d2881289 (patch) | |
tree | 5cb41d9cf7053f5c7852a9bcf49b9c075862bcda | |
parent | 14e56eb5649fea49c4768d9590e4a3c6672346cb (diff) | |
download | guix-72f00c754665656914462da052d5fcd8d2881289.tar.gz guix-72f00c754665656914462da052d5fcd8d2881289.zip |
gnu: python-slixmpp: Update to 1.8.6.
* gnu/packages/python-xyz.scm (python-slixmpp): Update to 1.8.6. Use
G-expressions, improve package style.
[build-system]: Switch to pypproject.
[native-inputs]: Add python-setuptools and python-wheel. Remove labels.
Change-Id: Ic9c2694465f826047ea97f6744c46b02509afaa0
-rw-r--r-- | gnu/packages/python-xyz.scm | 55 |
1 files changed, 28 insertions, 27 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 327576ee3f..8f5149e88c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2793,33 +2793,35 @@ of it like a generator that is \"reusable\" and has a length.") (define-public python-slixmpp (package (name "python-slixmpp") - (version "1.8.3") + (version "1.8.6") ; XXX: The latest version which does not requrie Rust (source (origin (method git-fetch) - (uri - (git-reference - (url "https://codeberg.org/poezio/slixmpp") - (commit - (string-append "slix-" version)))) - (file-name - (git-file-name name version)) + (uri (git-reference + (url "https://codeberg.org/poezio/slixmpp") + (commit (string-append "slix-" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0cvr037qhf0fpby5dci6ckqngaly1mnjs2zpndwgmvr3dyvrd8l8")))) - (build-system python-build-system) + (base32 "0gpy6arwyk4lsx1hbcwbllxs6qbwn58adkp1rm1cfvfrjdv5kxx7")))) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch - (lambda _ - (substitute* "setup.py" - (("'CC', 'cc'") - "'CC', 'gcc'")) - #t))))) + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-setup.py + (lambda _ + (substitute* "setup.py" + (("'CC', 'cc'") + "'CC', 'gcc'"))))))) (native-inputs - `(("cython" ,python-cython) - ("gnupg" ,gnupg) - ("pkg-config" ,pkg-config))) + (list gnupg + pkg-config + python-cython + python-setuptools + python-wheel)) + (inputs + (list libidn + python)) ; We are building a Python extension. (propagated-inputs (list python-aiodns python-aiohttp @@ -2828,14 +2830,13 @@ of it like a generator that is \"reusable\" and has a length.") python-emoji python-pyasn1 python-pyasn1-modules)) - (inputs - (list libidn python)) ; We are building a Python extension. + (home-page "https://lab.louiz.org/poezio/slixmpp") (synopsis "XMPP library without threads") - (description "Slixmpp is a XMPP library for Python 3.7+. It is a fork of -SleekXMPP. Its goal is to only rewrite the core of the library (the low level -socket handling, the timers, the events dispatching) in order to remove all + (description + "Slixmpp is a XMPP library for Python 3.7+. It is a fork of SleekXMPP. +Its goal is to only rewrite the core of the library (the low level socket +handling, the timers, the events dispatching) in order to remove all threads.") - (home-page "https://lab.louiz.org/poezio/slixmpp") (license license:expat))) (define-public python-tenacity |