[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51675] [PATCH v2 5/5] gnu: Add python-wokkel.
From: |
Stephen Paul Weber |
Subject: |
[bug#51675] [PATCH v2 5/5] gnu: Add python-wokkel. |
Date: |
Sat, 13 Nov 2021 20:50:31 -0500 |
* gnu/packages/python-xyz.scm (python-wokkel): New variable.
---
gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7e13a296ab..4b493a3a14 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27754,3 +27754,38 @@ files for your project. Rather than reading the Git
history as some newer
tools to produce it, or having one single file which developers all write to,
towncrier reads \"news fragments\" which contain information useful to end
users.")
(license license:expat)))
+
+(define-public python-wokkel
+ (package
+ (name "python-wokkel")
+ (version "18.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "wokkel" version))
+ (sha256
+ (base32 "1spq44gg8gsviqx1dvlmjpgfc0wk0jpyx4ap01y2pad1ai9cw016"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'patch-tests
+ (lambda _
+ (substitute* "wokkel/test/test_client.py"
+ (("'example.org', connector.domain")
+ "b'example.org', connector.domain"))
+ (substitute* "wokkel/test/test_xmppim.py"
+ (("def test_onRosterRemove") "def
_test_onRosterRemove")
+ (("def test_onRosterSet") "def
_test_onRosterSet")))))))
+ (propagated-inputs
+ `(("python-dateutil" ,python-dateutil)
+ ("python-incremental" ,python-incremental)
+ ("python-twisted" ,python-twisted)))
+ (native-inputs
+ `(("python-coverage" ,python-coverage)
+ ("python-pyflakes" ,python-pyflakes)))
+ (home-page "https://wokkel.ik.nu/")
+ (synopsis "Twisted support library for Jabber/XMPP")
+ (description "Wokkel is a collection of enhancements on top of the ​Twisted
+networking framework. It provides enhancements to the Jabber/XMPP protocol
+implementation as found in Twisted Words.")
+ (license license:expat)))
--
2.30.2
- [bug#51675] [PATCH 3/5] gnu: Add python-pydoctor., (continued)