From patchwork Sun Nov 14 01:50:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Paul Weber X-Patchwork-Id: 34455 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 823EF27BBE3; Sun, 14 Nov 2021 01:51:40 +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 367B527BBE1 for ; Sun, 14 Nov 2021 01:51:40 +0000 (GMT) Received: from localhost ([::1]:56798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mm4gF-0001cU-CF for patchwork@mira.cbaines.net; Sat, 13 Nov 2021 20:51:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mm4ff-0001Yp-L5 for guix-patches@gnu.org; Sat, 13 Nov 2021 20:51:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37096) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mm4ff-0003bf-Cc for guix-patches@gnu.org; Sat, 13 Nov 2021 20:51:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mm4ff-0002WI-Ax for guix-patches@gnu.org; Sat, 13 Nov 2021 20:51:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51675] [PATCH v2 2/5] gnu: python-twisted: Update to 21.7.0 Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 Nov 2021 01:51: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.16368546389623 (code B ref 51675); Sun, 14 Nov 2021 01:51:03 +0000 Received: (at 51675) by debbugs.gnu.org; 14 Nov 2021 01:50:38 +0000 Received: from localhost ([127.0.0.1]:48637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mm4fG-0002V2-5r for submit@debbugs.gnu.org; Sat, 13 Nov 2021 20:50:38 -0500 Received: from singpolyma.net ([192.99.233.116]:50337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mm4fB-0002UB-Re for 51675@debbugs.gnu.org; Sat, 13 Nov 2021 20:50:35 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 1B29948616BF; Sun, 14 Nov 2021 01:50:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1636854633; bh=rreQyXX3Maj0laMYdH6r2/oJTK7AUnsl2BwbhoNPkpk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a+vfuwCp3WZlNNBkLtLddU/illbK6QsYPmYuQpjtiNc1K1QEQubc2yAGUO51mHyJd 3B7LJK3zYRl2KsfhAMILQtmDee48h0XQGQ3G4eVXMldOhldAVWxOgshkti+KY4Lj8n uZPEVGQyIYVnWzDEewNatovDDyof9L74Ckehm5BY= From: Stephen Paul Weber Date: Sat, 13 Nov 2021 20:50:28 -0500 Message-Id: <20211114015031.11010-2-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-twisted): Update to 21.7.0. [propagated-inputs]: Add python-typing-extensions, python-attrs, and python-service-identity. [source]: No longer need to manually specify ".tar.bz2". [arguments]: New build phase to add back the _PY3 compat variable, used by some libraries even though it is a private symbol. --- gnu/packages/python-xyz.scm | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 639945c278..68d397d012 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15105,23 +15105,32 @@ format.") (define-public python-twisted (package (name "python-twisted") - (version "19.7.0") + (version "21.7.0") (source (origin (method url-fetch) - (uri (pypi-uri "Twisted" version ".tar.bz2")) + (uri (pypi-uri "Twisted" version)) (sha256 (base32 - "17d3hnxv9qndagzz63mdpyk99xj63p9gq586vjn0rxk8cl197nym")))) + "01lh225d7lfnmfx4f4kxwl3963gjc9yg8jfkn1w769v34ia55mic")))) (build-system python-build-system) (arguments - '(#:tests? #f)) ; FIXME: some tests fail + '(#:tests? #f ; FIXME: some tests fail + #:phases (modify-phases %standard-phases + (add-after 'unpack 'add-py3-var + (lambda _ + (substitute* "src/twisted/python/compat.py" + (("_PY37PLUS = True") + "_PY37PLUS = True\n _PY3 = True"))))))) (propagated-inputs - `(("python-zope-interface" ,python-zope-interface) - ("python-pyhamcrest" ,python-pyhamcrest) - ("python-incremental" ,python-incremental) - ("python-hyperlink" ,python-hyperlink) + `(("python-attrs" ,python-attrs) + ("python-automat" ,python-automat) ("python-constantly" ,python-constantly) - ("python-automat" ,python-automat))) + ("python-hyperlink" ,python-hyperlink) + ("python-incremental" ,python-incremental) + ("python-pyhamcrest" ,python-pyhamcrest) + ("python-service-identity" ,python-service-identity) + ("python-typing-extensions" ,python-typing-extensions) + ("python-zope-interface" ,python-zope-interface))) (home-page "https://twistedmatrix.com/") (synopsis "Asynchronous networking framework written in Python") (description