From patchwork Sun Nov 14 01:50:31 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: 34456 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 A582927BBE1; Sun, 14 Nov 2021 01:51:44 +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 1F8B227BBE3 for ; Sun, 14 Nov 2021 01:51:44 +0000 (GMT) Received: from localhost ([::1]:56872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mm4gJ-0001fP-Ag for patchwork@mira.cbaines.net; Sat, 13 Nov 2021 20:51:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mm4ff-0001Yh-7o for guix-patches@gnu.org; Sat, 13 Nov 2021 20:51:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37095) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mm4fe-0003bV-VU for guix-patches@gnu.org; Sat, 13 Nov 2021 20:51:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mm4fe-0002WA-UU for guix-patches@gnu.org; Sat, 13 Nov 2021 20:51:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51675] [PATCH v2 5/5] gnu: Add python-wokkel. Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 Nov 2021 01:51:02 +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.16368546389615 (code B ref 51675); Sun, 14 Nov 2021 01:51:02 +0000 Received: (at 51675) by debbugs.gnu.org; 14 Nov 2021 01:50:38 +0000 Received: from localhost ([127.0.0.1]:48635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mm4fF-0002Uv-QF for submit@debbugs.gnu.org; Sat, 13 Nov 2021 20:50:38 -0500 Received: from singpolyma.net ([192.99.233.116]:59065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mm4fB-0002UE-Rg for 51675@debbugs.gnu.org; Sat, 13 Nov 2021 20:50:34 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 7E2BA48616C3; Sun, 14 Nov 2021 01:50:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1636854633; bh=CbxsModDJGCIDU1HOodoXV0ymy0FZqHsllE8ccPvJ6k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WpvFQFAX+sWrluJqfxV3ofHm6phiQWiHKCPPxBERqLkRRfpB6FZWtsRP/1Svypo0L Z0CgG7F2+NvfGJJ/29sKc+AR8dTbSAYynBfmmSBpNC/tdIjAgLFOfc4pg23IQEtyGz Zfk34reLmxkU7shVs1cKmeR2lBIHDeZqcZJvOdHQ= From: Stephen Paul Weber Date: Sat, 13 Nov 2021 20:50:31 -0500 Message-Id: <20211114015031.11010-5-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211114015031.11010-1-singpolyma@singpolyma.net> References: <20211114015031.11010-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 | 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)))