mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
14e56eb564
commit
72f00c7546
1 changed files with 29 additions and 28 deletions
|
@ -2793,33 +2793,35 @@ of it like a generator that is \"reusable\" and has a length.")
|
||||||
(define-public python-slixmpp
|
(define-public python-slixmpp
|
||||||
(package
|
(package
|
||||||
(name "python-slixmpp")
|
(name "python-slixmpp")
|
||||||
(version "1.8.3")
|
(version "1.8.6") ; XXX: The latest version which does not requrie Rust
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri
|
(uri (git-reference
|
||||||
(git-reference
|
|
||||||
(url "https://codeberg.org/poezio/slixmpp")
|
(url "https://codeberg.org/poezio/slixmpp")
|
||||||
(commit
|
(commit (string-append "slix-" version))))
|
||||||
(string-append "slix-" version))))
|
(file-name (git-file-name name version))
|
||||||
(file-name
|
|
||||||
(git-file-name name version))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0cvr037qhf0fpby5dci6ckqngaly1mnjs2zpndwgmvr3dyvrd8l8"))))
|
(base32 "0gpy6arwyk4lsx1hbcwbllxs6qbwn58adkp1rm1cfvfrjdv5kxx7"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-after 'unpack 'patch
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-setup.py
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "setup.py"
|
(substitute* "setup.py"
|
||||||
(("'CC', 'cc'")
|
(("'CC', 'cc'")
|
||||||
"'CC', 'gcc'"))
|
"'CC', 'gcc'")))))))
|
||||||
#t)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("cython" ,python-cython)
|
(list gnupg
|
||||||
("gnupg" ,gnupg)
|
pkg-config
|
||||||
("pkg-config" ,pkg-config)))
|
python-cython
|
||||||
|
python-setuptools
|
||||||
|
python-wheel))
|
||||||
|
(inputs
|
||||||
|
(list libidn
|
||||||
|
python)) ; We are building a Python extension.
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-aiodns
|
(list python-aiodns
|
||||||
python-aiohttp
|
python-aiohttp
|
||||||
|
@ -2828,14 +2830,13 @@ of it like a generator that is \"reusable\" and has a length.")
|
||||||
python-emoji
|
python-emoji
|
||||||
python-pyasn1
|
python-pyasn1
|
||||||
python-pyasn1-modules))
|
python-pyasn1-modules))
|
||||||
(inputs
|
|
||||||
(list libidn python)) ; We are building a Python extension.
|
|
||||||
(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
|
|
||||||
threads.")
|
|
||||||
(home-page "https://lab.louiz.org/poezio/slixmpp")
|
(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
|
||||||
|
threads.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-tenacity
|
(define-public python-tenacity
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue