From patchwork Mon Nov 8 02:45:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stephen Paul Weber X-Patchwork-Id: 34313 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A7C1E27BBE4; Mon, 8 Nov 2021 02:50:55 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id ED47427BCF3 for ; Mon, 8 Nov 2021 02:49:37 +0000 (GMT) Received: from [::1] (port=56844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjuj3-0002BA-4T for patchwork@mira.cbaines.net; Sun, 07 Nov 2021 21:49:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjufd-0003ji-0d for guix-patches@gnu.org; Sun, 07 Nov 2021 21:46:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mjufb-000778-Od for guix-patches@gnu.org; Sun, 07 Nov 2021 21:46:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mjufb-00067q-NT for guix-patches@gnu.org; Sun, 07 Nov 2021 21:46:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51675] [PATCH 5/5] gnu: Add python-wokkel. Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Nov 2021 02:46:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 51675@debbugs.gnu.org Cc: Stephen Paul Weber Received: via spool by 51675-submit@debbugs.gnu.org id=B51675.163633953423453 (code B ref 51675); Mon, 08 Nov 2021 02:46:03 +0000 Received: (at 51675) by debbugs.gnu.org; 8 Nov 2021 02:45:34 +0000 Received: from localhost ([127.0.0.1]:55488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjuf7-000667-MK for submit@debbugs.gnu.org; Sun, 07 Nov 2021 21:45:34 -0500 Received: from singpolyma.net ([192.99.233.116]:57845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjuex-00065L-Tp for 51675@debbugs.gnu.org; Sun, 07 Nov 2021 21:45:24 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id AAFA748616BD; Mon, 8 Nov 2021 02:45:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1636339523; bh=MhQv8lpFUDwQVDEmx8T1B6aBX0aPrNAfFNzvEMPGoJI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NIdM6dVfd8DrpQDBTQBily3Vh/IilIhAdM2kQbWiQaUTAyL+cNfZWtYuDddnp2NRY 5rJ9DUMcLCAyHhMh8b+WcVkrmmQhp5En51YkKRfNln3hdENCytruqm0H/+TxFI7BQ1 NX+DPaYdjRTGiPw6IFSVbaPcGnzzgiX9JT0bA15E= From: Stephen Paul Weber Date: Sun, 7 Nov 2021 21:45:20 -0500 Message-Id: <20211108024520.49594-5-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211108024520.49594-1-singpolyma@singpolyma.net> References: <20211108024520.49594-1-singpolyma@singpolyma.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-wokkel): New variable. --- gnu/packages/python-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4305e06030..0f1cd97e2f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27757,3 +27757,43 @@ 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(self):\n return") + (("def test_onRosterSet.*:") + "def test_onRosterSet(self):\n return"))))))) + (propagated-inputs + `(("python-dateutil" ,python-dateutil) + ("python-incremental" ,python-incremental) + ("python-twisted" ,python-twisted))) + (native-inputs + `(("python-coverage" ,python-coverage) + ("python-pydoctor" ,python-pydoctor) + ("python-pyflakes" ,python-pyflakes) + ("python-sphinx" ,python-sphinx) + ("python-towncrier" ,python-towncrier))) + (home-page "https://wokkel.ik.nu/") + (synopsis "Twisted support library for Jabber/XMPP") + (description "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)))