mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-autobahn: Update to 24.4.2.
* gnu/packages/python-web.scm (python-autobahn): Update to 24.4.2. [build-system]: Use pyproject-build-system. [arguments]: Use Gexp. <#:phases>: Add new phases 'relax-zope-interface' and 'strip-xbr' after 'unpack'. [native-inputs]: Add python-setuptools, python-wheel. [propagated-inputs]: Add python-cryptography, python-hyperlink. [home-page]: Switch to GitHub repository. Change-Id: I8fb5389158a304863cef1bb3a1e0014a955ec773
This commit is contained in:
parent
98c5112cf9
commit
a10d0b3c13
1 changed files with 25 additions and 7 deletions
|
@ -7618,22 +7618,40 @@ high level API for making HTTP requests when using Twisted.")
|
||||||
(define-public python-autobahn
|
(define-public python-autobahn
|
||||||
(package
|
(package
|
||||||
(name "python-autobahn")
|
(name "python-autobahn")
|
||||||
(version "19.2.1")
|
(version "24.4.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "autobahn" version))
|
(uri (pypi-uri "autobahn" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1mm7j24ls01c7jb1ad5p5cpyxvzgydiyf8b04ihykh2v8g98j0x7"))))
|
"1jcjxr16cy93v2kjwpvrcmg7cjbp5kyhbcpq25nhny6gn3qixmx2"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
|
(list
|
||||||
;; The tests fail to run:
|
;; The tests fail to run:
|
||||||
;; https://github.com/crossbario/autobahn-python/issues/1117
|
;; https://github.com/crossbario/autobahn-python/issues/1117
|
||||||
`(#:tests? #f))
|
#:tests? #f
|
||||||
(propagated-inputs
|
#:phases #~(modify-phases %standard-phases
|
||||||
(list python-cffi python-twisted python-txaio))
|
(add-after 'unpack 'relax-zope-interface
|
||||||
(home-page "https://crossbar.io/autobahn/")
|
(lambda _
|
||||||
|
;; python-zope-interface is a world rebuild package
|
||||||
|
;; and our one-digit lower minor version seems to be
|
||||||
|
;; fine.
|
||||||
|
(substitute* "setup.py"
|
||||||
|
(("zope.interface>=5.2.0")
|
||||||
|
"zope.interface>=5.1.0"))))
|
||||||
|
(add-after 'unpack 'strip-xbr
|
||||||
|
(lambda _
|
||||||
|
;; Strip new XBR feature which isn't available in Guix.
|
||||||
|
(setenv "AUTOBAHN_STRIP_XBR" "1"))))))
|
||||||
|
(native-inputs (list python-setuptools python-wheel))
|
||||||
|
(propagated-inputs (list python-cffi
|
||||||
|
python-cryptography
|
||||||
|
python-hyperlink
|
||||||
|
python-twisted
|
||||||
|
python-txaio))
|
||||||
|
(home-page "https://github.com/crossbario/autobahn-python/")
|
||||||
(synopsis "Web Application Messaging Protocol implementation")
|
(synopsis "Web Application Messaging Protocol implementation")
|
||||||
(description "This package provides an implementation of the @dfn{Web Application
|
(description "This package provides an implementation of the @dfn{Web Application
|
||||||
Messaging Protocol} (WAMP). WAMP connects components in distributed
|
Messaging Protocol} (WAMP). WAMP connects components in distributed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue