From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ON++M3SvjmEayAAAgWs5BA (envelope-from ) for ; Fri, 12 Nov 2021 19:16:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MEVlL3SvjmGlZwAA1q6Kng (envelope-from ) for ; Fri, 12 Nov 2021 18:16:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 61DE5B978 for ; Fri, 12 Nov 2021 19:16:20 +0100 (CET) Received: from localhost ([::1]:42946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlb63-0001zK-4a for larch@yhetil.org; Fri, 12 Nov 2021 13:16:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlb5n-0001wp-3Y for guix-patches@gnu.org; Fri, 12 Nov 2021 13:16:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34390) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlb5m-0006tv-Qt for guix-patches@gnu.org; Fri, 12 Nov 2021 13:16:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlb5m-0001YS-DM for guix-patches@gnu.org; Fri, 12 Nov 2021 13:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51675] [PATCH 5/5] gnu: Add python-wokkel. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Nov 2021 18:16: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: Stephen Paul Weber , 51675@debbugs.gnu.org Received: via spool by 51675-submit@debbugs.gnu.org id=B51675.16367409135902 (code B ref 51675); Fri, 12 Nov 2021 18:16:02 +0000 Received: (at 51675) by debbugs.gnu.org; 12 Nov 2021 18:15:13 +0000 Received: from localhost ([127.0.0.1]:45936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlb4y-0001X7-Py for submit@debbugs.gnu.org; Fri, 12 Nov 2021 13:15:13 -0500 Received: from mout01.posteo.de ([185.67.36.65]:59703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlb4v-0001Wn-Fl for 51675@debbugs.gnu.org; Fri, 12 Nov 2021 13:15:10 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id A010A240028 for <51675@debbugs.gnu.org>; Fri, 12 Nov 2021 19:15:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1636740903; bh=/CfqeXrt/TZ9DA+aXstLmr1j3prZy3NDOTDdpVcdtvY=; h=Subject:From:To:Date:From; b=qE/4Wb9TjeeIzPIJyopTtfl+Hd6wd5KOk1TX39eyuepFRBdVFY2GKqJFzoiaZgFJp wSQTOgc1TzZD9zKbZt03JqZEIJPmrO5TfFegSRqsYPq/8eRPNg8MrK6CuGpeCVdke7 KJ91DQfhwGO2GpPjKxRackEP2wn/0cGH+r4SaqZGjGH69ALn8DX51gKLkqh7FF/l/c cHdxZPU7ylhE7WxRsK7u3gVjicURQnFS/fP0x29XyFtf6qFHE454TvzPA2aN3TuzeK /zw2Ywc+1CK+7h8/oNkkn6nwdH9WydDOSEOxrZqBcf8pgPn4T/fXIIW8YPoDK35qBy eUX8vP74nzMOw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HrRZY46mgz9rxM; Fri, 12 Nov 2021 19:15:01 +0100 (CET) Message-ID: <3d03776d57f9330f48b7f0250ec01841662ec1b2.camel@posteo.net> From: Vinicius Monego Date: Fri, 12 Nov 2021 18:14:54 +0000 In-Reply-To: <20211108024520.49594-5-singpolyma@singpolyma.net> References: <20211108024520.49594-1-singpolyma@singpolyma.net> <20211108024520.49594-5-singpolyma@singpolyma.net> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636740980; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=83U83UBN4i7hT4SlwBYmk0Tk6SKLnYtlQlEDYntpcQA=; b=XQDMb6Jy6hG3MWwR52vd7QTQPhufq5rlVds0OHmrf1bJOJDtBjWFRZqj7w1VLsI347E0bh C6BO5MzMEuVsjzEtDCwm5A2UGgh0ElwxQ/RKrNLUOEbB1IVO/QYh1rMUlpQmBDyYCAIgwc ebHksP0SInx/WYv6oUWFGECaUuGuxvjgTlh1Q/p6PEbFn/5M+cRUWOlNtAz1WeoSARQi6/ NEu2sk6B37pZIR0zwgK1M1VRxREij96/0ofgX0k7SSx86hU+c5sU9abAt8UcFMVB4w0LjL QlZBOfd8ZBBWG3m092jNul8hjOOTq0z/ZGhwgghJlKEDFZj1zMlIUxl6QN6ijA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636740980; a=rsa-sha256; cv=none; b=bamhhUKHIHQ8OdeQprq7HSfyZLSoQdJnEbISaZuQ5SNRhLwqKSj24EmpMZBPflF0Lsxuy3 UfO5+2ZXiEB6rIC1UU92kZy+rKiPRewPZUCxZm+yepsV1f0ROyc33q89AMH6h60aukJf1M 2Iajdy8sTgAUczlXVQblRFVVX8uff2wiYXVjrUHwZwCga0Ztktga9co58fP+/QI7KYWDGm /ldZpk0ksa9q1WKoqUCv7Lpgo7CJY3MDazzWT6cXUWZ8P4cStcEdqwZcO2l5Y8VOjBgtUA 9gZJI1QvE6DJc6AiedEBIY0vmMa2Df9K5F1lLoY2Vuj0EkDu+sx/bVparCKfmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="qE/4Wb9T"; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="qE/4Wb9T"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 61DE5B978 X-Spam-Score: -0.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: KECf7p3ku/q6 Em dom, 2021-11-07 às 21:45 -0500, Stephen Paul Weber escreveu: > * 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"))))))) Is this to skip tests? In unittest they can be skipped in a simpler way by prefixing the test name with _: > def test_onRosterRemove becomes > def _test_onRosterRemove . > +    (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) Sphinx should be an input only if documentation is being built. If the package fails to build when sphinx is not found, then it should remain. > +        ("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.") Same comment about description from patch 4. > +    (license license:expat)))